{"id":"CVE-2026-99846","aliases":[],"cve":{"records":[{"id":"CVE-2026-99846","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.437Z","published":"2026-11-30T13:17:36.089Z","modified":"2026-11-30T13:17:36.089Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-30T13:17:36.089Z"}],"references":[{"url":"https://git.kernel.org/stable/c/4057744d3eb110c563c6e26dea3c1672c4a782b7","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/b27c7d2fbf3cc91236b02f2252f19a2996fb77f4","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/c9370de5301e30f14839b7f955e6f45c30bc9dc3","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/dff8ce6ff2b8ae5dbe67c32b68f95567e2283cbd","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/21b81cabfc4d626d2b3d5ea949d4e6246fa53ef0","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/5fbfe1b40716d17bb1315a19f4dcd466737f87f4","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/526d31b2b579b5c93efc2863caf92fae0638cbcb","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/a4193b4af359db84b2cdf3a040752861984c636b","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"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"}]}]}]}],"prioritization":[]},"title":"iomap: don't mark unwritten parts of a folio uptodate","titleSource":"Linux","descriptionSource":"Linux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niomap: don't mark unwritten parts of a folio uptodate\n\nFor a buffered write into a hole, an unwritten or new extent, or past\nEOF __iomap_write_begin() zeroes the parts of the blocks outside of the\nwrite and then marks the blocks uptodate. That includes the range of the\nwrite itself which still holds whatever was in the folio before. It only\nbecomes valid once the copy from userspace has filled it in.\n\nBut the copy can come up short and __iomap_write_end() only rejects a\nshort copy if the folio isn't uptodate. If the zeroed blocks were all\nthat was missing the folio is uptodate by then, the short copy is\naccepted, and the rest of the range is exposed to readers and can end up\non disk. A source buffer that ends in an unmapped page is enough:\n\n        ftruncate(fd, 4096);\n        pwrite(fd, p, 3000, 100);    /* 16 bytes at p, then PROT_NONE */\n        pread(fd, buf, 4096, 0);\n\nThe write returns 16 and the read returns 2984 bytes of whatever was in\nthat page before. If other blocks of the folio aren't uptodate the short\ncopy is rejected but the zeroed blocks keep their uptodate bits and the\nretry with the copied length leaves the same bytes behind.\n\nOnly mark blocks uptodate in __iomap_write_begin() after reading them.\n__iomap_write_end() marks the zeroed blocks uptodate once the copy has\nsucceeded and rejects a short copy.\n\nWilly reported this back in 2024 (cf. [1]) and Zhang Yi posted the same\nfix (cf. [2]) but it never got merged.\n\n[1]: https://lore.kernel.org/all/ZqsN5ouQTEc1KAzV@casper.infradead.org\n[2]: https://lore.kernel.org/all/20240812121159.3775074-6-yi.zhang@huaweicloud.com","score":null,"severity":"unknown","published":"2026-11-30T13:17:36.089Z","modified":"2026-11-30T13:17:36.089Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"9dc55f1389f9569acf9659e58dd836a9c70df217","status":"affected","lessThan":"4057744d3eb110c563c6e26dea3c1672c4a782b7","versionType":"git"},{"version":"9dc55f1389f9569acf9659e58dd836a9c70df217","status":"affected","lessThan":"b27c7d2fbf3cc91236b02f2252f19a2996fb77f4","versionType":"git"},{"version":"9dc55f1389f9569acf9659e58dd836a9c70df217","status":"affected","lessThan":"c9370de5301e30f14839b7f955e6f45c30bc9dc3","versionType":"git"},{"version":"9dc55f1389f9569acf9659e58dd836a9c70df217","status":"affected","lessThan":"dff8ce6ff2b8ae5dbe67c32b68f95567e2283cbd","versionType":"git"},{"version":"9dc55f1389f9569acf9659e58dd836a9c70df217","status":"affected","lessThan":"21b81cabfc4d626d2b3d5ea949d4e6246fa53ef0","versionType":"git"},{"version":"9dc55f1389f9569acf9659e58dd836a9c70df217","status":"affected","lessThan":"5fbfe1b40716d17bb1315a19f4dcd466737f87f4","versionType":"git"},{"version":"9dc55f1389f9569acf9659e58dd836a9c70df217","status":"affected","lessThan":"526d31b2b579b5c93efc2863caf92fae0638cbcb","versionType":"git"},{"version":"9dc55f1389f9569acf9659e58dd836a9c70df217","status":"affected","lessThan":"a4193b4af359db84b2cdf3a040752861984c636b","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99846"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"4.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.19","versionType":"semver"},{"version":"5.10.275","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.226","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.118","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.64","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.4","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99846"}],"remediation":[],"references":["https://git.kernel.org/stable/c/4057744d3eb110c563c6e26dea3c1672c4a782b7","https://git.kernel.org/stable/c/b27c7d2fbf3cc91236b02f2252f19a2996fb77f4","https://git.kernel.org/stable/c/c9370de5301e30f14839b7f955e6f45c30bc9dc3","https://git.kernel.org/stable/c/dff8ce6ff2b8ae5dbe67c32b68f95567e2283cbd","https://git.kernel.org/stable/c/21b81cabfc4d626d2b3d5ea949d4e6246fa53ef0","https://git.kernel.org/stable/c/5fbfe1b40716d17bb1315a19f4dcd466737f87f4","https://git.kernel.org/stable/c/526d31b2b579b5c93efc2863caf92fae0638cbcb","https://git.kernel.org/stable/c/a4193b4af359db84b2cdf3a040752861984c636b"],"sources":[{"name":"CVE","id":"CVE-2026-99846","modified":"2026-11-30T13:17:36.089Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99846"}],"assessments":[],"sourceAffected":[],"observedAt":"2026-11-30T13:46:54.122Z","kev":{"status":"not-listed","checkedAt":"2026-11-30T22:55:31.926Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":null}