{"id":"CVE-2026-99968","aliases":["CVE-2026-99968"],"related":[],"kind":"vulnerability","state":"published","title":"exfat: mark straddling folio RO and zero the post-EOF range","summary":"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 ->page_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 ->page_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 ->page_mkwrite() to update valid_size.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 ->page_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 ->page_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 ->page_mkwrite() to update valid_size.","source":"cvelist"}],"published":"2026-11-30T13:18:44.077Z","modified":"2026-11-30T14:20:37.597Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"82a81a7352bcf5f2756ac33d47ee0582737e9a85","fixed":"c071f2bb3887d69ac3416ab9eea2719be990c33e","status":"affected"},{"type":"git","introduced":"82a81a7352bcf5f2756ac33d47ee0582737e9a85","fixed":"1043264c3cfa43b0668f7472a749868c1e21749b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.2","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c071f2bb3887d69ac3416ab9eea2719be990c33e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1043264c3cfa43b0668f7472a749868c1e21749b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99968","url":"https://www.cve.org/CVERecord?id=CVE-2026-99968","licence":"CVE Terms of Use","modified":"2026-11-30T13:18:44.077Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99968","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99968","licence":"Public domain","modified":"2026-11-30T14:20:37.597Z"}],"updatedAt":"2026-11-30T14:33:35.758Z","epss":{"score":0.00304,"percentile":0.24952,"date":"2026-12-01T12:00:22.000Z"}}