{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "115380f9a2f9675c7924563cbba70d40cae8fb81"
            },
            {
              "fixed": "5d7f7bf8fba8cf563b42b44aa4ab3d9928ac480c"
            },
            {
              "fixed": "cf06dcd572845723821b54a608fc2da995c3c8e2"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "7.1.0"
            },
            {
              "fixed": "7.2.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98140.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: fix kmap_local leak in write_mft_record_nolock() error paths\n\nwrite_mft_record_nolock() maps the MFT record folio with\nkmap_local_folio(), but the pre_write_mst_fixup() and\nbio_add_folio() failure paths jump to the error label without\nunmapping it. kmap_local mappings are stack-ordered per task, so\nleaking one corrupts the nesting for any outer mapping.\n\nUnmap the folio on those error paths too.",
  "id": "CVE-2026-98140",
  "modified": "2026-09-27T03:30:43.282854602Z",
  "published": "2026-09-25T10:36:16.580Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5d7f7bf8fba8cf563b42b44aa4ab3d9928ac480c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cf06dcd572845723821b54a608fc2da995c3c8e2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98140.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98140"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "ntfs: fix kmap_local leak in write_mft_record_nolock() error paths"
}