{"id":"CVE-2026-98140","aliases":["CVE-2026-98140"],"related":[],"kind":"vulnerability","state":"published","title":"ntfs: fix kmap_local leak in write_mft_record_nolock() error paths","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-25T10:36:16.580Z","modified":"2026-10-26T18:36:28.473Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"115380f9a2f9675c7924563cbba70d40cae8fb81","fixed":"5d7f7bf8fba8cf563b42b44aa4ab3d9928ac480c","status":"affected"},{"type":"git","introduced":"115380f9a2f9675c7924563cbba70d40cae8fb81","fixed":"cf06dcd572845723821b54a608fc2da995c3c8e2","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"7.1","fixed":"7.2.7"},{"status":"affected","version":"7.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/5d7f7bf8fba8cf563b42b44aa4ab3d9928ac480c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cf06dcd572845723821b54a608fc2da995c3c8e2","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98140","url":"https://www.cve.org/CVERecord?id=CVE-2026-98140","licence":"CVE Terms of Use","modified":"2026-10-19T09:14:33.821Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98140","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98140","licence":"Public domain","modified":"2026-10-26T18:36:28.473Z"}],"updatedAt":"2026-11-25T22:59:41.077Z","epss":{"score":0.00143,"percentile":0.01848,"date":"2026-11-30T12:00:22.000Z"}}