Vulnerability · Published Apr 12, 2023 · Assigned by Google
CVE-2023-1829Use-after-free in tcindex (traffic control index filter) 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 1.1% (higher than 65% 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 traffic control index filter (tcindex) can be exploited to achieve local privilege escalation. The tcindex_delete function which does not properly deactivate filters in case of a perfect hashes while deleting the underlying structure which can later lead to double freeing the structure. A local attacker user can use this vulnerability to elevate its privileges to root. We recommend upgrading past commit 8c710f75256bb3cf05ac7b1672c82b92c43f3d28 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/ .
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-core | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-debug | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-devel | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-doc | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-modules | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-rt | 4.18.0-477.21.1.rt7.284.el8_8 | ALSA-2023:4541 |
| AlmaLinux:8 | kernel-rt-core | 4.18.0-477.21.1.rt7.284.el8_8 | ALSA-2023:4541 |
| AlmaLinux:8 | kernel-rt-debug | 4.18.0-477.21.1.rt7.284.el8_8 | ALSA-2023:4541 |
| AlmaLinux:8 | kernel-rt-debug-core | 4.18.0-477.21.1.rt7.284.el8_8 | ALSA-2023:4541 |
| AlmaLinux:8 | kernel-rt-debug-devel | 4.18.0-477.21.1.rt7.284.el8_8 | ALSA-2023:4541 |
| AlmaLinux:8 | kernel-rt-debug-kvm | 4.18.0-477.21.1.rt7.284.el8_8 | ALSA-2023:4541 |
| AlmaLinux:8 | kernel-rt-debug-modules | 4.18.0-477.21.1.rt7.284.el8_8 | ALSA-2023:4541 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | 4.18.0-477.21.1.rt7.284.el8_8 | ALSA-2023:4541 |
| AlmaLinux:8 | kernel-rt-devel | 4.18.0-477.21.1.rt7.284.el8_8 | ALSA-2023:4541 |
| AlmaLinux:8 | kernel-rt-kvm | 4.18.0-477.21.1.rt7.284.el8_8 | ALSA-2023:4541 |
| AlmaLinux:8 | kernel-rt-modules | 4.18.0-477.21.1.rt7.284.el8_8 | ALSA-2023:4541 |
| AlmaLinux:8 | kernel-rt-modules-extra | 4.18.0-477.21.1.rt7.284.el8_8 | ALSA-2023:4541 |
| AlmaLinux:8 | kernel-tools | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-zfcpdump | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-zfcpdump-core | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | perf | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| AlmaLinux:8 | python3-perf | 4.18.0-477.21.1.el8_8 | ALSA-2023:4517 |
| Debian:12 | linux | 6.1.20-1 | DEBIAN-CVE-2023-1829 |
| Debian:13 | linux | 6.1.20-1 | DEBIAN-CVE-2023-1829 |
| Debian:14 | linux | 6.1.20-1 | DEBIAN-CVE-2023-1829 |
| Rocky Linux:8 | kernel | 0:4.18.0-477.21.1.el8_8 | RLSA-2023:4517 |
| Rocky Linux:8 | kernel-rt | 0:4.18.0-477.21.1.rt7.284.el8_8 | RLSA-2023:4541 |
| 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-1829 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1035.39 | UBUNTU-CVE-2023-1829 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1035.39 | USN-6044-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1037.44 | UBUNTU-CVE-2023-1829 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1037.44 | USN-6044-1 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2023-1829 |
| 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-1829 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2023-1829 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1034.42 | UBUNTU-CVE-2023-1829 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1032.37 | USN-6044-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1032.37 | UBUNTU-CVE-2023-1829 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1019.24 | UBUNTU-CVE-2023-1829 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1019.24 | USN-6044-1 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | 5.19.0-41.42~22.04.1 | UBUNTU-CVE-2023-1829 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | 5.19.0-41.42~22.04.1 | USN-6043-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1029.32 | UBUNTU-CVE-2023-1829 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1029.32 | USN-6044-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1030.35 | USN-6133-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1030.35 | UBUNTU-CVE-2023-1829 |
| 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-1829 |
| 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-1829 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-1829 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1023.23 | UBUNTU-CVE-2023-1829 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | 5.17.0-1031.32 | UBUNTU-CVE-2023-1829 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | 5.17.0-1031.32 | USN-6071-1 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | 6.0.0-1015.15 | USN-6072-1 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | 6.0.0-1015.15 | UBUNTU-CVE-2023-1829 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1009.9 | USN-6033-1 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1009.9 | UBUNTU-CVE-2023-1829 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1034.40 | UBUNTU-CVE-2023-1829 |
| 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 | UBUNTU-CVE-2023-1829 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1028.30 | USN-6070-1 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2023-1829 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-1829 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-1829 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | 3.8.0 – before 4.14.3084.15.0 – before 4.19.2764.20.0 – before 5.4.2355.5.0 – before 5.10.1735.11.0 – before 5.15.1005.16.0 – before 6.1.186.2.0 – before 6.2.5 |
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=8c710f75256bb3cf05ac7b1672c82b92c43f3d28
- https://kernel.dance/#8c710f75256bb3cf05ac7b1672c82b92c43f3d28
- https://lists.debian.org/debian-lts-announce/2023/05/msg00005.html
- https://lists.debian.org/debian-lts-announce/2023/05/msg00006.html
- https://security.netapp.com/advisory/ntap-20230601-0001/