{"id":"CVE-2026-99970","aliases":["CVE-2026-99970"],"related":[],"kind":"vulnerability","state":"published","title":"exfat: drain in-flight DIO before buffered writes","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nexfat: drain in-flight DIO before buffered writes\n\nAn asynchronous direct write can remain in flight after the inode lock is\nreleased. If a buffered operation dirties page cache while the direct\nwrite is still pending, the direct write's post-I/O invalidation can find\nthe dirty pages, report a page cache invalidation failure, and record -EIO\nin the mapping error sequence. A later fsync() therefore returns -EIO.\n\nCommit 15cdefd0c0522f9d5e12d947fa04f4c11649b699 (\"ext4: drain\nin-flight DIO before buffered write fallback\") fixed the same race in\next4. ExFAT does not drain in-flight DIO before a regular buffered write,\nthe buffered fallback after iomap_dio_rw() returns -ENOTBLK or a short\nwrite, or the page-cache operations used to extend valid_size.\n\nWait for in-flight DIO before these paths can dirty page cache.\n\nA reproducer using concurrent AIO direct writes and buffered fallback\ntriggered the following warning and made a subsequent fsync() return\n-EIO:\n\n  Page cache invalidation failure on direct I/O. Possible data corruption\n  due to collision with buffered I/O!","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nexfat: drain in-flight DIO before buffered writes\n\nAn asynchronous direct write can remain in flight after the inode lock is\nreleased. If a buffered operation dirties page cache while the direct\nwrite is still pending, the direct write's post-I/O invalidation can find\nthe dirty pages, report a page cache invalidation failure, and record -EIO\nin the mapping error sequence. A later fsync() therefore returns -EIO.\n\nCommit 15cdefd0c0522f9d5e12d947fa04f4c11649b699 (\"ext4: drain\nin-flight DIO before buffered write fallback\") fixed the same race in\next4. ExFAT does not drain in-flight DIO before a regular buffered write,\nthe buffered fallback after iomap_dio_rw() returns -ENOTBLK or a short\nwrite, or the page-cache operations used to extend valid_size.\n\nWait for in-flight DIO before these paths can dirty page cache.\n\nA reproducer using concurrent AIO direct writes and buffered fallback\ntriggered the following warning and made a subsequent fsync() return\n-EIO:\n\n  Page cache invalidation failure on direct I/O. Possible data corruption\n  due to collision with buffered I/O!","source":"cvelist"}],"published":"2026-11-30T13:18:45.169Z","modified":"2026-11-30T14:20:37.847Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"867b9c96dc837e09ef125a79dc151fa2fc7a5d32","fixed":"5ef4adf964ad0da0b45e876f8b2ea4b4177bd774","status":"affected"},{"type":"git","introduced":"867b9c96dc837e09ef125a79dc151fa2fc7a5d32","fixed":"acea17f0f4c7742118375e96d3f876be34e449a5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.2","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/5ef4adf964ad0da0b45e876f8b2ea4b4177bd774","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/acea17f0f4c7742118375e96d3f876be34e449a5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99970","url":"https://www.cve.org/CVERecord?id=CVE-2026-99970","licence":"CVE Terms of Use","modified":"2026-11-30T13:18:45.169Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99970","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99970","licence":"Public domain","modified":"2026-11-30T14:20:37.847Z"}],"updatedAt":"2026-11-30T14:33:45.944Z","epss":{"score":0.00286,"percentile":0.22769,"date":"2026-12-01T12:00:22.000Z"}}