CVE-2026-143402
erofs: hold real inodes for shared files
AI summary AI generated
A flaw in the Linux kernel EROFS filesystem can cause a page fault on a shared inode to fail because the real inode may be evicted while a memory mapping still references it.
Mitigation
- Upgrade Linux to 7259fb011c14977661b7a4680886b466a3089ea7 or later.
Who should check
- Anyone running Linux >= 5ef3208e3be50aa08b4e7a2832f34e16d42c08b3, < 6d522543220915cbe36948730d006c88d993fa45; >= 5ef3208e3be50aa08b4e7a2832f34e16d42c08b3, < 7259fb011c14977661b7a4680886b466a3089ea7
- Anyone running Linux 7.0
Vulnerability facts
- Affected
- Linux >= 5ef3208e3be50aa08b4e7a2832f34e16d42c08b3, < 6d522543220915cbe36948730d006c88d993fa45; >= 5ef3208e3be50aa08b4e7a2832f34e16d42c08b3, < 7259fb011c14977661b7a4680886b466a3089ea7; Linux 7.0
- Fixed in
- Linux 6d522543220915cbe36948730d006c88d993fa45, Linux 7259fb011c14977661b7a4680886b466a3089ea7
- 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: erofs: hold real inodes for shared files EROFS page cache sharing uses shared inodes. However, a mmaped VMA keeps the shared file even after the corresponding fd is closed, while currently the real inode is never held by any reference associated with the shared file. As a result, the real inode could be evicted and removed from the shared inode's list while the page fault can still invoke on the shared inode's address space, which causes no candidate is successfully acquired by erofs_real_inode(). Fix this by simply keeping the original inode in the shared backing file's private data. Also replace confusing "realfile"/"rf" names with "sf" (sharedfile) to unify the terms as well as nullify realinode in erofs_real_inode() to avoid returning an uninitialized pointer.
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-143402. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-143402.md Affected: Linux >= 5ef3208e3be50aa08b4e7a2832f34e16d42c08b3, < 6d522543220915cbe36948730d006c88d993fa45; >= 5ef3208e3be50aa08b4e7a2832f34e16d42c08b3, < 7259fb011c14977661b7a4680886b466a3089ea7; Linux 7.0 Fixed in: Linux 6d522543220915cbe36948730d006c88d993fa45, Linux 7259fb011c14977661b7a4680886b466a3089ea7 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-143402 being exploited?
There is no confirmed exploitation: CVE-2026-143402 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-143402?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-143402?
Linux >= 5ef3208e3be50aa08b4e7a2832f34e16d42c08b3, < 6d522543220915cbe36948730d006c88d993fa45; >= 5ef3208e3be50aa08b4e7a2832f34e16d42c08b3, < 7259fb011c14977661b7a4680886b466a3089ea7; Linux 7.0.
Is there a fix for CVE-2026-143402?
Yes. Fixed in Linux 6d522543220915cbe36948730d006c88d993fa45, Linux 7259fb011c14977661b7a4680886b466a3089ea7. Upgrade Linux to 7259fb011c14977661b7a4680886b466a3089ea7 or later.
How do I check if I'm affected by CVE-2026-143402?
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-143465 arm64: dts: mediatek: mt8188-geralt: Enlarge SCP core0 memory region | Linux kernel | ||
| UNSCORED | CVE-2026-143464 arm64: dts: ti: k3-am62d2-evm: Fix wkup R5F memory region size | Linux kernel | ||
| UNSCORED | CVE-2026-143463 arm64: dts: ti: k3-am62a7-sk: Fix wkup R5F memory region size | Linux kernel | ||
| UNSCORED | CVE-2026-143462 arm64: dts: ti: k3-am62p5-sk: Fix wkup R5F memory region size | Linux kernel | ||
| UNSCORED | CVE-2026-143461 net: fix frag_list leak in skb_segment_list() error path | Linux kernel |