CVE-2026-99845

Source
https://cve.org/CVERecord?id=CVE-2026-99845
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99845.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99845
Downstream
Published
2026-11-30T13:17:35Z
Modified
2026-12-01T07:00:45Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
iomap: keep large chunks from defeating the bio cap
Details

In the Linux kernel, the following vulnerability has been resolved:

iomap: keep large chunks from defeating the bio cap

For integrity I/O a bio must not grow beyond max_integrity_io_size() because the integrity buffer is a single allocation of at most 2 MiB. Writeback and buffered reads check that before adding to a bio:

    bio->bi_iter.bi_size > iomap_max_bio_size(iomap) - len

The subtraction is done in size_t and wraps if len alone is above the limit. The check then never fires and the bio grows until it runs out of bio_vecs.

That's easy to hit. The limit is also capped by the maximum segment size which is 64 KiB for SCSI hosts that don't set it, such as lpfc and qla2xxx, and XFS uses folios of up to 2 MiB. Writeback of a preallocated 300 MiB file then builds a single bio that needs 4.7 MiB of PI with 512 byte sectors and 8 byte tuples. That's more than kmalloc() can do, so bio_integrity_alloc_buf() falls back to a 2 MiB mempool element and generating the PI writes 2.7 MiB past its end.

Check the length on its own first. A chunk above the limit still gets a bio of its own which is never larger than a folio.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99845.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0b10a370529cbd7b918c1eef43d409e43d9e0b78
Fixed
3ace65e1001ea5fa82a178a1d3178fef1f6da3a2
Fixed
eb8ab8c23e71c6ae77dedc45de2a57a61558e5d5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99845.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.1.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99845.json"