# CVE-2022-24122: 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: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.07%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-29T21:33:55.000Z
- Modified: 2026-06-17T04:31:20.410Z
- Weaknesses: CWE-416
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: from 5.14 before 5.15.19; from 5.16 before 5.16.5
- netapp h410c_firmware: no versions given
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h410s_firmware: no versions given
- fedoraproject fedora: 34; 35

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.9 Medium `AV:L/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://www.openwall.com/lists/oss-security/2022/01/29/1> (exploit, mailing-list, third-party-advisory)
- <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://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

- CVE List: [CVE-2022-24122](https://www.cve.org/CVERecord?id=CVE-2022-24122), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-24122](https://nvd.nist.gov/vuln/detail/CVE-2022-24122), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24122 · Whole record: https://cve.day/CVE-2022-24122.json · Rebuilt by cve.day 2026-11-25T22:58:09.445Z
