Linux kernel use-after-free in NTFS runlist during $MFT extension undo
- Exploited
- No known exploitation
- Fix
- Vendor patch: 258239e79b842e5246fb7f50758d9d15430f4102, 387a7e579d841ff45b3010edc91d8bc043f0ffd5
- Who is exposed
- Specific setups only
Summary
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.
Who should check
Teams running Linux kernels with the NTFS driver in fs/ntfs (classic NTFS, restored by commit 1e9ea7e04472) that mount NTFS volumes read-write.
“Fixes: 1e9ea7e04472”
What to do
Check whether your setup matches what the bug needs.
NTFS driver in the Linux kernel (fs/ntfs); the bug is reached when $MFT must be extended. A later step must fail after the $MFT mapping pairs have been rebuilt, which triggers the undo path.Apply the vendor's patch: 258239e79b842e5246fb7f50758d9d15430f4102, 387a7e579d841ff45b3010edc91d8bc043f0ffd5.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-142830 (ntfs: do not use a stale runlist pointer when undoing $MFT extension), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-142830 (entry last updated 2026-12-04):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 7.1
Vendor patches: 258239e79b842e5246fb7f50758d9d15430f4102, 387a7e579d841ff45b3010edc91d8bc043f0ffd5 (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=258239e79b842e5246fb7f50758d9d15430f4102). Check each asset for these patch ids, not only its version.
Conditions (all must be true for the bug to be hit):
- NTFS driver in the Linux kernel (fs/ntfs); the bug is reached when $MFT must be extended. (source: https://www.cve.org/CVERecord?id=CVE-2026-142830)
- A later step must fail after the $MFT mapping pairs have been rebuilt, which triggers the undo path. (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=258239e79b842e5246fb7f50758d9d15430f4102)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, low-privilege login, no user action.
CISA KEV: CVE-2026-142830 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-142830 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/387a7e579d841ff45b3010edc91d8bc043f0ffd5
- https://git.kernel.org/stable/c/258239e79b842e5246fb7f50758d9d15430f4102
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=258239e79b842e5246fb7f50758d9d15430f4102
- https://www.cve.org/CVERecord?id=CVE-2026-142830
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-142830
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-142830"}.Affected versions
- Linux LinuxVersion range not reported
- Linux Linux7.1
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure5/25Specific setups only
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity7/10CVSS 7.0
- No patch0/5No signal
What would change the score
- Would score about 82 if added to CISA KEV
- Would score about 77 if CISA's SSVC rates exploitation active
- Would score about 42 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now1 day
- Record last updated
- Posted on X by cve.now
Evidence 4
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-142830 |
| Record | NVD · CVE-2026-142830 |
| Other links 2 | |
| Link | git.kernel.org · stable/c/387a7e579d841ff45b3010edc91d8bc043f0ffd5 |
| Link | git.kernel.org · stable/c/258239e79b842e5246fb7f50758d9d15430f4102 |
Questions about CVE-2026-142830
Is CVE-2026-142830 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
When extending $MFT fails after its mapping pairs have been rebuilt, the undo path reuses a runlist pointer that has already been freed. This can disclose kernel memory from the freed runlist and may allow writes of attacker-chosen clusters into the $MFT mapping pairs.
Source: cve.org, git.kernel.org
Which versions are affected by CVE-2026-142830?
Linux: version 7.1.
Source: cve.now feed data
Am I affected, and how do I check?
The issue is in the NTFS driver in the Linux kernel (fs/ntfs) and is reached only when $MFT must be extended and a later step fails after the mapping pairs are rebuilt. Affected kernel versions are not named in the advisory, so check whether your kernel source contains the fs/ntfs code and whether the fix patches are present.
Source: cve.org, git.kernel.org
How do I fix CVE-2026-142830?
Apply the kernel patches 258239e79b842e5246fb7f50758d9d15430f4102 and 387a7e579d841ff45b3010edc91d8bc043f0ffd5, since no fixed version is named.
Source: cve.org, git.kernel.org
Related
- CVE-2026-143401net: virtio: validate outer protocol of UDP tunnel GSO packets
- CVE-2026-143400virtio_net: check RX buffer length before DMA sync
- CVE-2026-143399udf: validate vat20->lengthHeader and VAT inode size in udf_load_vat()
- CVE-2026-143398Input: destroy force-feedback device on input unregistration
- CVE-2026-1433979p: use fc->net_ns for network namespace in RDMA and socket transports
- CVE-2026-143396net/9p/usbg: fix descriptor cleanup use-after-free
No corrections so far. Something wrong on this page? Report an error.