Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99845

published high CVSS 3.1 · 7.8

iomap: keep large chunks from defeating the bio cap

Published
30 Nov 2026, 13:17:35 UTC
Updated
01 Dec 2026, 05:43:44 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux0b10a370529cbd7b918c1eef43d409e43d9e0b78 to < 3ace65e1001ea5fa82a178a1d3178fef1f6da3a2 · 0b10a370529cbd7b918c1eef43d409e43d9e0b78 to < eb8ab8c23e71c6ae77dedc45de2a57a61558e5d5 · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The wrapped check in iomap_can_add_to_ioend()/iomap_bio_read_folio_range() is reached by local write()/fallocate()/fsync() on an XFS file. XFS sets IOMAP_F_INTEGRITY on its own and writeback runs iomap_ioend_writeback_submit()->fs_bio_integrity_generate(). No network protocol carries malformed input; the trigger is ordinary large writes. AC:L - On XFS over a 512B PI LUN behind qla2xxx (DIX on by default, max_segment_size left at 64 KiB), the attacker picks the state: 2 MiB folios make map_len exceed the cap, the size_t subtraction wraps, and a >256 MiB contiguous writeback bio needs >4 MiB PI. kmalloc then always fails and the overflow follows with no race. PR:L - Needs only an ordinary account that can create and write ~300 MiB to its own file on the XFS mount. write, fallocate and fsync on an owned file have no capability checks on the path to iomap_add_to_ioend(). UI:N - The admin has already mounted the filesystem as part of normal operation. The attacker writes and fsyncs their own file, with no victim action and no attacker-supplied media. S:U - Kernel heap/page memory corruption by a local user; the impact stays in the kernel's own security authority with no VM or IOMMU boundary crossed. C:H - bio_integrity_alloc_buf() maps a >4 MiB bvec onto a 2 MiB mempool page. blk_integrity_iterate() then walks bvec_iter_page() into physically adjacent pages (slab, page tables, page cache). That much page corruption can be used to forge structures and leak data. I:H - About 2.7 MiB of PI tuples are written past the order-9 page. The guard field is a CRC of attacker-chosen file data and the ref tag is a predictable sector number, so this is a large, partly controlled out-of-bounds write into neighbouring kernel memory. A:H - Overwriting megabytes of adjacent physical pages during writeback reliably corrupts kernel state and crashes or panics the host, and an unprivileged user can repeat it at will.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 0b10a370529cbd7b918c1eef43d409e43d9e0b78 to < 3ace65e1001ea5fa82a178a1d3178fef1f6da3a2 (affected · git)0b10a370529cbd7b918c1eef43d409e43d9e0b78 to < eb8ab8c23e71c6ae77dedc45de2a57a61558e5d5 (affected · git)Default: unaffected Linux · cna
Linux Linux 7.1 (affected)0 to < 7.1 (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

iomap: keep large chunks from defeating the bio cap

Provenance

Schema
5.2
Searchable
yes
Content hash
5326a17e86369b76dc5cfbfaf13388df91b26e3665de40470358cc5556323e66
Ingested
01 Dec 2026, 05:47:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected