Bug 2139586 (CVE-2022-2602) - CVE-2022-2602 kernel: use-after-free when an io_uring request is being processed
Summary: CVE-2022-2602 kernel: use-after-free when an io_uring request is being processed
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-2602
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2139589 2139590 2139591 2139592
Blocks: 2136005
TreeView+ depends on / blocked
 
Reported: 2022-11-03 03:22 UTC by Rohit Keshri
Modified: 2022-12-07 20:32 UTC (History)
54 users (show)

Fixed In Version: kernel 6.1 rc1
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel. A race issue occurs between an io_uring request and the Unix socket garbage collector, allowing an attacker local privilege escalation.
Clone Of:
Environment:
Last Closed: 2022-12-07 20:32:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Rohit Keshri 2022-11-03 03:22:18 UTC
The vulnerability is a use-after-free that happens when an io_uring request
is being processed on a registered file and the Unix GC runs and frees the
io_uring fd and all the registered fds. The order at which the Unix GC
processes the inflight fds may lead to registered fds be freed before the
io_uring is released and has the chance to unregister and wait for such
requests to finish.

Reference:
https://www.openwall.com/lists/oss-security/2022/10/18/4
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0091bfc81741b8d3aeb3b7ab8636f911b2de6e80

Comment 8 Product Security DevOps Team 2022-12-07 20:32:36 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-2602


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