{"id":"CVE-2026-92487","aliases":["CVE-2026-92487"],"related":[],"kind":"vulnerability","state":"published","title":"exfat: fix valid_size extension over a shared writable mapping","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nexfat: fix valid_size extension over a shared writable mapping\n\nWhen a shared writable mapping has its valid_size extended by a buffered\nwrite or a page fault, exfat zeroes the page-cache gap below the new\nvalid_size. A store through the mapping can race with this zeroing and be\noverwritten.\n\nFix this by zeroing the gap lazily. Drop ->map_pages so that every first\nwrite fault goes through exfat_page_mkwrite(), which advances valid_size to\ncover the faulting page. With fault-around enabled, a store could install a\nwritable PTE, skip ->page_mkwrite(), and land past valid_size without\nadvancing it. Extending valid_size one faulting page at a time also leaves\nnever-written pages in a large mapping alone.\n\nThe gap is filled with block granularity, zeroing only the not-uptodate\nblocks and preserving blocks that may hold data stored through the mapping.\nOn the buffered-write path the invalidate lock is held and the gap is\nunmapped before zeroing, so a racing store re-faults and, under the inode\nlock, completes only after the gap has been zeroed and valid_size covers\nit.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nexfat: fix valid_size extension over a shared writable mapping\n\nWhen a shared writable mapping has its valid_size extended by a buffered\nwrite or a page fault, exfat zeroes the page-cache gap below the new\nvalid_size. A store through the mapping can race with this zeroing and be\noverwritten.\n\nFix this by zeroing the gap lazily. Drop ->map_pages so that every first\nwrite fault goes through exfat_page_mkwrite(), which advances valid_size to\ncover the faulting page. With fault-around enabled, a store could install a\nwritable PTE, skip ->page_mkwrite(), and land past valid_size without\nadvancing it. Extending valid_size one faulting page at a time also leaves\nnever-written pages in a large mapping alone.\n\nThe gap is filled with block granularity, zeroing only the not-uptodate\nblocks and preserving blocks that may hold data stored through the mapping.\nOn the buffered-write path the invalidate lock is held and the gap is\nunmapped before zeroing, so a racing store re-faults and, under the inode\nlock, completes only after the gap has been zeroed and valid_size covers\nit.","source":"cvelist"}],"published":"2026-09-17T16:10:02.317Z","modified":"2026-10-19T09:19:38.993Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"82a81a7352bcf5f2756ac33d47ee0582737e9a85","fixed":"24f20986b253c3e4eb13ebe3c2007d1d352408a6","status":"affected"},{"type":"git","introduced":"82a81a7352bcf5f2756ac33d47ee0582737e9a85","fixed":"1135704ed22f54873eb0498a232611d9eca30dd4","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.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/24f20986b253c3e4eb13ebe3c2007d1d352408a6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1135704ed22f54873eb0498a232611d9eca30dd4","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-92487","url":"https://www.cve.org/CVERecord?id=CVE-2026-92487","licence":"CVE Terms of Use","modified":"2026-10-19T09:03:53.813Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-92487","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92487","licence":"Public domain","modified":"2026-10-19T09:19:38.993Z"}],"updatedAt":"2026-11-25T22:59:39.419Z","epss":{"score":0.00189,"percentile":0.08994,"date":"2026-12-01T12:00:22.000Z"}}