CVE-2026-142892
ntfs3: release ni_lock before dir_emit in ntfs_readdir to fix deadlocks
AI summary AI generated
An attacker with local access can trigger lock-order inversion deadlocks in the Linux kernel's ntfs3 filesystem driver during directory reads, by page faults while holding a lock in ntfs_readdir.
Mitigation
- Upgrade Linux to 7a5aa6c45072b54c8d97c5d54bbdf18aabf0ee6d or later.
Who should check
- Anyone running Linux >= d62cf685d12e95cc0a4122c43cd9f0eb8bba0b4c, < 7298c7d60108c72400f4cdd028ae481265cd080a; >= d62cf685d12e95cc0a4122c43cd9f0eb8bba0b4c, < 7a5aa6c45072b54c8d97c5d54bbdf18aabf0ee6d
- Anyone running Linux 7.2
Vulnerability facts
- Affected
- Linux >= d62cf685d12e95cc0a4122c43cd9f0eb8bba0b4c, < 7298c7d60108c72400f4cdd028ae481265cd080a; >= d62cf685d12e95cc0a4122c43cd9f0eb8bba0b4c, < 7a5aa6c45072b54c8d97c5d54bbdf18aabf0ee6d; Linux 7.2
- Fixed in
- Linux 7298c7d60108c72400f4cdd028ae481265cd080a, Linux 7a5aa6c45072b54c8d97c5d54bbdf18aabf0ee6d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ntfs3: release ni_lock before dir_emit in ntfs_readdir to fix deadlocks ntfs_readdir() holds ni_lock while calling ntfs_read_hdr(), which calls dir_emit() to copy directory entries to userspace. If the user buffer triggers a page fault, the fault handler may need mmap_lock or mapping->invalidate_lock, creating lock-order inversions with paths that acquire those locks before ni_lock (e.g. ntfs_fallocate, mmap). Fix by releasing ni_lock before calling ntfs_read_hdr(): - For non-root index nodes, indx_read_ra() returns data in a kmalloc'd buffer (node->index) that remains valid after ni_unlock. - For the root index header, the data lives in the main MFT record whose lifetime is bound to the inode. i_rwsem shared prevents concurrent directory modifications, so it is safe to access after ni_unlock.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-142892. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-142892.md Affected: Linux >= d62cf685d12e95cc0a4122c43cd9f0eb8bba0b4c, < 7298c7d60108c72400f4cdd028ae481265cd080a; >= d62cf685d12e95cc0a4122c43cd9f0eb8bba0b4c, < 7a5aa6c45072b54c8d97c5d54bbdf18aabf0ee6d; Linux 7.2 Fixed in: Linux 7298c7d60108c72400f4cdd028ae481265cd080a, Linux 7a5aa6c45072b54c8d97c5d54bbdf18aabf0ee6d Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
FAQ
Is CVE-2026-142892 being exploited?
There is no confirmed exploitation: CVE-2026-142892 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-142892?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-142892?
Linux >= d62cf685d12e95cc0a4122c43cd9f0eb8bba0b4c, < 7298c7d60108c72400f4cdd028ae481265cd080a; >= d62cf685d12e95cc0a4122c43cd9f0eb8bba0b4c, < 7a5aa6c45072b54c8d97c5d54bbdf18aabf0ee6d; Linux 7.2.
Is there a fix for CVE-2026-142892?
Yes. Fixed in Linux 7298c7d60108c72400f4cdd028ae481265cd080a, Linux 7a5aa6c45072b54c8d97c5d54bbdf18aabf0ee6d. Upgrade Linux to 7a5aa6c45072b54c8d97c5d54bbdf18aabf0ee6d or later.
How do I check if I'm affected by CVE-2026-142892?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| UNSCORED | CVE-2026-142948 i2c: designware: queue only one read command for block reads | Linux kernel | ||
| UNSCORED | CVE-2026-142947 cxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails | Linux kernel | ||
| UNSCORED | CVE-2026-142946 ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device() | Linux kernel | ||
| UNSCORED | CVE-2026-142945 ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device() | Linux kernel | ||
| UNSCORED | CVE-2026-142944 ASoC: amd: acp-es8336: Use an owned codec device reference | Linux kernel |