CVE-2026-143416: exfat: make valid_size and zeroed_size atomic

Published Dec 5, 2026
·
Updated

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

exfat: make validsize and zeroedsize atomic

ei->validsize and ei->zeroedsize are 64-bit fields read from bio completion context (exfatiomapreadendio()) and from ->iomapbegin without irwsem, while writers update them under irwsem. On 32-bit these loads can tear, and the "if (x < new) x = new" read-modify-write can lose an update or regress the value when two writers race.

Convert both to atomic64t and funnel updates through a cmpxchg-based monotonic advance helper so the value only moves forward; plain reads use exfatget(), and the few shrink/init paths (truncate, inode fill, create) use exfatset(). This is a prerequisite for taking exfatpagemkwrite() out from under irwsem.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In exFAT, convert ei->valid_size and ei->zeroed_size to atomic64_t and funnel updates through a cmpxchg-based monotonic advance helper.

Event History

Dec 5, 2026
CVE Published
via MITRE·01:20 AM
Data Sourced
via MITRE·01:20 AM
Description

Frequently Asked Questions

1

Which systems are most directly exposed to torn reads?

The description specifically identifies 32-bit systems, where unsynchronized reads of the 64-bit exFAT size fields can tear. The affected fields are accessed in bio completion handling and iomap operations without i_rwsem.

2

What concurrent activity can trigger incorrect size tracking?

Concurrent updates can lose an update or move a tracked value backward when writers race. The affected values are valid_size and zeroed_size, and the issue involves updates occurring alongside unlocked reads.

3

What does the resolved change do?

The fix converts both fields to atomic64_t and uses a cmpxchg-based helper for monotonic advances, preventing values from decreasing during concurrent updates. Truncate, inode-fill, and create paths retain explicit set operations for initialization or shrinking.

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