There is a logic error in io_uring's implementation which can be used to trigger a use-after-free vulnerability leading to privilege escalation.
In the io_prep_async_work function the assumption that the last io_grab_identity call cannot return false is not true, and in this case the function will use the init_cred or the previous linked requests identity to do operations instead of using the current identity. This can lead to reference counting issues causing use-after-free. We recommend upgrading past version 5.10.161.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: Google
Published: 2023-01-30T13:17:09.182Z
Updated: 2024-08-02T05:02:43.942Z
Reserved: 2023-01-12T13:04:00.937Z
Link: CVE-2023-0240
Vulnrichment
Updated: 2024-07-31T20:13:40.095Z
NVD
Status : Modified
Published: 2023-01-30T14:15:10.403
Modified: 2023-11-07T03:59:55.420
Link: CVE-2023-0240
Redhat