Improper Iterator Handling in Linux Kernel Leading to Potential Data Exposure
CVE-2026-99789
What is CVE-2026-99789?
A vulnerability in the Linux kernel arises from improper handling of I/O iterators associated with misaligned bio requests. The bio_iov_iter_get_pages() function can mistakenly extract certain I/O vectors before encountering misalignment, ultimately leading to advanced iterator positions without consuming bytes. When I/O operations are attempted following a rejection, this can result in incorrect byte counts being processed, causing potential data exposure or overflow issues. The vulnerability can be reproduced with specific input patterns, which reveal the iterator's faulty state. The fix involves restoring the complete iterator state upon rejection, ensuring that all paths maintain their integrity and that the iterator correctly reflects consumed bytes.
Affected Version(s)
Linux 14b007e178811db72fbb1ebb3535160db6ec1e6a < 3a6381f254ed81d36f3896f61dcd5d830e08861d
Linux 14b007e178811db72fbb1ebb3535160db6ec1e6a < 40d070cbb1906896d6fd65c39722d2411830ed9f
Linux d44a97a3b1c00cc571245124e23e5ceb0a0225a0