iomap: don't mark unwritten parts of a folio uptodate
Severity and exploitation
KEV coverage does not rule out exploitation.
Severity
unknownCVSS measures technical severity, not the likelihood of an attack.
Known exploitation
Not listed in the checked CISA KEV catalog
Absence from CISA KEV does not rule out attacks.
Public exploit
Not established by this record
Missing evidence does not mean no public exploit exists.
Remediation
Fix status not established
No structured fix or guidance is available here. Check the latest publisher advisory.
What this means
In the Linux kernel, the following vulnerability has been resolved:
Source excerpt · LinuxAttack conditions
No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.
Review supporting sources →Affected versions
Check the exact model, release, and any platform requirements against your installation.
Linux · Linux
Linux
8 ranges
Linux · Linux
Linux
Compare with this publisher’s ranges. This does not inspect your installation.
affected
9dc55f1389f9569acf9659e58dd836a9c70df217 → before 4057744d3eb110c563c6e26dea3c1672c4a782b7
git versions
9dc55f1389f9569acf9659e58dd836a9c70df217 → before b27c7d2fbf3cc91236b02f2252f19a2996fb77f4
git versions
9dc55f1389f9569acf9659e58dd836a9c70df217 → before c9370de5301e30f14839b7f955e6f45c30bc9dc3
git versions
9dc55f1389f9569acf9659e58dd836a9c70df217 → before dff8ce6ff2b8ae5dbe67c32b68f95567e2283cbd
git versions
9dc55f1389f9569acf9659e58dd836a9c70df217 → before 21b81cabfc4d626d2b3d5ea949d4e6246fa53ef0
git versions
9dc55f1389f9569acf9659e58dd836a9c70df217 → before 5fbfe1b40716d17bb1315a19f4dcd466737f87f4
git versions
9dc55f1389f9569acf9659e58dd836a9c70df217 → before 526d31b2b579b5c93efc2863caf92fae0638cbcb
git versions
9dc55f1389f9569acf9659e58dd836a9c70df217 → before a4193b4af359db84b2cdf3a040752861984c636b
git versions
Other versions: unaffected
Linux · Linux
Linux
10 ranges
Linux · Linux
Linux
Compare with this publisher’s ranges. This does not inspect your installation.
affected
4.19
unaffected
0 → before 4.19
semver versions
5.10.275 → through 5.10.*
semver versions
5.15.226 → through 5.15.*
semver versions
6.1.193 → through 6.1.*
semver versions
6.6.163 → through 6.6.*
semver versions
6.12.118 → through 6.12.*
semver versions
6.18.64 → through 6.18.*
semver versions
7.3.4 → through 7.3.*
semver versions
7.4-rc1 → through *
original_commit_for_fix versions
Other versions: affected
What to do
Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.
No structured fix or remediation guidance is available here. Check the full source description and vendor’s latest advisory for a patch or workaround; do not assume another version is safe.
cve.new guidance unless attributed to a publisher. This page does not inspect your installation.
Public exploit evidence
No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.
Original source description
Read the full publisher 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.
References
8 sourcesInside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-99846View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Environment requirements
These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.
Linux · platform conditions
Any condition may hold
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 4.19
Before: 5.10.275
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 4.19
Before: 5.15.226
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 4.19
Before: 6.1.193
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 4.19
Before: 6.6.163
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 4.19
Before: 6.12.118
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 4.19
Before: 6.18.64
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 4.19
Before: 7.3.4
Vulnerable product
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*From (inclusive): 4.19
Before: 7.4-rc1
Applicability preview
[
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.19",
"versionEndExcluding": "5.10.275"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.19",
"versionEndExcluding": "5.15.226"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.19",
"versionEndExcluding": "6.1.193"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.19",
"versionEndExcluding": "6.6.163"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.19",
"versionEndExcluding": "6.12.118"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.19",
"versionEndExcluding": "6.18.64"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.19",
"versionEndExcluding": "7.3.4"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.19",
"versionEndExcluding": "7.4-rc1"
}
]
}
]
}
]Contributing organizations · 1
Assigning organization
Timeline
All times UTCAdvisory published
Publication date supplied by the source.
Last imported by cve.new
Latest catalog import, not the date we first saw this advisory.
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.
Related advisories
Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.
KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM
In the Linux kernel, the following vulnerability has been resolved:
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
9p/xen: drain response work after unbinding IRQ
In the Linux kernel, the following vulnerability has been resolved:
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
mm/shmem: hold off eviction in shmem_writeout()
In the Linux kernel, the following vulnerability has been resolved:
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
mm: do not unintentionally overwrite atomic VMA flags
In the Linux kernel, the following vulnerability has been resolved:
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
ocfs2/cluster: hold a reference on the heartbeat thread
In the Linux kernel, the following vulnerability has been resolved:
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
ocfs2/heartbeat: serialize concurrent writes to a region's dev attribute
In the Linux kernel, the following vulnerability has been resolved:
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established