CVE-2026-98982·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: namespace: don't let a pseudo dentry become the root of a mount d_alloc_pseudo() hands out dentries for pipes, sockets and other files that are never anyone's child or parent. They carry DCACHE_NORCU and dentry_free() frees them right away because no lockless path walk can ever reach them. That holds as long as such a dentry isn't the root of a mount. But bind mounting /proc/self/fd/<fd> of such a file does exactly that. Most callers of alloc_file_pseudo() put their files on kernel-internal mounts and may_copy_tree() refuses those. bpf_token_create() doesn't. It places the token file on the bpffs mount the caller handed it and that mount is in the caller's mount namespace so the clone goes through: mount --bind /proc/self/fd/<token> <file> open_tree(tokfd, "", AT_EMPTY_PATH | OPEN_TREE_CLONE) + move_mount() __follow_mount_rcu() then loads ->mnt_root of that mount, reads d_seq and d_flags of the dentry and only then checks mount_lock. The dentry can be gone by then. The final mntput() of an unmounted parent unhooks a child that stayed attached to it under mount_lock alone. When the child's holder does the final put right after that the root is dput() and freed immediately while a walker that found the mount hashed still looks at it. Refuse to clone a mount with a DCACHE_NORCU dentry as its root. Nothing sensible can be done with a bind mount of a bpf token anyway.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.12.113, 6.18.57, 7.2.11, 7.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.21% — higher than 11% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-98982 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.21%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
How to fix this CVE
Update your Linux kernel to version 6.12.113, 6.18.57, 7.2.11, or later depending on your current stable branch to resolve this mount namespace vulnerability. If you are running a distribution kernel, check for a patched kernel package from your vendor that addresses this issue. The vulnerability allows unprivileged users to manipulate mount operations involving pseudo dentries, potentially causing kernel crashes or memory corruption.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your kernel version: uname -r
- Compare against fixed versions: if your kernel is earlier than 6.12.113, 6.18.57, or 7.2.11 on their respective branches, you are vulnerable
- Verify the bpffs mount is present and accessible to unprivileged users: mount | grep bpffs
- After applying the kernel update, reboot and confirm: uname -r shows the new patched version
FAQ
What is CVE-2026-98982?
A Linux kernel vulnerability in the namespace subsystem where pseudo dentries (used for pipes, sockets, and BPF tokens) can be incorrectly used as mount roots, leading to use-after-free conditions and potential kernel crashes when an unprivileged user performs bind mount operations on specially crafted file descriptors.
Is CVE-2026-98982 being actively exploited?
No, this vulnerability is not currently listed on the CISA KEV catalog and no public exploits are available, though the high CVSS score (7.8) reflects the severity if exploited.
What versions of Kernel are affected by CVE-2026-98982?
Linux kernel versions prior to 6.12.113 (6.12.x branch), prior to 6.18.57 (6.18.x branch), prior to 7.2.11 (7.2.x branch), and all versions before 7.3 mainline.
How do I check if my server is vulnerable to CVE-2026-98982?
Run 'uname -r' to get your kernel version and compare it against the fixed versions listed above. If your kernel version number is lower than the patched release for your branch, you are vulnerable.
Does Defensia detect CVE-2026-98982?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-98982 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98982. Free for 1 server.
Get started free