CVE-2022-24122
publishedkernel: use-after-free and privilege escalation in kernel/ucount.c when unprivileged user namespaces are enabled
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Ubuntu | focal | linux-buildinfo-5.14.0-1022-oem | Advisory build | 5.14.0-1022.24 | USN-5278-1 |
| Ubuntu | focal | linux-headers-5.14.0-1022-oem | Advisory build | 5.14.0-1022.24 | USN-5278-1 |
| Ubuntu | focal | linux-image-unsigned-5.14.0-1022-oem | Advisory build | 5.14.0-1022.24 | USN-5278-1 |
| Ubuntu | focal | linux-modules-5.14.0-1022-oem | Advisory build | 5.14.0-1022.24 | USN-5278-1 |
| Ubuntu | focal | linux-oem-5.14 | Advisory build | 5.14.0-1022.24 | USN-5278-1 |
| Ubuntu | focal | linux-oem-5.14-headers-5.14.0-1022 | Advisory build | 5.14.0-1022.24 | USN-5278-1 |
| Ubuntu | focal | linux-oem-5.14-tools-5.14.0-1022 | Advisory build | 5.14.0-1022.24 | USN-5278-1 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | linux-oem-5.14-tools-host | Advisory build | 5.14.0-1022.24 | USN-5278-1 |
| Ubuntu | focal | linux-tools-5.14.0-1022-oem | Advisory build | 5.14.0-1022.24 | USN-5278-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
6- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f9d87929d451d3e649699d0f1d74f71f77ad38f5
- https://github.com/torvalds/linux/commit/f9d87929d451d3e649699d0f1d74f71f77ad38f5
- FEDORA-2022-57fd391bf8 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HSR3AI2IQGRKZCHNKF6S25JGDKUEAWWL/
- FEDORA-2022-667a5c6e26 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VVSZKUJAZ2VN6LJ35J2B6YD6BOPQTU3B/
- https://security.netapp.com/advisory/ntap-20220221-0001/
- https://www.openwall.com/lists/oss-security/2022/01/29/1
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4d08d9043d94d40c34a67dfc12968adc34c10bb62f7e9f3a2f0ea1e4118ada41
- Ingested
- 23 Sep 2026, 07:58:49 UTC
- Source record
- Official CVE record