kernel: ntfs: fix kmap_local leak in write_mft_record_nolock() error paths

cve CVE-2026-98140 3 sources, 4 claims · Watch

Red Hat writes:
kernel: ntfs: fix kmap_local leak in write_mft_record_nolock() error paths the claim
Severity they disagree
unknown GitHub advisories
moderate Red Hat
CVSS
5.5 Red Hat
Vendor
Linux NVD
Product
Linux NVD
CWE
CWE-772 Red Hat

How far exploitation has got

  1. No public code known
  2. Proof of concept
  3. Proof of concept, verified
  4. A Metasploit module
  5. Exploited in the wild
  6. Used in ransomware campaigns

Timeline

2026-09-25first spoke of it: In the Linux kernel, the following vulnerability has been resolved: ntfs: fix kmap_local leak in...GitHub advisories
2026-09-25first spoke of it: 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.NVD
2026-09-25first spoke of it: kernel: ntfs: fix kmap_local leak in write_mft_record_nolock() error pathsRed Hat

What it is to other things

In words only, so not counted until a person confirms one:

affectslinux/linux
NVD says “Linux · Linux”
made_bylinux
NVD says “Linux”
Every value, with what each source said and its receipt
PropertySourceSaidMeans here
CVSS
cvss
Red Hat5.5
receipt
Source
Red Hat
Its words
5.5
Read by
field:cvss3_score
Said since
2026-10-06 13:01 UTC
Last answered
2026-10-06 13:02 UTC
Original
open at the source
What the source handed over
{
  "CVE": "CVE-2026-98140",
  "CWE": "CWE-772",
  "advisories": [],
  "affected_packages": [],
  "bugzilla": "2541371",
  "bugzilla_description": "kernel: ntfs: fix kmap_local leak in write_mft_record_nolock() error paths",
  "cvss3_score": "5.5",
  "cvss3_scoring_vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "cvss_score": null,
  "cvss_scoring_vector": null,
  "package_state": null,
  "public_date": "2026-09-25T00:00:00Z",
  "resource_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-98140.json",
  "severity": "moderate"
}
—
CVSS vector
cvss_vector
Red HatCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
receipt
Source
Red Hat
Its words
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Read by
field:cvss3_scoring_vector
Said since
2026-10-06 13:01 UTC
Last answered
2026-10-06 13:02 UTC
Original
open at the source
What the source handed over
{
  "CVE": "CVE-2026-98140",
  "CWE": "CWE-772",
  "advisories": [],
  "affected_packages": [],
  "bugzilla": "2541371",
  "bugzilla_description": "kernel: ntfs: fix kmap_local leak in write_mft_record_nolock() error paths",
  "cvss3_score": "5.5",
  "cvss3_scoring_vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "cvss_score": null,
  "cvss_scoring_vector": null,
  "package_state": null,
  "public_date": "2026-09-25T00:00:00Z",
  "resource_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-98140.json",
  "severity": "moderate"
}
—
CWE
cwe
Red HatCWE-772
receipt
Source
Red Hat
Its words
CWE-772
Read by
field:CWE
Said since
2026-10-06 13:01 UTC
Last answered
2026-10-06 13:02 UTC
Original
open at the source
What the source handed over
{
  "CVE": "CVE-2026-98140",
  "CWE": "CWE-772",
  "advisories": [],
  "affected_packages": [],
  "bugzilla": "2541371",
  "bugzilla_description": "kernel: ntfs: fix kmap_local leak in write_mft_record_nolock() error paths",
  "cvss3_score": "5.5",
  "cvss3_scoring_vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "cvss_score": null,
  "cvss_scoring_vector": null,
  "package_state": null,
  "public_date": "2026-09-25T00:00:00Z",
  "resource_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-98140.json",
  "severity": "moderate"
}
—
Product
product
NVDLinux
receipt
Source
NVD
Its words
Linux
Read by
field:cve.affected[].affectedData[].product
Said since
2026-09-29 17:49 UTC
Last answered
2026-10-06 12:41 UTC
Original
open at the source
2026-09-29 17:49 UTCLinux
2026-09-29 09:45 UTC—
What the source handed over
{
  "cve": {
    "affected": [
      {
        "affectedData": [
          {
            "defaultStatus": "unaffected",
            "product": "Linux",
            "programFiles": [
              "fs/ntfs/mft.c"
            ],
            "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
            "vendor": "Linux",
            "versions": [
              {
                "lessThan": "5d7f7bf8fba8cf563b42b44aa4ab3d9928ac480c",
                "status": "affected",
                "version": "115380f9a2f9675c7924563cbba70d40cae8fb81",
                "versionType": "git"
              },
              {
                "lessThan": "cf06dcd572845723821b54a608fc2da995c3c8e2",
                "status": "affected",
                "version": "115380f9a2f9675c7924563cbba70d40cae8fb81",
                "versionType": "git"
              }
            ]
          },
          {
            "defaultStatus": "affected",
            "product": "Linux",
            "programFiles": [
              "fs/ntfs/mft.c"
            ],
            "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
            "vendor": "Linux",
            "versions": [
              {
                "status": "affected",
                "version": "7.1"
              },
              {
                "lessThan": "7.1",
                "status": "unaffected",
                "version": "0",
                "versionType": "semver"
              },
              {
                "lessThanOrEqual": "7.2.*",
                "status": "unaffected",
                "version": "7.2.7",
                "versionType": "semver"
              },
              {
                "lessThanOrEqual": "*",
                "status": "unaffected",
                "version": "7.3-rc2",
                "versionType": "original_commit_for_fix"
              }
            ]
          }
        ],
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
      }
    ],
    "cveTags": [],
    "descriptions": [
      {
        "lang": "en",
        "value": "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",
    "lastModified": "2026-09-30T14:10:59.253",
    "metrics": {},
    "published": "2026-09-25T11:17:45.497",
    "references": [
      {
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "url": "https://git.kernel.org/stable/c/5d7f7bf8fba8cf563b42b44aa4ab3d9928ac480c"
      },
      {
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "url": "https://git.kernel.org/stable/c/cf06dcd572845723821b54a608fc2da995c3c8e2"
      }
    ],
    "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "vulnStatus": "Undergoing Analysis"
  }
}
—
Severity
severity
conflict
GitHub advisoriesunknown
receipt
Source
GitHub advisories
Said since
2026-09-26 15:00 UTC
Last answered
2026-10-06 13:46 UTC
Original
open at the source

This source has not kept a receipt for this claim yet. The next update that reads it will.

—
Severity
severity
conflict
Red Hatmoderate
A flaw that is harder to exploit, or whose impact is limited.
receipt
Source
Red Hat
Its words
moderate
Read by
field:severity
Said since
2026-10-06 13:01 UTC
Last answered
2026-10-06 13:02 UTC
Original
open at the source
What the source handed over
{
  "CVE": "CVE-2026-98140",
  "CWE": "CWE-772",
  "advisories": [],
  "affected_packages": [],
  "bugzilla": "2541371",
  "bugzilla_description": "kernel: ntfs: fix kmap_local leak in write_mft_record_nolock() error paths",
  "cvss3_score": "5.5",
  "cvss3_scoring_vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "cvss_score": null,
  "cvss_scoring_vector": null,
  "package_state": null,
  "public_date": "2026-09-25T00:00:00Z",
  "resource_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-98140.json",
  "severity": "moderate"
}
medium
Status
status
NVDUndergoing Analysis
receipt
Source
NVD
Its words
Undergoing Analysis
Read by
field:cve.vulnStatus
Said since
2026-10-06 11:32 UTC
Last answered
2026-10-06 12:41 UTC
Original
open at the source
2026-10-06 11:32 UTCUndergoing Analysis
2026-10-02 12:00 UTCAwaiting Analysis
2026-09-29 09:45 UTCReceived
What the source handed over
{
  "cve": {
    "affected": [
      {
        "affectedData": [
          {
            "defaultStatus": "unaffected",
            "product": "Linux",
            "programFiles": [
              "fs/ntfs/mft.c"
            ],
            "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
            "vendor": "Linux",
            "versions": [
              {
                "lessThan": "5d7f7bf8fba8cf563b42b44aa4ab3d9928ac480c",
                "status": "affected",
                "version": "115380f9a2f9675c7924563cbba70d40cae8fb81",
                "versionType": "git"
              },
              {
                "lessThan": "cf06dcd572845723821b54a608fc2da995c3c8e2",
                "status": "affected",
                "version": "115380f9a2f9675c7924563cbba70d40cae8fb81",
                "versionType": "git"
              }
            ]
          },
          {
            "defaultStatus": "affected",
            "product": "Linux",
            "programFiles": [
              "fs/ntfs/mft.c"
            ],
            "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
            "vendor": "Linux",
            "versions": [
              {
                "status": "affected",
                "version": "7.1"
              },
              {
                "lessThan": "7.1",
                "status": "unaffected",
                "version": "0",
                "versionType": "semver"
              },
              {
                "lessThanOrEqual": "7.2.*",
                "status": "unaffected",
                "version": "7.2.7",
                "versionType": "semver"
              },
              {
                "lessThanOrEqual": "*",
                "status": "unaffected",
                "version": "7.3-rc2",
                "versionType": "original_commit_for_fix"
              }
            ]
          }
        ],
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
      }
    ],
    "cveTags": [],
    "descriptions": [
      {
        "lang": "en",
        "value": "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",
    "lastModified": "2026-09-30T14:10:59.253",
    "metrics": {},
    "published": "2026-09-25T11:17:45.497",
    "references": [
      {
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "url": "https://git.kernel.org/stable/c/5d7f7bf8fba8cf563b42b44aa4ab3d9928ac480c"
      },
      {
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "url": "https://git.kernel.org/stable/c/cf06dcd572845723821b54a608fc2da995c3c8e2"
      }
    ],
    "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "vulnStatus": "Undergoing Analysis"
  }
}
—
Vendor
vendor
NVDLinux
receipt
Source
NVD
Its words
Linux
Read by
field:cve.affected[].affectedData[].vendor
Said since
2026-09-29 17:49 UTC
Last answered
2026-10-06 12:41 UTC
Original
open at the source
2026-09-29 17:49 UTCLinux
2026-09-29 09:45 UTC—
What the source handed over
{
  "cve": {
    "affected": [
      {
        "affectedData": [
          {
            "defaultStatus": "unaffected",
            "product": "Linux",
            "programFiles": [
              "fs/ntfs/mft.c"
            ],
            "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
            "vendor": "Linux",
            "versions": [
              {
                "lessThan": "5d7f7bf8fba8cf563b42b44aa4ab3d9928ac480c",
                "status": "affected",
                "version": "115380f9a2f9675c7924563cbba70d40cae8fb81",
                "versionType": "git"
              },
              {
                "lessThan": "cf06dcd572845723821b54a608fc2da995c3c8e2",
                "status": "affected",
                "version": "115380f9a2f9675c7924563cbba70d40cae8fb81",
                "versionType": "git"
              }
            ]
          },
          {
            "defaultStatus": "affected",
            "product": "Linux",
            "programFiles": [
              "fs/ntfs/mft.c"
            ],
            "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
            "vendor": "Linux",
            "versions": [
              {
                "status": "affected",
                "version": "7.1"
              },
              {
                "lessThan": "7.1",
                "status": "unaffected",
                "version": "0",
                "versionType": "semver"
              },
              {
                "lessThanOrEqual": "7.2.*",
                "status": "unaffected",
                "version": "7.2.7",
                "versionType": "semver"
              },
              {
                "lessThanOrEqual": "*",
                "status": "unaffected",
                "version": "7.3-rc2",
                "versionType": "original_commit_for_fix"
              }
            ]
          }
        ],
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
      }
    ],
    "cveTags": [],
    "descriptions": [
      {
        "lang": "en",
        "value": "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",
    "lastModified": "2026-09-30T14:10:59.253",
    "metrics": {},
    "published": "2026-09-25T11:17:45.497",
    "references": [
      {
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "url": "https://git.kernel.org/stable/c/5d7f7bf8fba8cf563b42b44aa4ab3d9928ac480c"
      },
      {
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "url": "https://git.kernel.org/stable/c/cf06dcd572845723821b54a608fc2da995c3c8e2"
      }
    ],
    "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "vulnStatus": "Undergoing Analysis"
  }
}
—
Every claim, by kind

vulnerability

kernel: ntfs: fix kmap_local leak in write_mft_record_nolock() error paths
zetlyn/cve-redhat · 2026-09-25
cvss 5.5 cvss_vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H cwe CWE-772 severity moderate source
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.
zetlyn/cve-nvd · 2026-09-25
product Linux status Undergoing Analysis vendor Linux source
In the Linux kernel, the following vulnerability has been resolved: ntfs: fix kmap_local leak in...
zetlyn/cve-ghsa · 2026-09-25
severity unknown source
In the Linux kernel, the following vulnerability has been resolved: ntfs: fix kmap_local leak in...
zetlyn/cve-ghsa · 2026-09-25
severity unknown source