Skip to content
Heist/ feed
Unrated

ntfs: fix kmap_local leak in write_mft_record_nolock() error paths

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: ntfs: fix kmap_local leak in write_mft_record_nolock() error paths write_mft_record_nolock() maps the MFT record folio with kmap_local_folio(), but the pre_write_mst_fixup() and bio_add_folio() failure paths jump to the error label without unmapping it. kmap_local mappings are stack-ordered per task, so leaking one corrupts the nesting for any outer mapping. Unmap the folio on those error paths too.

Announced Source revision 1
Original source ↗

CVE-2026-98140

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-98140

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "115380f9a2f9675c7924563cbba70d40cae8fb81",
        "lessThan": "5d7f7bf8fba8cf563b42b44aa4ab3d9928ac480c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "115380f9a2f9675c7924563cbba70d40cae8fb81",
        "lessThan": "cf06dcd572845723821b54a608fc2da995c3c8e2",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/ntfs/mft.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "7.1"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "7.1",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "7.2.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/ntfs/mft.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98140

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#38233 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement