PT-2026-162794

CVE-2026-99827

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
iov iter: fix NULL deref in iov iter alignment()
Since commit 111a12b422a8 ("io uring/rsrc: reject zero-length fixed buffer import") io import fixed() hands out an empty ITER BVEC for a zero-length request. Its count is 0 and its bvec array is NULL.
iov iter alignment() only checks the count for ITER UBUF. For ITER BVEC it calls iov iter alignment bvec() and the do-while loop in there reads bvec->bv len before it looks at the count. So it dereferences NULL.
btrfs checks the alignment of a direct read with iov iter alignment() before it looks at the count and f2fs does the same. So any user that can open a file on btrfs can oops the kernel with a single zero-length IORING OP READ FIXED on an O DIRECT file descriptor. With IOSQE ASYNC the oops happens in an io-wq worker. The dead worker stays on the worker list and when the task that submitted the request exits io-wq writes to the freed task struct of the worker. That's just fallout from the oops though.
Empty iterators with a NULL array aren't unusual. afs, tls and tipc create them as well. So leave io uring alone and make iov iter alignment() return 0 for an empty iterator of any type.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾