{"id":"CVE-2026-99789","aliases":[],"summary":"block: restore the iterator when rejecting a misaligned bio","published_at":"2026-11-20T05:51:50.097Z","modified_at":"2026-11-20T07:01:20.536674Z","products":[{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"},{"slug":"linux-kernel","name":"Linux Kernel","category":"linux"}],"rating":{"severity":"medium","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attack_path":"local","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"priority":6,"record_count":3,"vendors":["Red Hat"],"details":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: restore the iterator when rejecting a misaligned bio\n\nbio_iov_iter_get_pages() can extract some iovecs before encountering a\nmisaligned one.  It releases the pages and rejects the entire bio, but\nleaves the supplied iterator advanced.\n\nAn iomap direct-I/O caller may subsequently reexpand the iterator's\nbyte count and fall back to buffered I/O.  The reexpanded count then\nincludes bytes before the iterator's current segment, potentially\ncausing iterate_iovec() to read beyond the imported iovec array.\n\nIn a reproducer using an initial empty iovec followed by 10-byte and\n1015-byte segments, writev() returned 1015 instead of 1025 and KASAN\nreported an 8-byte read beyond the nine-element iovec allocation.\nSaving and restoring the iterator on the rejected-bio path makes\nwritev() return 1025 and eliminates the KASAN report.\n\nRestore the entire iterator rather than reverting a byte count:\nadvancing past an empty segment changes its position without consuming\nany bytes.\n\nLeave successful and partially accepted bio paths unchanged.","affected_stack":[{"ecosystem":"Red Hat:enterprise_linux:10","package":"kernel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2026-99789","relation":"self"}],"affected_other":[{"ecosystem":"CVE","package":"Linux/Linux","ranges":[{"type":"GIT","events":[{"introduced":"14b007e178811db72fbb1ebb3535160db6ec1e6a"},{"fixed":"3a6381f254ed81d36f3896f61dcd5d830e08861d"}]},{"type":"GIT","events":[{"introduced":"14b007e178811db72fbb1ebb3535160db6ec1e6a"},{"fixed":"40d070cbb1906896d6fd65c39722d2411830ed9f"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.2.4"},{"fixed":"7.3"}]}],"versions":["d44a97a3b1c00cc571245124e23e5ceb0a0225a0"],"fixed":["7.3"],"provider":"cvelistv5","source":"CVE-2026-99789","relation":"self"},{"ecosystem":"CVE","package":"Linux/Linux","versions":["7.3"],"provider":"cvelistv5","source":"CVE-2026-99789","relation":"self"},{"ecosystem":"Linux","package":"Kernel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.4"},{"fixed":"7.3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.3.0"},{"fixed":"7.3.5"}]}],"fixed":["7.3","7.3.5"],"provider":"osv","source":"CVE-2026-99789","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","cpe":"cpe:/a:redhat:enterprise_linux:10","status":"affected","packages":["kernel"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-99789"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","cpe":"cpe:/o:redhat:rhel_els:6","status":"not_affected","packages":["kernel","kernel-abi-whitelists","kernel-bootwrapper","kernel-debug","kernel-debug-devel","kernel-devel","kernel-doc","kernel-firmware","kernel-headers","kernel-kdump","kernel-kdump-devel","perf","python-perf"],"package_count":13,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-99789"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:rhel_els:7","status":"not_affected","packages":["bpftool","kernel","kernel-abi-whitelists","kernel-bootwrapper","kernel-debug","kernel-debug-devel","kernel-devel","kernel-doc","kernel-headers","kernel-kdump","kernel-kdump-devel","kernel-rt","kernel-rt-debug","kernel-rt-debug-devel","kernel-rt-debug-kvm","kernel-rt-devel","kernel-rt-doc","kernel-rt-kvm","kernel-rt-trace","kernel-rt-trace-devel","kernel-rt-trace-kvm","kernel-tools","kernel-tools-libs","kernel-tools-libs-devel","perf"],"package_count":26,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-99789"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["bpftool","kernel","kernel-abi-stablelists","kernel-abi-whitelists","kernel-core","kernel-cross-headers","kernel-debug","kernel-debug-core","kernel-debug-devel","kernel-debug-modules","kernel-debug-modules-extra","kernel-debug-modules-internal","kernel-devel","kernel-doc","kernel-headers","kernel-ipaclones-internal","kernel-modules","kernel-modules-extra","kernel-modules-internal","kernel-rt","kernel-rt-core","kernel-rt-debug","kernel-rt-debug-core","kernel-rt-debug-devel","kernel-rt-debug-kvm"],"package_count":46,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-99789"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["bpftool","kernel","kernel-64k","kernel-64k-core","kernel-64k-debug","kernel-64k-debug-core","kernel-64k-debug-devel","kernel-64k-debug-devel-matched","kernel-64k-debug-modules","kernel-64k-debug-modules-core","kernel-64k-debug-modules-extra","kernel-64k-debug-modules-internal","kernel-64k-debug-modules-partner","kernel-64k-devel","kernel-64k-devel-matched","kernel-64k-modules","kernel-64k-modules-core","kernel-64k-modules-extra","kernel-64k-modules-internal","kernel-64k-modules-partner","kernel-abi-stablelists","kernel-core","kernel-cross-headers","kernel-debug","kernel-debug-core"],"package_count":107,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-99789"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift/ose-rhel-coreos-8","openshift/ose-rhel-coreos-9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-99789"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 5","cpe":"cpe:/a:redhat:openshift:5","status":"not_affected","packages":["openshift/ose-rhel-coreos-10","openshift/ose-rhel-coreos-9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-99789"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-99789","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-99789","license":"CC-BY-4.0","published_at":"2026-11-20T05:51:50.097Z","modified_at":"2026-11-20T05:51:50.097Z","summary":"block: restore the iterator when rejecting a misaligned bio","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: restore the iterator when rejecting a misaligned bio\n\nbio_iov_iter_get_pages() can extract some iovecs before encountering a\nmisaligned one.  It releases the pages and rejects the entire bio, but\nleaves the supplied iterator advanced.\n\nAn iomap direct-I/O caller may subsequently reexpand the iterator's\nbyte count and fall back to buffered I/O.  The reexpanded count then\nincludes bytes before the iterator's current segment, potentially\ncausing iterate_iovec() to read beyond the imported iovec array.\n\nIn a reproducer using an initial empty iovec followed by 10-byte and\n1015-byte segments, writev() returned 1015 instead of 1025 and KASAN\nreported an 8-byte read beyond the nine-element iovec allocation.\nSaving and restoring the iterator on the rejected-bio path makes\nwritev() return 1025 and eliminates the KASAN report.\n\nRestore the entire iterator rather than reverting a byte count:\nadvancing past an empty segment changes its position without consuming\nany bytes.\n\nLeave successful and partially accepted bio paths unchanged.","severity":[],"affected":[{"ecosystem":"CVE","package":"Linux/Linux","ranges":[{"type":"GIT","events":[{"introduced":"14b007e178811db72fbb1ebb3535160db6ec1e6a"},{"fixed":"3a6381f254ed81d36f3896f61dcd5d830e08861d"}]},{"type":"GIT","events":[{"introduced":"14b007e178811db72fbb1ebb3535160db6ec1e6a"},{"fixed":"40d070cbb1906896d6fd65c39722d2411830ed9f"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.2.4"},{"fixed":"7.3"}]}],"versions":["d44a97a3b1c00cc571245124e23e5ceb0a0225a0"],"fixed":["7.3"],"provider":"cvelistv5","source":"CVE-2026-99789","relation":"self"},{"ecosystem":"CVE","package":"Linux/Linux","versions":["7.3"],"provider":"cvelistv5","source":"CVE-2026-99789","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3a6381f254ed81d36f3896f61dcd5d830e08861d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/40d070cbb1906896d6fd65c39722d2411830ed9f"}]},{"provider":"osv","source_id":"CVE-2026-99789","relation":"self","url":"https://osv.dev/vulnerability/CVE-2026-99789","published_at":"2026-11-20T05:51:50.097Z","modified_at":"2026-11-20T07:01:20.536674Z","summary":"block: restore the iterator when rejecting a misaligned bio","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: restore the iterator when rejecting a misaligned bio\n\nbio_iov_iter_get_pages() can extract some iovecs before encountering a\nmisaligned one.  It releases the pages and rejects the entire bio, but\nleaves the supplied iterator advanced.\n\nAn iomap direct-I/O caller may subsequently reexpand the iterator's\nbyte count and fall back to buffered I/O.  The reexpanded count then\nincludes bytes before the iterator's current segment, potentially\ncausing iterate_iovec() to read beyond the imported iovec array.\n\nIn a reproducer using an initial empty iovec followed by 10-byte and\n1015-byte segments, writev() returned 1015 instead of 1025 and KASAN\nreported an 8-byte read beyond the nine-element iovec allocation.\nSaving and restoring the iterator on the rejected-bio path makes\nwritev() return 1025 and eliminates the KASAN report.\n\nRestore the entire iterator rather than reverting a byte count:\nadvancing past an empty segment changes its position without consuming\nany bytes.\n\nLeave successful and partially accepted bio paths unchanged.","severity":[],"affected":[{"ecosystem":"Linux","package":"Kernel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.4"},{"fixed":"7.3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.3.0"},{"fixed":"7.3.5"}]}],"fixed":["7.3","7.3.5"],"provider":"osv","source":"CVE-2026-99789","relation":"self"}],"product_status":[],"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3a6381f254ed81d36f3896f61dcd5d830e08861d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/40d070cbb1906896d6fd65c39722d2411830ed9f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99789.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99789"}]},{"provider":"redhat-vex","source_id":"CVE-2026-99789","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-99789","license":"CC-BY-4.0","published_at":"2026-11-20T05:51:50.097Z","modified_at":"2026-11-20T06:54:19Z","summary":"kernel: kernel: Denial of Service via out-of-bounds read in block I/O handling","details":"A flaw was found in the Linux kernel's block subsystem. When processing direct input/output (I/O) operations with misaligned memory buffers, the kernel rejects the operation but fails to restore the buffer tracking iterator to its original state. A local attacker can exploit this flaw by issuing specially crafted write requests, which triggers an out-of-bounds memory read when the system falls back to buffered I/O. This flaw primarily leads to a system crash, resulting in a Denial of Service (DoS), and may potentially expose sensitive kernel memory.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2026-99789"},{"type":"Red Hat","score":"Moderate","source":"CVE-2026-99789"}],"affected":[{"ecosystem":"Red Hat:enterprise_linux:10","package":"kernel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2026-99789","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","cpe":"cpe:/a:redhat:enterprise_linux:10","status":"affected","packages":["kernel"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-99789"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","cpe":"cpe:/o:redhat:rhel_els:6","status":"not_affected","packages":["kernel","kernel-abi-whitelists","kernel-bootwrapper","kernel-debug","kernel-debug-devel","kernel-devel","kernel-doc","kernel-firmware","kernel-headers","kernel-kdump","kernel-kdump-devel","perf","python-perf"],"package_count":13,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-99789"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:rhel_els:7","status":"not_affected","packages":["bpftool","kernel","kernel-abi-whitelists","kernel-bootwrapper","kernel-debug","kernel-debug-devel","kernel-devel","kernel-doc","kernel-headers","kernel-kdump","kernel-kdump-devel","kernel-rt","kernel-rt-debug","kernel-rt-debug-devel","kernel-rt-debug-kvm","kernel-rt-devel","kernel-rt-doc","kernel-rt-kvm","kernel-rt-trace","kernel-rt-trace-devel","kernel-rt-trace-kvm","kernel-tools","kernel-tools-libs","kernel-tools-libs-devel","perf"],"package_count":26,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-99789"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["bpftool","kernel","kernel-abi-stablelists","kernel-abi-whitelists","kernel-core","kernel-cross-headers","kernel-debug","kernel-debug-core","kernel-debug-devel","kernel-debug-modules","kernel-debug-modules-extra","kernel-debug-modules-internal","kernel-devel","kernel-doc","kernel-headers","kernel-ipaclones-internal","kernel-modules","kernel-modules-extra","kernel-modules-internal","kernel-rt","kernel-rt-core","kernel-rt-debug","kernel-rt-debug-core","kernel-rt-debug-devel","kernel-rt-debug-kvm"],"package_count":46,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-99789"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["bpftool","kernel","kernel-64k","kernel-64k-core","kernel-64k-debug","kernel-64k-debug-core","kernel-64k-debug-devel","kernel-64k-debug-devel-matched","kernel-64k-debug-modules","kernel-64k-debug-modules-core","kernel-64k-debug-modules-extra","kernel-64k-debug-modules-internal","kernel-64k-debug-modules-partner","kernel-64k-devel","kernel-64k-devel-matched","kernel-64k-modules","kernel-64k-modules-core","kernel-64k-modules-extra","kernel-64k-modules-internal","kernel-64k-modules-partner","kernel-abi-stablelists","kernel-core","kernel-cross-headers","kernel-debug","kernel-debug-core"],"package_count":107,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-99789"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift/ose-rhel-coreos-8","openshift/ose-rhel-coreos-9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-99789"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 5","cpe":"cpe:/a:redhat:openshift:5","status":"not_affected","packages":["openshift/ose-rhel-coreos-10","openshift/ose-rhel-coreos-9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-99789"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99789.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-99789"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2577585"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-99789"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99789"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3a6381f254ed81d36f3896f61dcd5d830e08861d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/40d070cbb1906896d6fd65c39722d2411830ed9f"}]}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3a6381f254ed81d36f3896f61dcd5d830e08861d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/40d070cbb1906896d6fd65c39722d2411830ed9f"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99789.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99789"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99789.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-99789"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2577585"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-99789"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-99789","url":"https://www.cve.org/CVERecord?id=CVE-2026-99789","license":"CC-BY-4.0","modified_at":"2026-11-20T05:51:50.097Z","relation":"self"},{"provider":"osv","source_id":"CVE-2026-99789","url":"https://osv.dev/vulnerability/CVE-2026-99789","modified_at":"2026-11-20T07:01:20.536674Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-99789","url":"https://access.redhat.com/security/cve/CVE-2026-99789","license":"CC-BY-4.0","modified_at":"2026-11-20T06:54:19Z","relation":"self"}]}
