Servers and applications
CVE-2026-99789
block: restore the iterator when rejecting a misaligned bio
- Severity
- Unrated
- Published
- 20 Nov 2026
- Last changed
- 20 Nov 2026
- Added to UpHeron
- 20 Nov 2026
- Fixed in
- 7.3, 7.3.5
- Sources
- CVE Program
Description
In the Linux kernel, the following vulnerability has been resolved:
bio_iov_iter_get_pages() can extract some iovecs before encountering a misaligned one. It releases the pages and rejects the entire bio, but leaves the supplied iterator advanced.
An iomap direct-I/O caller may subsequently reexpand the iterator's byte count and fall back to buffered I/O. The reexpanded count then includes bytes before the iterator's current segment, potentially causing iterate_iovec() to read beyond the imported iovec array.
In a reproducer using an initial empty iovec followed by 10-byte and 1015-byte segments, writev() returned 1015 instead of 1025 and KASAN reported an 8-byte read beyond the nine-element iovec allocation. Saving and restoring the iterator on the rejected-bio path makes writev() return 1025 and eliminates the KASAN report.
Restore the entire iterator rather than reverting a byte count: advancing past an empty segment changes its position without consuming any bytes.
Affected software
| Software | Affected versions |
|---|---|
Linux kernelServers and applications · cna:linux|linux |
|
About Linux kernel
Unix-like operating system kernel, basis for all Linux operating systems
- GitHub stars
- 255,726GitHub, 15 Nov 2026
- Forks
- 67,394GitHub, 15 Nov 2026
- Developer
- Linus TorvaldsWikidata
- License
- GNU General Public License, version 2.0Wikidata
- Written in
- CWikidata
- First released
- 25 Aug 1991Wikidata
- First published on GitHub
- 4 Sept 2011GitHub
Vulnerabilities in Linux kernel
- In our list
- 2,980
- Published in the last 12 months
- 2,980
- Critical, last 12 months
- 83
- High, last 12 months
- 485
- Known exploited
- 0
- CVE-2026-99795cxl/features: Ensure that count is set before access to ent[] __counted_by()Unrated 20 Nov 2026
- CVE-2026-99794Bluetooth: L2CAP: Reject signalling responses in invalid statesUnrated 20 Nov 2026
- CVE-2026-99793Bluetooth: L2CAP: Only accept connection responses to outstanding requestsUnrated 20 Nov 2026
- CVE-2026-99792smb/server: prevent file publication after tree disconnectUnrated 20 Nov 2026
- CVE-2026-99791xfs: improve dirent bounds checking in scrub and repairUnrated 20 Nov 2026
- CVE-2026-99790NFSD: stop registering with rpcbind after a failure in listener_setUnrated 20 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-99789