{"id":"CVE-2026-99968","summary":"exfat: mark straddling folio RO and zero the post-EOF range","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nexfat: mark straddling folio RO and zero the post-EOF range\n\nWhen extending a file across a non-page-aligned EOF, the folio\ncontaining the old EOF must be marked RO so that subsequent mmap\nwrites trigger -\u003epage_mkwrite() and update valid_size.\n\nThe straddling folio remains mapped to the same filesystem block\nafter the file is extended. As a result, the existing writable PTE\nmay remain in place, allowing mmap writes to bypass -\u003epage_mkwrite()\nand leave valid_size unchanged.\n\nFurthermore, writes to the post-EOF range may occur between\ntruncate_pagecache() and locking the folio. So the post-EOF range\nshould be zeroed after marking the straddling folio RO, and using\ntruncate_pagecache() to zero out the post-EOF range is redundant.\n\nIntroduce exfat_pagecache_isize_extended() to mark the straddling\nfolio RO and zero the post-EOF range after clearing writable mapping.\nThis ensures that data written beyond the old EOF before the extension\nis not exposed as valid file data, and that subsequent mmap writes\ntrigger -\u003epage_mkwrite() to update valid_size.","modified":"2026-12-01T21:02:41.696447Z","published":"2026-11-30T13:18:44.077Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99968.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1043264c3cfa43b0668f7472a749868c1e21749b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c071f2bb3887d69ac3416ab9eea2719be990c33e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99968.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99968"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"82a81a7352bcf5f2756ac33d47ee0582737e9a85"},{"fixed":"c071f2bb3887d69ac3416ab9eea2719be990c33e"},{"fixed":"1043264c3cfa43b0668f7472a749868c1e21749b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99968.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99968.json"}}],"schema_version":"1.9.2"}