CVE-2022-24122
7.8high
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 privile…
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 1.07% (higher than 65% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| linux linux_kernel | from 5.14 before 5.15.19, from 5.16 before 5.16.5 | NVD |
| netapp h410c_firmware | Not specified | NVD |
| netapp h300s_firmware | Not specified | NVD |
| netapp h500s_firmware | Not specified | NVD |
| netapp h700s_firmware | Not specified | NVD |
| netapp h300e_firmware | Not specified | NVD |
| netapp h500e_firmware | Not specified | NVD |
| netapp h700e_firmware | Not specified | NVD |
| netapp h410s_firmware | Not specified | NVD |
| fedoraproject fedora | 34, 35 | NVD |
All scores
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.9medium CVSS:2.0 | AV:L/AC:M/Au:N/C:C/I:C/A:C |
Classification
What each source says
CVE List
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.
NVD (es)
El archivo kernel/ucount.c en el kernel de Linux versiones 5.14 hasta 5.16.4, cuando los espacios de nombres de los usuarios no privilegiados están habilitados, permite un uso de memoria previamente liberada y una escalada de privilegios porque un objeto ucounts puede sobrevivir a su espacio de nombres
References
| https://github.com/torvalds/linux/commit/f9d87929d451d3e649699d0f1d74f71f77ad38f5 | patch, third-party-advisory | |
| https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f9d87929d451d3e649699d0f1d74f71f77ad38f5 | mailing-list, patch, vendor-advisory | |
| https://www.openwall.com/lists/oss-security/2022/01/29/1 | exploit, mailing-list, third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HSR3AI2IQGRKZCHNKF6S25JGDKUEAWWL/ | mailing-list, vendor-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VVSZKUJAZ2VN6LJ35J2B6YD6BOPQTU3B/ | mailing-list, vendor-advisory | |
| https://security.netapp.com/advisory/ntap-20220221-0001/ | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-24122 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2022-24122 changed 2026-06-17 | Public domain |