Vulnerability · Published Sep 6, 2023 · Assigned by Google
CVE-2023-4622Use-after-free in Linux kernel's af_unix component
High 7.8
In plain English
A high-severity use-after-free in 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.6% (higher than 50% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
A use-after-free vulnerability in the Linux kernel's af_unix component can be exploited to achieve local privilege escalation. The unix_stream_sendpage() function tries to add data to the last skb in the peer's recv queue without locking the queue. Thus there is a race where unix_stream_sendpage() could access an skb locklessly that is being released by garbage collection, resulting in use-after-free. We recommend upgrading past commit 790c2f9d15b594350ae9bca7b236f2b1859de02c (or backported equivalents).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-core | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-debug | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-devel | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-doc | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-modules | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-tools | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-zfcpdump | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-zfcpdump-core | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | perf | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| AlmaLinux:8 | python3-perf | 4.18.0-513.11.1.el8_9 | ALSA-2024:0113 |
| Debian:12 | linux | 6.1.52-1 | DSA-5492-1 |
| Debian:12 | linux | 6.1.52-1 | DEBIAN-CVE-2023-4622 |
| Debian:13 | linux | 6.4.13-1 | DEBIAN-CVE-2023-4622 |
| Debian:14 | linux | 6.4.13-1 | DEBIAN-CVE-2023-4622 |
| Rocky Linux:8 | kernel-rt | 0:4.18.0-513.11.1.rt7.313.el8_9 | RLSA-2024:0134 |
| Ubuntu:22.04:LTS | linux | 5.15.0-87.97 | USN-6446-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-87.97 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1048.53 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1048.53 | USN-6446-1 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | 6.2.0-1014.14~22.04.1 | USN-6444-1 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | 6.2.0-1014.14~22.04.1 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1050.57 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1050.57 | USN-6446-1 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | 6.2.0-1015.15~22.04.1 | USN-6444-1 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | 6.2.0-1015.15~22.04.1 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1050.57.1 | USN-6446-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1050.57.1 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | 6.2.0-1015.15~22.04.1.1 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | 6.2.0-1015.15~22.04.1.1 | USN-6444-1 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1045.53 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1045.53 | USN-6446-1 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | 6.2.0-1017.19~22.04.1 | USN-6444-1 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | 6.2.0-1017.19~22.04.1 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1045.50 | USN-6446-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1045.50 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1031.37 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1031.37 | USN-6446-1 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | 6.2.0-35.35~22.04.1 | USN-6444-1 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | 6.2.0-35.35~22.04.1 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1041.44 | USN-6446-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1041.44 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1043.49 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1043.49 | USN-6445-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1045.50 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1045.50 | USN-6446-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-87.96 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-87.96 | USN-6446-1 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | 6.2.0-1015.15~22.04.1 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | 6.2.0-1015.15~22.04.1 | USN-6444-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1039.39 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1039.39 | USN-6446-1 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | 6.2.0-1011.11 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | 6.2.0-1011.11 | USN-6466-1 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1019.19 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1006.6 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1023.23 | USN-6415-1 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1023.23 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1046.52 | USN-6446-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1046.52 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1041.44 | USN-6446-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1041.44 | UBUNTU-CVE-2023-4622 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | 6.2.0-1007.8~22.04.1 | UBUNTU-CVE-2023-4622 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | 6.2.0-1007.8~22.04.1 | USN-6444-2 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1025.29 | UBUNTU-CVE-2023-4622 |
Affected products (as reported)
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/torvalds/linux.git/commit/?id=4821df2ffe38d629170edc266e65fa05970e0745 patch
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.1.y&id=790c2f9d15b594350ae9bca7b236f2b1859de02c patch
- https://kernel.dance/790c2f9d15b594350ae9bca7b236f2b1859de02c
- https://www.debian.org/security/2023/dsa-5492
- https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html
- http://packetstormsecurity.com/files/175963/Kernel-Live-Patch-Security-Notice-LSN-0099-1.html
- https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html