Red Hat Enterprise Linux 10
Util-linux: util-linux: nsenter --join-cgroup leaks root cgroup migration authority
The nsenter --join-cgroup option opens the target cgroup.procs file as root and leaves that file descriptor open across later namespace and credential changes and across execve(). Because the kernel checks later cgroup migrations using the credentials from the original open, a program run in an attacker-controlled target can inherit root's ability to move host processes between cgroups. After a privileged operator uses --join-cgroup against that target, an unprivileged user can migrate and terminate unrelated root processes.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 0:2.40.2-18.el10_2.20
Fixed in 1793825318
Fixed in 2.42.2-3.4.hum1
Mitigation
Upgrade Red Hat Enterprise Linux 10 to 0:2.40.2-18.el10_2.20 or later.
Upgrade Red Hat Cost Management On-Premise 1 to 1793825318 or later.
Upgrade Red Hat Hardened Images to 2.42.2-3.4.hum1 or later.
Workaround
Upgrade to util-linux v2.41.6, v2.42.3, or later. Until a fix is applied, do not run nsenter --join-cgroup (including nsenter --target PID --all --join-cgroup) against untrusted processes or namespaces. The fix closes the cgroup.procs descriptor immediately after joining, and opens it with O_CLOEXEC.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:63162
- Vendor advisory access.redhat.com/errata/RHSA-2026:93461
- Vendor advisory access.redhat.com/errata/RHSA-2026:95365
1 more
- Vendor advisory github.com/util-linux/util-linux/security/advi…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.