Vulnerability · Published Sep 6, 2023 · Assigned by Google
CVE-2023-4206Use-after-free in Linux kernel's net/sched: cls_route 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 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A use-after-free vulnerability in the Linux kernel's net/sched: cls_route component can be exploited to achieve local privilege escalation. When route4_change() is called on an existing filter, the whole tcf_result struct is always copied into the new instance of the filter. This causes a problem when updating a filter bound to a class, as tcf_unbind_filter() is always called on the old instance in the success path, decreasing filter_cnt of the still referenced class and allowing it to be deleted, leading to a use-after-free. We recommend upgrading past commit b80b829e9e2c1b3f7aae34855e04d8f6ecaf13c8.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-core | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-debug | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-devel | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-doc | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-headers | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-modules | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-tools | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-zfcpdump | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-zfcpdump-core | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | perf | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| AlmaLinux:8 | python3-perf | 4.18.0-513.5.1.el8_9 | ALSA-2023:7077 |
| Debian:12 | linux | 6.1.52-1 | DEBIAN-CVE-2023-4206 |
| Debian:12 | linux | 6.1.52-1 | DSA-5492-1 |
| Debian:13 | linux | 6.4.11-1 | DEBIAN-CVE-2023-4206 |
| Debian:14 | linux | 6.4.11-1 | DEBIAN-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux | 5.15.0-84.93 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1045.50 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | 6.2.0-1012.12~22.04.1 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1047.54 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | 6.2.0-1012.12~22.04.1 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1047.54.1 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1042.50 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | 6.2.0-1014.14~22.04.1 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1042.47 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1028.33 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | 6.2.0-33.33~22.04.1 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1038.41 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1040.46 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1042.47 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-84.93 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | 6.2.0-1013.13~22.04.1 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1033.33 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1018.18 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1005.5 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1021.21 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1044.50 | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1038.41 | UBUNTU-CVE-2023-4206 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2023-4206 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1025.29 | UBUNTU-CVE-2023-4206 |
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