# CVE-2026-92487: exfat: fix valid_size extension over a shared writable mapping

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-09-17T16:10:02.317Z
- Modified: 2026-10-19T09:19:38.993Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

exfat: fix valid_size extension over a shared writable mapping

When a shared writable mapping has its valid_size extended by a buffered
write or a page fault, exfat zeroes the page-cache gap below the new
valid_size. A store through the mapping can race with this zeroing and be
overwritten.

Fix this by zeroing the gap lazily. Drop ->map_pages so that every first
write fault goes through exfat_page_mkwrite(), which advances valid_size to
cover the faulting page. With fault-around enabled, a store could install a
writable PTE, skip ->page_mkwrite(), and land past valid_size without
advancing it. Extending valid_size one faulting page at a time also leaves
never-written pages in a large mapping alone.

The gap is filled with block granularity, zeroing only the not-uptodate
blocks and preserving blocks that may hold data stored through the mapping.
On the buffered-write path the invalidate lock is held and the gap is
unmapped before zeroing, so a racing store re-faults and, under the inode
lock, completes only after the gap has been zeroed and valid_size covers
it.

(As written by CVE List.)

## Affected

- Linux Linux: from 82a81a7352bcf5f2756ac33d47ee0582737e9a85 before 24f20986b253c3e4eb13ebe3c2007d1d352408a6; from 82a81a7352bcf5f2756ac33d47ee0582737e9a85 before 1135704ed22f54873eb0498a232611d9eca30dd4; 7.2 (not affected: before 7.2; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/24f20986b253c3e4eb13ebe3c2007d1d352408a6>
- <https://git.kernel.org/stable/c/1135704ed22f54873eb0498a232611d9eca30dd4>

## Sources

- CVE List: [CVE-2026-92487](https://www.cve.org/CVERecord?id=CVE-2026-92487), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-92487](https://nvd.nist.gov/vuln/detail/CVE-2026-92487), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-92487 · Whole record: https://cve.day/CVE-2026-92487.json · Rebuilt by cve.day 2026-11-25T22:59:39.419Z
