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.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-3349-1 linux-5.10 security update
EUVD EUVD EUVD-2023-12324 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Google

Published:

Updated: 2024-08-02T05:02:43.942Z

Reserved: 2023-01-12T13:04:00.937Z

Link: CVE-2023-0240

cve-icon Vulnrichment

Updated: 2024-07-31T20:13:40.095Z

cve-icon NVD

Status : Modified

Published: 2023-01-30T14:15:10.403

Modified: 2024-11-21T07:36:48.030

Link: CVE-2023-0240

cve-icon Redhat

Severity : Important

Publid Date: 2020-10-17T00:00:00Z

Links: CVE-2023-0240 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses