CVE-2023-0240
published high CVSS 3.1 · 7.8Use after free in io_uring in the Linux Kernel
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | io_uringLinux Kernel · 5.10 through 5.10.161 · Other versions: unaffected | Affected | Not stated | |
| linux | — | linux_kernel5.10 through 5.10.161 · Other versions: unaffected | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2023-026 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | buster | linux-5.10 | Advisory build | 5.10.162-1~deb10u1 | DLA-3349-1 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-026 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-026 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-026 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-026 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Google · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux Kernel | 5.10 through 5.10.161 (affected · custom)Default: unaffected | Google · cna |
| linux | linux_kernel | 5.10 through 5.10.161 (affected · custom)Default: unaffected | CISA-ADP · adp |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
4- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/io_uring?h=linux-5.10.y&id=788d0824269bef539fe31a785b1517882eafed93
- https://github.com/gregkh/linux/commit/1e6fa5216a0e59ef02e8b6b40d553238a3b81d49
- https://kernel.dance/#788d0824269bef539fe31a785b1517882eafed93
- https://security.netapp.com/advisory/ntap-20230316-0001/
Provider assertions
3Google · cna
Use after free in io_uring in the Linux Kernel
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 26e86a612308a41ba32ebdfd1f75f2e97816d9fbe2adc27326497409d4a8f26e
- Ingested
- 23 Sep 2026, 08:04:58 UTC
- Source record
- Official CVE record