CVE-2026-143402
erofs: hold real inodes for shared files
- Severity
- unscored
- Affects
- Linux
- Published
- 5 December 2026 by Linux
- First seen on our lists
- 5 December 2026
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.