CVE-2026-99967: exfat: free clusters beyond EOF when a write fails or is short
exfat: free clusters beyond EOF when a write fails or is short
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1
Event History
Frequently Asked Questions
Who is affected by this issue?
Systems using the Linux kernel with exFAT volumes are affected when a write to an exFAT file is interrupted, fails, or completes only partially after clusters have been allocated for the full requested write range.
What conditions can trigger the space leak?
A write must stop before all requested data is written, such as when the writing process is killed or part of the supplied buffer cannot be read. The kernel may have already allocated clusters for the entire write range, leaving unwritten clusters allocated beyond the file's recorded EOF.
What is the operational impact after a failed or short write?
Later writes or truncates that extend the affected file can fail with ENOSPC because exfat_cont_expand() does not expect allocated clusters beyond EOF. After the volume is unmounted, the directory entry retains only the file size, so the leaked space may be permanently lost.
How can administrators recognize a potentially affected volume?
An exFAT file that experienced a failed or short write may subsequently fail to grow or be truncated with ENOSPC despite apparent free space. The provided reproduction uses a 64 MB exFAT volume and a 1 MB write from a buffer with only its first 4 KB mapped.