Bug 2087760 (CVE-2022-1786) - CVE-2022-1786 kernel: invalid-free in io_uring that can lead to LPE
Summary: CVE-2022-1786 kernel: invalid-free in io_uring that can lead to LPE
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-1786
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: 2090718
Blocks: 2087761 2090717
TreeView+ depends on / blocked
 
Reported: 2022-05-18 13:02 UTC by Marian Rehak
Modified: 2022-05-30 16:22 UTC (History)
51 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A use-after-free flaw was found in the Linux kernel’s io_uring subsystem in the way a user sets up a ring with IORING_SETUP_IOPOLL with more than one task completing submissions on this ring. This flaw allows a local user to crash or escalate their privileges on the system.
Clone Of:
Environment:
Last Closed: 2022-05-26 14:43:52 UTC
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2022-05-18 13:02:34 UTC
The root cause of the bug is a misuse of the identity model in io_uring. When preparing a request, the kernel uses the identity of the current task instead of that of the request task, which causes type confusion and invalid-free when the request is being destroyed.

Comment 7 Marian Rehak 2022-05-26 12:26:43 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2090718]

Comment 8 Product Security DevOps Team 2022-05-26 14:43:48 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-1786

Comment 9 Justin M. Forbes 2022-05-30 16:22:49 UTC
This was fixed for Fedora with the 5.12 kernel rebases.


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