{"id":"CVE-2022-24122","details":"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.","modified":"2026-04-16T04:41:54.376315975Z","published":"2022-01-29T22:15:07.487Z","references":[{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20220221-0001/"},{"type":"FIX","url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f9d87929d451d3e649699d0f1d74f71f77ad38f5"},{"type":"FIX","url":"https://github.com/torvalds/linux/commit/f9d87929d451d3e649699d0f1d74f71f77ad38f5"},{"type":"ARTICLE","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HSR3AI2IQGRKZCHNKF6S25JGDKUEAWWL/"},{"type":"ARTICLE","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VVSZKUJAZ2VN6LJ35J2B6YD6BOPQTU3B/"},{"type":"EVIDENCE","url":"https://www.openwall.com/lists/oss-security/2022/01/29/1"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"5.14"},{"fixed":"5.15.19"}]},{"events":[{"introduced":"5.16"},{"fixed":"5.16.5"}]},{"events":[{"introduced":"0"},{"last_affected":"34"}]},{"events":[{"introduced":"0"},{"last_affected":"35"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24122.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}