Bug 2048492 (CVE-2022-24122) - CVE-2022-24122 kernel: use-after-free and privilege escalation in kernel/ucount.c when unprivileged user namespaces are enabled
Summary: CVE-2022-24122 kernel: use-after-free and privilege escalation in kernel/ucou...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-24122
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2048493 2048624 2048626 2049040
Blocks: 2048495
TreeView+ depends on / blocked
 
Reported: 2022-01-31 11:18 UTC by Marian Rehak
Modified: 2022-05-17 12:15 UTC (History)
48 users (show)

Fixed In Version: kernel 5.17 rc2
Doc Type: If docs needed, set a value
Doc Text:
A use-after-free vulnerability was found in the Linux kernel’s alloc_ucounts in the kernel/ucount.c function. This flaw allows a local attacker with unprivileged user namespaces to cause a privilege escalation problem.
Clone Of:
Environment:
Last Closed: 2022-05-17 12:15:14 UTC
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2022-01-31 11:18:37 UTC
A use-after-free vulnerability was found in alloc_ucounts in kernel/ucount.c in the Linux kernel. In this flaw, a local attacker with unprivileged user namespaces may lead to a privilege escalation problem.


Reference:

https://www.openwall.com/lists/oss-security/2022/01/29/1
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f9d87929d451d3e649699d0f1d74f71f77ad38f5

Comment 1 Marian Rehak 2022-01-31 11:21:26 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2048493]

Comment 6 Product Security DevOps Team 2022-05-17 12:15:10 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-24122


Note You need to log in before you can comment on or make changes to this bug.