# CVE-2026-99970: exfat: drain in-flight DIO before buffered writes

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-11-30T13:18:45.169Z
- Modified: 2026-11-30T14:20:37.847Z
- Assigned by: Linux

## Description

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

exfat: drain in-flight DIO before buffered writes

An asynchronous direct write can remain in flight after the inode lock is
released. If a buffered operation dirties page cache while the direct
write is still pending, the direct write's post-I/O invalidation can find
the dirty pages, report a page cache invalidation failure, and record -EIO
in the mapping error sequence. A later fsync() therefore returns -EIO.

Commit 15cdefd0c0522f9d5e12d947fa04f4c11649b699 ("ext4: drain
in-flight DIO before buffered write fallback") fixed the same race in
ext4. ExFAT does not drain in-flight DIO before a regular buffered write,
the buffered fallback after iomap_dio_rw() returns -ENOTBLK or a short
write, or the page-cache operations used to extend valid_size.

Wait for in-flight DIO before these paths can dirty page cache.

A reproducer using concurrent AIO direct writes and buffered fallback
triggered the following warning and made a subsequent fsync() return
-EIO:

  Page cache invalidation failure on direct I/O. Possible data corruption
  due to collision with buffered I/O!

(As written by CVE List.)

## Affected

- Linux Linux: from 867b9c96dc837e09ef125a79dc151fa2fc7a5d32 before 5ef4adf964ad0da0b45e876f8b2ea4b4177bd774; from 867b9c96dc837e09ef125a79dc151fa2fc7a5d32 before acea17f0f4c7742118375e96d3f876be34e449a5; 7.2 (not affected: before 7.2; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/5ef4adf964ad0da0b45e876f8b2ea4b4177bd774>
- <https://git.kernel.org/stable/c/acea17f0f4c7742118375e96d3f876be34e449a5>

## Sources

- CVE List: [CVE-2026-99970](https://www.cve.org/CVERecord?id=CVE-2026-99970), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-99970](https://nvd.nist.gov/vuln/detail/CVE-2026-99970), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-99970 · Whole record: https://cve.day/CVE-2026-99970.json · Rebuilt by cve.day 2026-11-30T14:33:45.944Z
