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-99846

published

iomap: don't mark unwritten parts of a folio uptodate

Published
30 Nov 2026, 13:17:36 UTC
Updated
30 Nov 2026, 13:17:36 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux9dc55f1389f9569acf9659e58dd836a9c70df217 to < 4057744d3eb110c563c6e26dea3c1672c4a782b7 · 9dc55f1389f9569acf9659e58dd836a9c70df217 to < b27c7d2fbf3cc91236b02f2252f19a2996fb77f4 · 9dc55f1389f9569acf9659e58dd836a9c70df217 to < c9370de5301e30f14839b7f955e6f45c30bc9dc3 · 9dc55f1389f9569acf9659e58dd836a9c70df217 to < dff8ce6ff2b8ae5dbe67c32b68f95567e2283cbd · 9dc55f1389f9569acf9659e58dd836a9c70df217 to < 21b81cabfc4d626d2b3d5ea949d4e6246fa53ef0 · 9dc55f1389f9569acf9659e58dd836a9c70df217 to < 5fbfe1b40716d17bb1315a19f4dcd466737f87f4 · 9dc55f1389f9569acf9659e58dd836a9c70df217 to < 526d31b2b579b5c93efc2863caf92fae0638cbcb · 9dc55f1389f9569acf9659e58dd836a9c70df217 to < a4193b4af359db84b2cdf3a040752861984c636b · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.19 (affected) · 0 to < 4.19 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (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 Pending Fix; Not Affected Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: iomap: don't mark unwritten parts of a folio uptodate For a buffered write into a hole, an unwritten or new extent, or past EOF __iomap_write_begin() zeroes the parts of the blocks outside of the write and then marks the blocks uptodate. That includes the range of the write itself which still holds whatever was in the folio before. It only becomes valid once the copy from userspace has filled it in. But the copy can come up short and __iomap_write_end() only rejects a short copy if the folio isn't uptodate. If the zeroed blocks were all that was missing the folio is uptodate by then, the short copy is accepted, and the rest of the range is exposed to readers and can end up on disk. A source buffer that ends in an unmapped page is enough: ftruncate(fd, 4096); pwrite(fd, p, 3000, 100); /* 16 bytes at p, then PROT_NONE */ pread(fd, buf, 4096, 0); The write returns 16 and the read returns 2984 bytes of whatever was in that page before. If other blocks of the folio aren't uptodate the short copy is rejected but the zeroed blocks keep their uptodate bits and the retry with the copied length leaves the same bytes behind. Only mark blocks uptodate in __iomap_write_begin() after reading them. __iomap_write_end() marks the zeroed blocks uptodate once the copy has succeeded and rejects a short copy. Willy reported this back in 2024 (cf. [1]) and Zhang Yi posted the same fix (cf. [2]) but it never got merged. [1]: https://lore.kernel.org/all/[email protected] [2]: https://lore.kernel.org/all/[email protected]

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.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 9dc55f1389f9569acf9659e58dd836a9c70df217 to < 4057744d3eb110c563c6e26dea3c1672c4a782b7 (affected · git)9dc55f1389f9569acf9659e58dd836a9c70df217 to < b27c7d2fbf3cc91236b02f2252f19a2996fb77f4 (affected · git)9dc55f1389f9569acf9659e58dd836a9c70df217 to < c9370de5301e30f14839b7f955e6f45c30bc9dc3 (affected · git)9dc55f1389f9569acf9659e58dd836a9c70df217 to < dff8ce6ff2b8ae5dbe67c32b68f95567e2283cbd (affected · git)9dc55f1389f9569acf9659e58dd836a9c70df217 to < 21b81cabfc4d626d2b3d5ea949d4e6246fa53ef0 (affected · git)9dc55f1389f9569acf9659e58dd836a9c70df217 to < 5fbfe1b40716d17bb1315a19f4dcd466737f87f4 (affected · git)9dc55f1389f9569acf9659e58dd836a9c70df217 to < 526d31b2b579b5c93efc2863caf92fae0638cbcb (affected · git)9dc55f1389f9569acf9659e58dd836a9c70df217 to < a4193b4af359db84b2cdf3a040752861984c636b (affected · git)Default: unaffected Linux · cna
Linux Linux 4.19 (affected)0 to < 4.19 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (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

8

Provider assertions

1

Linux · cna

iomap: don't mark unwritten parts of a folio uptodate

Provenance

Schema
5.2
Searchable
yes
Content hash
197085d791cb8751608f5484fc0ba56a6980cd326818b64133ba17e1f1fec8a8
Ingested
30 Nov 2026, 13:30:07 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