Vulnerability record
exfat: free clusters beyond EOF when a write fails or is short
In the Linux kernel, the following vulnerability has been resolved:
exfat: free clusters beyond EOF when a write fails or is short
Commit 82a81a7352bc ("exfat: add iomap buffered I/O support") and commit 867b9c96dc83 ("exfat: add iomap direct I/O support") made a write allocate the clusters for its whole range in one step. They also dropped exfat_write_failed(), which freed the clusters beyond the end of the file after a failed or short write.
However, a write can stop early, for example when the process is killed or when a part of the buffer cannot be read. As of now, the clusters for the…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources