Not scored
exfat: mark straddling folio RO and zero the post-EOF range
- Severity
- Not scored
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: exfat: mark straddling folio RO and zero the post-EOF range When extending a file across a non-page-aligned EOF, the folio containing the old EOF must be marked RO so that subsequent mmap writes trigger ->page_mkwrite() and update valid_size. The straddling folio remains mapped to the same filesystem block after the file is extended. As a result, the existing writable PTE may remain in place, allowing mmap writes to bypass ->page_mkwrite() and leave valid_size unchanged. Furthermore, writes to the post-EOF range may occur between truncate_pagecache() and locking the folio. So the post-EOF range should be zeroed after marking the straddling folio RO, and using truncate_pagecache() to zero out the post-EOF range is redundant. Introduce exfat_pagecache_isize_extended() to mark the straddling folio RO and zero the post-EOF range after clearing writable mapping. This ensures that data written beyond the old EOF before the extension is not exposed as valid file data, and that subsequent mmap writes trigger ->page_mkwrite() to update valid_size.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 82a81a7352bcf5f2756ac33d47ee0582737e9a85 before c071f2bb3887d69ac3416ab9eea2719be990c33e, from 82a81a7352bcf5f2756ac33d47ee0582737e9a85 before 1043264c3cfa43b0668f7472a749868c1e21749b, 7.2 Not affected: before 7.2, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-99968 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-99968 changed 2026-11-30 | Public domain |