{"id":"CVE-2026-142830","summary":"ntfs: do not use a stale runlist pointer when undoing $MFT extension","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: do not use a stale runlist pointer when undoing $MFT extension\n\nWhen ntfs_mft_data_extend_allocation_nolock() fails after it has\nrebuilt the mapping pairs of the last $MFT data extent, undo_alloc\ntruncates the runlist and then rebuilds the old mapping pairs from rl2,\na pointer into the runlist taken before the truncation.\nntfs_rl_truncate_nolock() can reallocate the runlist, and KASAN then\nreports a use-after-free in ntfs_mapping_pairs_build().\n\nPass the start of the runlist instead, and hold the runlist lock for\nreading while the mapping pairs are built from it.\nntfs_mapping_pairs_build() skips to the element containing the first\nvcn by itself.","modified":"2026-12-03T05:00:38.177023844Z","published":"2026-12-03T03:20:46.592Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142830.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/258239e79b842e5246fb7f50758d9d15430f4102"},{"type":"WEB","url":"https://git.kernel.org/stable/c/387a7e579d841ff45b3010edc91d8bc043f0ffd5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142830.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142830"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1e9ea7e04472d4e5e12e58c881eaacfb3e49b669"},{"fixed":"387a7e579d841ff45b3010edc91d8bc043f0ffd5"},{"fixed":"258239e79b842e5246fb7f50758d9d15430f4102"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142830.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.1.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142830.json"}}],"schema_version":"1.9.2"}