{"id":"CVE-2026-98140","revision":"3599fb76072642e6b3bab475e6baceed","records":[{"revision":"3599fb76072642e6b3bab475e6baceed","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-98140","aliases":[],"title":"ntfs: fix kmap_local leak in write_mft_record_nolock() error paths","description":"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.","state":0,"publishedAt":"2026-09-25T10:36:16.58+00:00","modifiedAt":"2026-10-19T09:14:33.821+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/ntfs/mft.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"115380f9a2f9675c7924563cbba70d40cae8fb81\",\n                            \"lessThan\": \"5d7f7bf8fba8cf563b42b44aa4ab3d9928ac480c\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"115380f9a2f9675c7924563cbba70d40cae8fb81\",\n                            \"lessThan\": \"cf06dcd572845723821b54a608fc2da995c3c8e2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/ntfs/mft.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"7.1\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"7.1\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.7\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/5d7f7bf8fba8cf563b42b44aa4ab3d9928ac480c","https://git.kernel.org/stable/c/cf06dcd572845723821b54a608fc2da995c3c8e2"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98140","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98140","identifiers":["CVE-2026-98140"]},"retained":false,"historicalAffected":[]}],"coverage":[]}