CVE-2026-143416
exfat: make valid_size and zeroed_size atomic
- Severity
- unscored
- Affects
- Linux
- Published
- 5 December 2026 by Linux
- First seen on our lists
- 5 December 2026
In the Linux kernel, the following vulnerability has been resolved:
exfat: make valid_size and zeroed_size atomic
ei->valid_size and ei->zeroed_size are 64-bit fields read from bio
completion context (exfat_iomap_read_end_io()) and from ->iomap_begin
without i_rwsem, while writers update them under i_rwsem. 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 atomic64_t and funnel updates through a cmpxchg-based
monotonic advance helper so the value only moves forward; plain reads use
exfat_get_*(), and the few shrink/init paths (truncate, inode fill,
create) use exfat_set_*(). This is a prerequisite for taking
exfat_page_mkwrite() out from under i_rwsem.
Our coverage
We have not written about this one. Know why it matters? Send a tip.