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 roots 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.
The product does not release a file descriptor or handle after its effective lifetime has ended, i.e., after the file descriptor/handle is no longer needed.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | RedHat | util-linux-0:2.40.2-18.el10_2.20 | * |
| Red Hat Hardened Images | RedHat | util-linux-main-2.42.2-3.4.hum1 | * |
| Util-linux | Ubuntu | upstream | * |