CVE-2026-99789
Last modified
CVE-2026-99789 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: block: restore the iterator when rejecting a misaligned bio 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.
Description
In the Linux kernel, the following vulnerability has been resolved: block: restore the iterator when rejecting a misaligned bio 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. Leave successful and partially accepted bio paths unchanged.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 14b007e178811db72fbb1ebb3535160db6ec1e6a, < 3a6381f254ed81d36f3896f61dcd5d830e08861d; >= 14b007e178811db72fbb1ebb3535160db6ec1e6a, < 40d070cbb1906896d6fd65c39722d2411830ed9f; d44a97a3b1c00cc571245124e23e5ceb0a0225a0; >= 7.2.4, < 7.3 |
| Linux | Linux | 7.3 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99789?
How severe is CVE-2026-99789?
How do I fix CVE-2026-99789?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99783In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99784In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99785In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99786In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99787In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99788In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9979Insufficient validation of untrusted input in Input in Googl…5
- CVE-2026-99790In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99791In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99792In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-99793In the Linux kernel, the following vulnerability has been re…8.1
- CVE-2026-99794In the Linux kernel, the following vulnerability has been re…8.3
Are you affected by CVE-2026-99789?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
