Skip to main content

In the Linux kernel, the following vulnerability has been resolved: namespace: handle mount locking for automounts correctly If mounts are… (CVE-2026-98977)

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 mount locking for automounts across user namespaces has been resolved. The issue involved improper locking of mounts when mounts are propagated across user namespaces, causing the host's mount to be locked instead of the child's copy. This could prevent the host from changing mount flags correctly. The fix ensures that the lock is applied to the mount in the namespace where the mount actually occurs, preserving correct mount flag management.

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

The vulnerability in the Linux kernel concerned the handling of mount locking for automounts when mounts are propagated across user namespaces. The function attach_recursive_mnt() locked every copy of the source mount to protect overmounts, but it incorrectly locked the host's mount in some cases involving automounts and user namespaces. This caused the host to be unable to change the flags on its own mounts, while the child namespace could. The fix changes the logic to compare with the owner of the namespace where the mount actually gets mounted, ensuring the correct mount copy is locked. This resolves the issue with mount flag management and locking in scenarios involving automounts and user namespaces.

Potential Impact

The vulnerability could cause the host's mount to be locked incorrectly, preventing the host from changing mount flags such as remount options. This could lead to inconsistent mount states and potential denial of expected mount flag changes on the host. There is no indication of privilege escalation or arbitrary code execution from the provided data.

Mitigation Recommendations

A fix for this vulnerability has been implemented in the Linux kernel. Users should apply the official kernel update that includes the corrected mount locking behavior for automounts across user namespaces. 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-qrj7-g2h3-853j
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98977"]

Threat ID: 6adbaacfd73cc49347b20568

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

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

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

Views: 2

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