Skip to main content

In the Linux kernel, the following vulnerability has been resolved: namespace: don't copy an unmounted mount tree may_copy_tree() accepts a mount… (CVE-2026-98992)

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

Description

A vulnerability in the Linux kernel's namespace handling has been resolved. The issue involves the may_copy_tree() function accepting mounts whose roots are nsfs or pidfs files before verifying if the mount is actually mounted. This allowed recursive copying of unmounted mount trees, which is unintended behavior. The fix prevents walking an unmounted tree during recursive copy operations, causing such attempts to fail with EINVAL. Bind mounting a namespace that is gone remains possible if pinned by a file descriptor.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/23/2026, 18:55:12 UTC

Technical Analysis

The Linux kernel vulnerability (CVE-2026-98992) concerns the namespace subsystem where may_copy_tree() improperly accepts mounts with nsfs or pidfs roots without confirming if they are mounted. This exception, intended for nsfs and pidfs mounts, inadvertently permits recursive copying of unmounted mount trees if they are kept alive by file descriptors. Specifically, with MS_REC or AT_RECURSIVE flags, copy_tree() would copy all mounts attached to the unmounted mount, which is a bug. The fix enforces refusal to walk unmounted trees during recursive copying, returning EINVAL on such attempts, while still allowing copying of the root alone if pinned by a file descriptor.

Potential Impact

This vulnerability could lead to unintended recursive copying of unmounted mount trees in the Linux kernel namespace subsystem. While the exact security impact is not detailed, such behavior could potentially cause incorrect system state or resource handling. There are no known exploits in the wild. The fix prevents this unintended recursive copying, improving kernel namespace mount handling correctness.

Mitigation Recommendations

A fix for this vulnerability has been implemented in the Linux kernel to refuse walking unmounted mount trees during recursive copy operations. Users should update to the fixed kernel version once available. No additional mitigation actions are specified or required beyond applying the official fix.

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-p9pg-23xc-8cjw
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98992"]

Threat ID: 6adbaacfd73cc49347b2054b

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

Last enriched: 10/23/2026, 18:55:12 UTC

Last updated: 10/23/2026, 23:25:12 UTC

Views: 4

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