Vulnerability · Published Apr 12, 2023 · Assigned by Google
CVE-2023-1872Use-after-free in Linux kernel's io_uring subsystem
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 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A use-after-free vulnerability in the Linux Kernel io_uring system can be exploited to achieve local privilege escalation. The io_file_get_fixed function lacks the presence of ctx->uring_lock which can lead to a Use-After-Free vulnerability due a race condition with fixed files getting unregistered. We recommend upgrading past commit da24142b1ef9fd5d36b76e36bab328a5b27523e8.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 5.17.3-1 | DEBIAN-CVE-2023-1872 |
| Debian:13 | linux | 5.17.3-1 | DEBIAN-CVE-2023-1872 |
| Debian:14 | linux | 5.17.3-1 | DEBIAN-CVE-2023-1872 |
| Ubuntu:22.04:LTS | linux | 5.15.0-71.78 | USN-6044-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-71.78 | UBUNTU-CVE-2023-1872 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1035.39 | USN-6044-1 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1035.39 | UBUNTU-CVE-2023-1872 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1037.44 | UBUNTU-CVE-2023-1872 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1037.44 | USN-6044-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1037.44.1 | USN-6051-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1037.44.1 | UBUNTU-CVE-2023-1872 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1034.42 | UBUNTU-CVE-2023-1872 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1032.37 | UBUNTU-CVE-2023-1872 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1032.37 | USN-6044-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1019.24 | UBUNTU-CVE-2023-1872 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1019.24 | USN-6044-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1029.32 | USN-6044-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1029.32 | UBUNTU-CVE-2023-1872 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1030.35 | UBUNTU-CVE-2023-1872 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1030.35 | USN-6133-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1032.37 | USN-6051-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1032.37 | UBUNTU-CVE-2023-1872 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-71.78 | USN-6044-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-71.78 | UBUNTU-CVE-2023-1872 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1023.23 | UBUNTU-CVE-2023-1872 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | 5.17.0-1004.4 | UBUNTU-CVE-2023-1872 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1034.40 | UBUNTU-CVE-2023-1872 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1034.40 | USN-6044-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1028.30 | USN-6070-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1028.30 | UBUNTU-CVE-2023-1872 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2023-1872 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-1872 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-1872 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2023-1872 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | 5.7 – through 5.17 |
Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.10.y&id=08681391b84da27133deefaaddefd0acfa90c2be
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.10.y&id=da24142b1ef9fd5d36b76e36bab328a5b27523e8
- https://lists.debian.org/debian-lts-announce/2023/05/msg00005.html
- https://security.netapp.com/advisory/ntap-20230601-0002/
- http://packetstormsecurity.com/files/173087/Kernel-Live-Patch-Security-Notice-LSN-0095-1.html