Skip to main content

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()… (CVE-2026-98982)

0
Medium
Published: 10/23/2026 (10/23/2026, 15:31:33 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel related to namespace handling has been resolved. The issue involves pseudo dentries, which are special directory entries for pipes, sockets, and other files that are not part of the normal filesystem hierarchy. These pseudo dentries should not become the root of a mount, but bind mounting /proc/self/fd/<fd> can cause this to happen. This leads to a race condition where a dentry can be freed while still being accessed, potentially causing instability. The fix prevents cloning a mount whose root is a pseudo dentry with the DCACHE_NORCU flag.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/23/2026, 18:58:19 UTC

Technical Analysis

The vulnerability in the Linux kernel concerns the handling of pseudo dentries created by d_alloc_pseudo(), which are used for files like pipes and sockets that do not have parent or child dentries. Normally, these dentries carry the DCACHE_NORCU flag and are freed immediately by dentry_free() because they cannot be reached by lockless path walks. However, bind mounting /proc/self/fd/<fd> of such a file can make a pseudo dentry the root of a mount, violating this assumption. This leads to a race condition during mount cloning and unmounting where the root dentry can be freed while still being referenced, causing potential use-after-free scenarios. The vulnerability is specifically triggered by bpf_token_create(), which places token files on a bpffs mount in the caller's mount namespace, allowing the problematic mount cloning sequence. The patch refuses to clone mounts with a DCACHE_NORCU dentry as root, mitigating the issue.

Potential Impact

The vulnerability can cause kernel instability or crashes due to use-after-free conditions when pseudo dentries become the root of a mount and are freed while still being accessed. This could potentially be exploited to cause denial of service or other unintended kernel behavior. However, no known exploits in the wild have been reported.

Mitigation Recommendations

A fix has been implemented in the Linux kernel that refuses to clone mounts whose root is a pseudo dentry with the DCACHE_NORCU flag. Users should update to a kernel version that includes this patch once available. Patch status is not explicitly confirmed in the provided data; check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-2rh7-4ph4-xmm5
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98982"]

Threat ID: 6adbaacfd73cc49347b20579

Added to database: 10/23/2026, 18:43:27 UTC

Last enriched: 10/23/2026, 18:58:19 UTC

Last updated: 10/23/2026, 22:25:14 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses