Vulnerability · Published Jan 30, 2023 · Assigned by Google

CVE-2023-0240Use after free in io_uring in the Linux Kernel

High 7.8

In plain English

A high-severity use-after-free in Linux Kernel from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.3%top 80.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux5.14.6-1DEBIAN-CVE-2023-0240
Debian:13linux5.14.6-1DEBIAN-CVE-2023-0240
Debian:14linux5.14.6-1DEBIAN-CVE-2023-0240
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2023-0240

Affected products (as reported)

VendorProductVersions
Linux Linux Kernel 5.10 – through 5.10.161

Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References