CVE-2026-142830
Description
In the Linux kernel, the following vulnerability has been resolved:
ntfs: do not use a stale runlist pointer when undoing $MFT extension
When ntfs_mft_data_extend_allocation_nolock() fails after it has rebuilt the mapping pairs of the last $MFT data extent, undo_alloc truncates the runlist and then rebuilds the old mapping pairs from rl2, a pointer into the runlist taken before the truncation. ntfs_rl_truncate_nolock() can reallocate the runlist, and KASAN then reports a use-after-free in ntfs_mapping_pairs_build().
Pass the start of the runlist instead, and hold the runlist lock for reading while the mapping pairs are built from it. ntfs_mapping_pairs_build() skips to the element containing the first vcn by itself.
Affected products
1Patches
Vulnerability mechanics
References
2News mentions
0No linked articles in our index yet.