Skip to main content

Linux Kernel EUVDEUVD-2026-28778

| CVE-2026-43472 MEDIUM
Use of Uninitialized Resource (CWE-908)
2026-05-08 Linux GHSA-vgv8-2mh4-qh7r
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain local shell access (PR:L)
  2. Delivery
    Craft process with unshared fs_struct (users==1)
  3. Exploit
    Call unshare(CLONE_NEWNS|CLONE_NEWCGROUP)
  4. Install
    copy_mnt_ns() mutates fs->root and fs->pwd
  5. C2
    Trigger copy_cgroup_ns() failure (ENOMEM)
  6. Execute
    put_mnt_ns() dissolves mount tree
  7. Impact
    Process stranded with detached mount pointers (A:H)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization
Exploitation Conditions

Exploitation requires all of the following simultaneously: (1) local code execution with at least low-privilege access (PR:L per CVSS - no root required, but a system foothold is necessary); (2) the calling process must invoke unshare(2) with both CLONE_NEWNS and CLONE_NEWCGROUP flags set together; (3) the calling process's current->fs->users must equal 1, meaning the fs_struct is not shared with other threads - this is true for single-threaded processes or processes that have not called clone() with CLONE_FS; (4) copy_cgroup_ns() must fail during execution, which can occur naturally under memory pressure (ENOMEM) or resource limit exhaustion. Remote exploitation is not possible (AV:L). The impact is strictly self-contained: only the calling process's filesystem state is corrupted; no other processes, kernel structures, or user data are affected. The non-default condition of requiring a specific two-flag combination with fs->users==1 and a triggered allocation failure substantially limits the realistic exploitation surface beyond what the raw CVSS score alone implies.

Impact

The CVSS 5.5 Medium score (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) accurately models this as a local, low-complexity, low-privilege vulnerability with no confidentiality or integrity impact and high availability impact strictly scoped to the calling process - not the broader system. EPSS at 0.02% (7th percentile) is consistent with the local-only attack surface; this offers negligible value to opportunistic or automated threat actors. The vulnerability is not listed in CISA KEV and no public exploit or proof-of-concept code has been identified at time of analysis. One discrepancy worth flagging: the ENISA EUVD tag lists 'Information Disclosure' as an impact, but this conflicts with the CVSS C:N rating and the technical description, which describes only filesystem state corruption with no data leakage pathway - treat that tag as likely erroneous. The bug has existed since unshare(2) was introduced, which itself suggests it has never been a meaningful exploitation target. Real-world risk priority is LOW: exploitation requires a specific multi-flag syscall combination, an unshared fs_struct, and a triggered failure in cgroup namespace allocation, all of which must be orchestrated locally.

Exploit ScenarioDerived

A local user with standard unprivileged access writes a small program that calls unshare(CLONE_NEWNS | CLONE_NEWCGROUP) in a single-threaded context (ensuring fs->users == 1) while the system is under memory pressure or after exhausting available memory to force -ENOMEM from copy_cgroup_ns(). The kernel's copy_mnt_ns() succeeds and updates the process's root and pwd pointers into the new namespace, but the subsequent cgroup namespace allocation fails, causing put_mnt_ns() to dissolve the mount tree. The process's filesystem context is now irreparably broken - root and pwd reference detached mounts - effectively terminating the process's ability to navigate or use the filesystem. No public proof-of-concept exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 21, 2026

Improper error-path state management in the Linux kernel's unshare(2) syscall leaves calling processes with dangling filesystem root and working-directory pointers after partial namespace creation failure. When a local low-privileged process calls unshare() with both CLONE_NEWNS and CLONE_NEWCGROUP on an unshared fs_struct (users==1), a successful copy_mnt_ns() updates current->fs->root and current->fs->pwd into the new mount namespace before a subsequent copy_cgroup_ns() failure triggers cleanup - dissolving the mount tree while leaving those pointers referencing now-detached mounts. The calling process is stranded in a broken filesystem state, producing high availability impact (CVSS A:H) confined entirely to the calling process. No public exploit has been identified, EPSS is 0.02% (7th percentile), and this is not in CISA KEV, reflecting low real-world exploitation interest despite the bug existing since unshare(2) was first introduced.

RemediationAI

The primary fix is to upgrade to a patched Linux kernel stable release: 5.10.253, 5.15.203, 6.1.167, 6.6.130, 6.12.78, 6.18.19, 6.19.9, or 7.0, as confirmed by the Linux kernel stable maintainers via commits at https://git.kernel.org/stable/c/845bf3c6963a52096d0d3866e4a92db77a0c03d8 and related references. Distribution vendors (RHEL, Debian, Ubuntu, SUSE) should be monitored for backported patches to their specific kernel versions. If immediate patching is not feasible, a compensating control is to restrict unprivileged namespace creation by setting kernel.unprivileged_userns_clone=0 (available on distributions such as Debian and Ubuntu) via sysctl - trade-off: this disables user namespace creation for non-root processes, breaking some container runtimes and sandboxing tools (Podman rootless, Bubblewrap, Chrome sandbox). Alternatively, deploy seccomp or AppArmor/SELinux policies to deny CLONE_NEWNS and CLONE_NEWCGROUP syscall flag combinations for untrusted processes. Since the attack vector is strictly local (AV:L), hardening SSH access and limiting interactive shell accounts to trusted users significantly reduces exposure without kernel changes.

Affected VersionsENISA

Linux patch: 5.15.203
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d7963d6997fea86a6def242ac36198b86655f912
Linux patch: 6.12.78
Linux patch: 6.1.167
Linux patch: 6.6.130
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d0d99f60538ddb4a62ccaac2168d8f448965f083
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6c4b2243cb6c0755159bd567130d5e12e7b10d9f
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d3ffc8f13034af895531a02c30b1fe3a34b46432
Linux patch: 6.19.9
Linux patch: 5.10.253
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <af8f4be3b68ac8caa41c8e5ead0eeaf5e85e42d0
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <42e21e74061b0ebbd859839f81acf10efad02a27
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <845bf3c6963a52096d0d3866e4a92db77a0c03d8
Linux patch: 6.18.19
Linux patch: 7.0
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <aa9ebc084505fb26dd90f4d7a249045aad152043

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the Linux kernel's namespace unsharing logic, specifically the interaction between unshare_fs(), copy_mnt_ns(), and create_new_namespaces(). CWE-908 (Use of Uninitialized Resource) characterizes the root cause: when CLONE_NEWNS is requested and current->fs->users == 1, unshare_fs() determines no private copy is needed and passes current->fs directly to copy_mnt_ns(). If copy_mnt_ns() succeeds, it flips current->fs->{pwd,root} to locations within the newly created mount namespace. When a subsequent namespace operation such as copy_cgroup_ns() then fails (e.g., -ENOMEM), the cleanup path calls put_mnt_ns() which dissolves the mount tree - but the already-modified fs_struct pointers are never rolled back, leaving them referencing freed and now-detached mount structures. The fix forces allocation of a fresh fs_struct via copy_fs_struct() whenever CLONE_NEWNS is present, ensuring copy_mnt_ns() always receives a throwaway structure that is safe to discard on failure. Affected scope is broad per CPE cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*, covering all kernel versions from unshare(2) introduction through the patched stable releases.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
May 21, 2026 - 13:52 NVD
5.5 (MEDIUM)
Patch available
May 08, 2026 - 16:18 EUVD
CVE Published
May 08, 2026 - 14:22 nvd
UNKNOWN (no severity yet)

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

unshare: fix unshare_fs() handling

There's an unpleasant corner case in unshare(2), when we have a CLONE_NEWNS in flags and current->fs hadn't been shared at all; in that case copy_mnt_ns() gets passed current->fs instead of a private copy, which causes interesting warts in proof of correctness]

> I guess if private means fs->users == 1, the condition could still be true.

Unfortunately, it's worse than just a convoluted proof of correctness. Consider the case when we have CLONE_NEWCGROUP in addition to CLONE_NEWNS (and current->fs->users == 1).

We pass current->fs to copy_mnt_ns(), all right. Suppose it succeeds and flips current->fs->{pwd,root} to corresponding locations in the new namespace. Now we proceed to copy_cgroup_ns(), which fails (e.g. with -ENOMEM). We call put_mnt_ns() on the namespace created by copy_mnt_ns(), it's destroyed and its mount tree is dissolved, but... current->fs->root and current->fs->pwd are both left pointing to now detached mounts.

They are pinning those, so it's not a UAF, but it leaves the calling process with unshare(2) failing with -ENOMEM _and_ leaving it with pwd and root on detached isolated mounts. The last part is clearly a bug.

There is other fun related to that mess (races with pivot_root(), including the one between pivot_root() and fork(), of all things), but this one is easy to isolate and fix - treat CLONE_NEWNS as "allocate a new fs_struct even if it hadn't been shared in the first place". Sure, we could go for something like "if both CLONE_NEWNS *and* one of the things that might end up failing after copy_mnt_ns() call in create_new_namespaces() are set, force allocation of new fs_struct", but let's keep it simple - the cost of copy_fs_struct() is trivial.

Another benefit is that copy_mnt_ns() with CLONE_NEWNS *always* gets a freshly allocated fs_struct, yet to be attached to anything. That seriously simplifies the analysis...

FWIW, that bug had been there since the introduction of unshare(2) ;-/

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy