CVE-2023-0240

Use after free in io_uring in the Linux Kernel

State
Published
Severity
7.8 High
Published
Jan 30, 2023
Updated
Aug 2, 2024
Reserved
Jan 12, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HGoogle

Weaknesses

Affected Products

ProductVersions
Linux KernelLinux
  • 5.10 through 5.10.161Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.