{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99916","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.445Z","datePublished":"2026-11-30T13:18:15.139Z","dateUpdated":"2026-11-30T13:18:15.139Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:18:15.139Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/truncate: fix the zeroing end of pagecache_isize_extended()\n\nA process that extends a file by 4 GiB or more past a dirty folio, on a\nfile system whose block size is smaller than the page size (ext4 with 1k\nblocks), reads back the bytes it wrote through a shared mapping beyond the\nold end of file instead of zeroes, and a later write into that block\ncarries them to the disk.  With the example of commit 52aecaee1c26 (\"mm:\nzero range of eof folio exposed by inode size extension\") and the truncate\ntaken 4 GiB further (pwrite 2k at 0, mmap the first page and write 'X'\nover [2k, 4k), truncate(2) to 4 GiB + 2k), the read of [2k, 4k) returns\nthe 2048 'X' bytes, and a pwrite of 16 bytes at 3k followed by fsync() and\na remount leaves 1008 'X' bytes on the disk in [3k+16, 4k).  No privilege\nis needed, and every size extension of 4 GiB or more reaches it:\ntruncate(2)/ftruncate(2) through truncate_setsize(), writes beyond the end\nof file through generic_write_end(), ext4, iomap, btrfs, exfat, ntfs, afs\nand orangefs.  Affected since v6.13.\n\npagecache_isize_extended() zeroes the part of the dirty folio straddling\nthe old end of file that the size extension exposes, from the old size to\nthe new size or the end of the folio, whichever comes first:\n\n\tend = min_t(unsigned int, to - folio_pos(folio), folio_size(folio));\n\nmin_t() converts both operands to unsigned int before comparing, so the\nloff_t difference to - folio_pos(folio) is reduced modulo 2^32 first. \nWhen the file grows by 4 GiB or more past the folio, end is that residue\ninstead of folio_size(folio): below offset nothing is zeroed, above it\nonly [offset, end) is.  The bytes beyond the old end of file stay in the\ndirty folio and, now inside i_size, are file data.\n\nCompare in loff_t; the result is at most folio_size(folio) and fits end.\n\nFound while formally verifying pagecache_isize_extended() against the\nkernel binary."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/truncate.c"],"versions":[{"version":"52aecaee1c26409ebafe080293e0841884f6e9fb","lessThan":"5b040ba4b592f9ccbc7d072767e1be8c545c9f24","status":"affected","versionType":"git"},{"version":"52aecaee1c26409ebafe080293e0841884f6e9fb","lessThan":"f899e3c62666840d2dfe142b812651c60ed7942d","status":"affected","versionType":"git"},{"version":"52aecaee1c26409ebafe080293e0841884f6e9fb","lessThan":"8f9039840588dd618c72a726c192126bb7b98228","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/truncate.c"],"versions":[{"version":"6.13","status":"affected"},{"version":"0","lessThan":"6.13","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/5b040ba4b592f9ccbc7d072767e1be8c545c9f24"},{"url":"https://git.kernel.org/stable/c/f899e3c62666840d2dfe142b812651c60ed7942d"},{"url":"https://git.kernel.org/stable/c/8f9039840588dd618c72a726c192126bb7b98228"}],"title":"mm/truncate: fix the zeroing end of pagecache_isize_extended()","x_generator":{"engine":"bippy-1.2.0"}}}}