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

Published Sep 17, 2026
·
Updated

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

exfat: fix validsize extension over a shared writable mapping

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

Fix this by zeroing the gap lazily. Drop ->mappages so that every first write fault goes through exfatpagemkwrite(), which advances validsize to cover the faulting page. With fault-around enabled, a store could install a writable PTE, skip ->pagemkwrite(), and land past validsize without advancing it. Extending validsize 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 validsize covers it.

Event History

Sep 17, 2026
CVE Published
via MITRE·04:10 PM
Data Sourced
via MITRE·04:10 PM
Description

Frequently Asked Questions

1

Which workloads are exposed to this race?

The affected scenario requires an exFAT file accessed through a shared writable mapping, with valid_size being extended by either a buffered write or a page fault. A store through that mapping must race with zeroing of the page-cache gap below the newly extended valid_size.

2

What changes reduce the race after the fix?

First write faults are routed through exfat_page_mkwrite() so valid_size advances to cover the faulting page. On buffered writes, the gap is unmapped before zeroing while the invalidate lock is held, forcing racing stores to fault again and complete only after zeroing and valid_size extension.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203