[Bug 281402] zfs: kmsan reports Uninitialized UMA memory from zio_data_buf_alloc

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 12 Sep 2024 22:43:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281402

--- Comment #4 from Mark Johnston <markj@FreeBSD.org> ---
> could it be that the write op returned, the underlying system (VFS? UFS?) has just held the iovec and not actually processed it yet, ZFS frees the ABD and now that thing is holding a stale ref?

I would expect fo_write() to behave more or less like write(2), i.e., it'll
copy the supplied data into a buffer cache and initiate writeback at some later
point.  I don't think it should be holding any references to the
caller-supplied buffer after returning.

-- 
You are receiving this mail because:
You are the assignee for the bug.