Fatfs · Fatfs · CVE-2026-6685
**Name of the Vulnerable Software and Affected Versions**
FatFs versions R0.16 and earlier
**Description**
An integer underflow occurs during interleaved read and write operations on fragmented filesystems. This issue is caused by an unsigned-subtraction wrap in the `f read()` and `f write()` functions when evaluating the condition `fp->sect - sect < cc`, which leads to a stale dirty-cache skip.
**Recommendations**
At the moment, there is no information about a newer version that contains a fix for this vulnerability.