CVE-2026-99827
HIGH 7.8CVSS 3.1iov_iter: fix NULL deref in iov_iter_alignment()
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.
- Published
- 30 Nov 2026
- Last modified
- 1 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | Linux | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 040a1e7e0e2f01851fec1dd2d96906f8636a9f75, < 325b62c95822975a65fe5d0c70e106a68f1ee700; >= 111a12b422a8cfa93deabaef26fec48237163214, < 5c38de5f536e286264be35a71c2290f5bf947bab; >= 111a12b422a8cfa93deabaef26fec48237163214, < a290a9e5cf5fbba05d6c59b94b36d00f4fc15ef2; = 40170fc1a79c1b2e68f09ae6aac687b7305ae6f4; >= 6.18.22, < 6.18.63; >= 6.19.12, < 6.20 | 325b62c95822975a65fe5d0c70e106a68f1ee700, 5c38de5f536e286264be35a71c2290f5bf947bab, a290a9e5cf5fbba05d6c59b94b36d00f4fc15ef2, 6.18.63, 6.20 |
| CVE List | Linux | Linux | = 7.0 |
References
- https://git.kernel.org/stable/c/325b62c95822975a65fe5d0c70e106a68f1ee700
- https://git.kernel.org/stable/c/5c38de5f536e286264be35a71c2290f5bf947bab
- https://git.kernel.org/stable/c/a290a9e5cf5fbba05d6c59b94b36d00f4fc15ef2
History
- 1 Dec 2026 06:48 UTC · NVD: scored 7.8
- 1 Dec 2026 05:50 UTC · CVE List: scored 7.8
- 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)