Skip to main content

In the Linux kernel, the following vulnerability has been resolved: dcache: don't put a mountpoint on a dentry that's being removed rmdir(),… (CVE-2026-98984)

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

Description

A vulnerability in the Linux kernel's dcache handling has been resolved. The issue involves improper handling of mountpoints on dentries that are being removed, allowing a bind mount of a directory being removed to be moved beneath an existing mount. This causes the mount to remain on the removed directory indefinitely, preventing its detachment. The flaw arises due to a race condition between detach_mounts() and d_delete(), where the victim dentry is still hashed and not properly locked during mount operations.

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

The Linux kernel vulnerability (CVE-2026-98984) concerns the dcache subsystem where mountpoints can be incorrectly assigned to dentries that are in the process of being removed. Specifically, rmdir(), unlink(), and rename() call dont_mount() and detach_mounts() with inode locks to prevent mounts on victims. However, attach_recursive_mnt() creates a second mountpoint for the source mount root without locking the inode, allowing a bind mount of a directory being removed to be moved beneath an existing mount. This results in a mountpoint attached to a removed directory that cannot be detached, due to the victim dentry still being hashed between detach_mounts() and d_delete(). The fix involves checking cant_mount() in d_set_mounted() to prevent this scenario.

Potential Impact

The vulnerability allows a mountpoint to be attached to a directory that is in the process of being removed, causing the mount to persist indefinitely and never be detached. This could lead to resource management issues or inconsistencies in the filesystem mount state. No direct exploitation details or broader impact scenarios are provided in the data.

Mitigation Recommendations

The vulnerability has been resolved in the Linux kernel. Users should apply the official kernel updates that include the fix for CVE-2026-98984. Since no patch links or vendor advisories are provided here, users should consult their Linux distribution's security advisories for the relevant kernel update. No additional mitigation steps are indicated.

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-j5f8-8hqx-2hcr
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98984"]

Threat ID: 6adbaacfd73cc49347b2056c

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

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

Last updated: 10/23/2026, 22:45:11 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