In the Linux kernel, the following vulnerability has been resolved: unshare: don't drop active namespace references that were never taken Active… (CVE-2026-98983)
Description
A vulnerability in the Linux kernel's unshare system call was resolved. The issue involved dropping active namespace references that were never taken, leading to reference count inconsistencies. This could cause namespaces the caller lives in to no longer be listed by listns(). The problem occurred when set_cred_ucounts() failed during ksys_unshare(), causing improper reference decrementing. The fix involved properly freeing nsproxy structures that were prepared but never installed.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel relates to the unshare system call improperly dropping active namespace references that were never taken. Specifically, active references on namespaces of an nsproxy are managed when the nsproxy is installed into a task and dropped when it is deactivated. However, ksys_unshare() erroneously calls put_nsproxy() on an nsproxy that was never installed if set_cred_ucounts() fails, decrementing namespace references incorrectly. This leads to namespaces the caller lives in not being listed by listns(). The failure of set_cred_ucounts() occurs only when alloc_ucounts() cannot allocate and the real UID differs from the effective UID. The fix involved using nsproxy_free() to properly free nsproxy instances that were prepared but never installed, aligning the handling with the behavior used in failed setns() calls.
Potential Impact
The impact is that namespace references can be incorrectly decremented, causing the namespaces the caller lives in to disappear from namespace listings. This could lead to inconsistencies in namespace management within the kernel, potentially affecting processes relying on accurate namespace information. There is no indication of direct exploitation or privilege escalation from the provided data.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by properly handling nsproxy references during unshare operations. Users should update to the fixed kernel version once available. Since this is a kernel-level fix, applying the official kernel update or patch from the Linux distribution vendor is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-vc4v-q632-x9g5
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98983"]
Threat ID: 6adbaacfd73cc49347b20566
Added to database: 10/23/2026, 18:43:27 UTC
Last enriched: 10/23/2026, 18:57:00 UTC
Last updated: 10/23/2026, 22:45:17 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.