CVE-2023-0240

Use after free in io_uring in the Linux Kernel

Published Jan 30, 2023 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
Google
Published
Updated
Aug 2, 2024, 5:02 AM
Reserved
Jan 12, 2023, 1:04 PM
Status
Modified
Published
Jan 30, 2023, 2:15 PM
Modified
Jun 17, 2026, 5:25 AM
Severity
Important
Public date
Oct 17, 2020, 12:00 AM