CVE-2026-142830

Source
https://cve.org/CVERecord?id=CVE-2026-142830
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142830.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142830
Published
2026-12-03T03:20:46Z
Modified
2026-12-03T05:00:38Z
Summary
ntfs: do not use a stale runlist pointer when undoing $MFT extension
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142830.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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"

Linux / Kernel

Package

Name
Kernel

Affected 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"