Description
kernel/ucount.c in the Linux kernel 5.14 through 5.16.4, when unprivileged user namespaces are enabled, allows a use-after-free and privilege escalation because a ucounts object can outlive its namespace.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 5.15.15-2 | — |
| Debian 13 | linux | 5.15.15-2 | — |
| Debian 12 | linux | 5.15.15-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | linux-oem-5.14 | 5.14.0-1022.24 | USN-5278-1 |
| Ubuntu 20.04 LTS | linux-riscv +10 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +12 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | kernel | 5.15.26.1-1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
meowmeowxw/CVE-2022-24122 ★ 12 · Mar 10, 2022
CVE-2022-24122 Proof of Concept
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- USN-5278-1 linux-oem-5.14 vulnerabilities Ubuntu Security Notices (USN) · Sep 14, 2026
References
- https://github.com/torvalds/linux/commit/f9d87929d451d3e649699d0f1d74f71f77ad38f5
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f9d87929d451d3e649699d0f1d74f71f77ad38f5
- https://www.openwall.com/lists/oss-security/2022/01/29/1
- FEDORA-2022-57fd391bf8 vendor-advisory
- FEDORA-2022-667a5c6e26 vendor-advisory
- https://security.netapp.com/advisory/ntap-20220221-0001/