Skip to main content

In the Linux kernel, the following vulnerability has been resolved: namei: don't reveal overmounted entries in refwalk In rcuwalk the dentry is… (CVE-2026-98980)

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

Description

A vulnerability in the Linux kernel's namei component allowed refwalk operations to reveal overmounted entries due to a race condition when a mountpoint was unlinked. This could cause a refwalk to expose underlying filesystem entries that should have been hidden. The issue was addressed by adding checks to detect dentries marked as unlinked during refwalk traversal, preventing exposure of detached mounts.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/23/2026, 18:57:05 UTC

Technical Analysis

The vulnerability in the Linux kernel involved the refwalk mechanism in the namei path resolution code. While rcuwalk validates dentries to avoid revealing overmounted entries, refwalk did not perform the same checks, allowing a narrow race condition where an unlink operation on a mountpoint could cause refwalk to reveal the underlying entry beneath the mount. This occurs because refwalk takes a reference on the hashed dentry and does not detect unlinks that happen afterward, exposing potentially sensitive underlying files. The fix involved adding checks for the DCACHE_CANT_MOUNT flag on dentries after step_into() to detect and prevent traversal of unlinked mountpoints, ensuring that refwalk does not reveal overmounted entries.

Potential Impact

The vulnerability could allow processes performing refwalk operations to read or access files that were unlinked but still visible due to mount detachment, potentially exposing underlying filesystem entries that should be hidden. This is a narrow race condition and requires specific timing with unlinks on mountpoints. There are no reports of known exploits in the wild.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to address this issue by adding checks for unlinked mountpoints during refwalk traversal. Users should apply the official kernel updates that include this patch to mitigate the vulnerability. No additional mitigation actions are indicated by the vendor advisory.

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-r8cp-fx7r-5fxq
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98980"]

Threat ID: 6adbaacfd73cc49347b20567

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

Last enriched: 10/23/2026, 18:57:05 UTC

Last updated: 10/23/2026, 22:45:16 UTC

Views: 5

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