{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "867b9c96dc837e09ef125a79dc151fa2fc7a5d32"
            },
            {
              "fixed": "5ef4adf964ad0da0b45e876f8b2ea4b4177bd774"
            },
            {
              "fixed": "acea17f0f4c7742118375e96d3f876be34e449a5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "7.2.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99970.json"
  },
  "details": "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!",
  "id": "CVE-2026-99970",
  "modified": "2026-12-01T20:45:55.339741606Z",
  "published": "2026-11-30T13:18:45.169Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5ef4adf964ad0da0b45e876f8b2ea4b4177bd774"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/acea17f0f4c7742118375e96d3f876be34e449a5"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99970.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99970"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "exfat: drain in-flight DIO before buffered writes"
}