# CVE-2026-99789: block: restore the iterator when rejecting a misaligned bio

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.14% (percentile 2, 2026-11-26)
- **Published:** 2026-11-20T05:51:50.097Z
- **Modified:** 2026-11-20T06:18:18.243Z

## Who should check

- Anyone running Linux \>= 14b007e178811db72fbb1ebb3535160db6ec1e6a, \< 3a6381f254ed81d36f3896f61dcd5d830e08861d; \>= 14b007e178811db72fbb1ebb3535160db6ec1e6a, \< 40d070cbb1906896d6fd65c39722d2411830ed9f; d44a97a3b1c00cc571245124e23e5ceb0a0225a0; \>= 7.2.4, \< 7.3
- Anyone running Linux 7.3

## 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 and fixed versions

- Linux: \>= 14b007e178811db72fbb1ebb3535160db6ec1e6a, \< 3a6381f254ed81d36f3896f61dcd5d830e08861d; \>= 14b007e178811db72fbb1ebb3535160db6ec1e6a, \< 40d070cbb1906896d6fd65c39722d2411830ed9f; d44a97a3b1c00cc571245124e23e5ceb0a0225a0; \>= 7.2.4, \< 7.3 (cvelist)
- Linux: 7.3 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 7.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99789. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99789.md
Affected: Linux >= 14b007e178811db72fbb1ebb3535160db6ec1e6a, < 3a6381f254ed81d36f3896f61dcd5d830e08861d; >= 14b007e178811db72fbb1ebb3535160db6ec1e6a, < 40d070cbb1906896d6fd65c39722d2411830ed9f; d44a97a3b1c00cc571245124e23e5ceb0a0225a0; >= 7.2.4, < 7.3; Linux 7.3
Fixed in: Linux 3a6381f254ed81d36f3896f61dcd5d830e08861d, Linux 40d070cbb1906896d6fd65c39722d2411830ed9f, Linux 7.3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99789 being exploited?

There is no confirmed exploitation: CVE-2026-99789 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.14% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99789?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99789?

Linux \>= 14b007e178811db72fbb1ebb3535160db6ec1e6a, \< 3a6381f254ed81d36f3896f61dcd5d830e08861d; \>= 14b007e178811db72fbb1ebb3535160db6ec1e6a, \< 40d070cbb1906896d6fd65c39722d2411830ed9f; d44a97a3b1c00cc571245124e23e5ceb0a0225a0; \>= 7.2.4, \< 7.3; Linux 7.3.

### Is there a fix for CVE-2026-99789?

Yes. Fixed in Linux 3a6381f254ed81d36f3896f61dcd5d830e08861d, Linux 40d070cbb1906896d6fd65c39722d2411830ed9f, Linux 7.3. Upgrade Linux to 7.3 or later.

### How do I check if I'm affected by CVE-2026-99789?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/3a6381f254ed81d36f3896f61dcd5d830e08861d>
- other: <https://git.kernel.org/stable/c/40d070cbb1906896d6fd65c39722d2411830ed9f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99789>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99789> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99789>
