PT-2026-162794
CVE-2026-99827
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
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.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾