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.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)1.1%top 35.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

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

EcosystemPackageFixed inAdvisory
AlmaLinux:8bpftool4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-abi-stablelists4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-core4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-cross-headers4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-debug4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-debug-core4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-debug-devel4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-debug-modules4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-debug-modules-extra4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-devel4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-doc4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-modules4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-modules-extra4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-rt4.18.0-477.21.1.rt7.284.el8_8ALSA-2023:4541
AlmaLinux:8kernel-rt-core4.18.0-477.21.1.rt7.284.el8_8ALSA-2023:4541
AlmaLinux:8kernel-rt-debug4.18.0-477.21.1.rt7.284.el8_8ALSA-2023:4541
AlmaLinux:8kernel-rt-debug-core4.18.0-477.21.1.rt7.284.el8_8ALSA-2023:4541
AlmaLinux:8kernel-rt-debug-devel4.18.0-477.21.1.rt7.284.el8_8ALSA-2023:4541
AlmaLinux:8kernel-rt-debug-kvm4.18.0-477.21.1.rt7.284.el8_8ALSA-2023:4541
AlmaLinux:8kernel-rt-debug-modules4.18.0-477.21.1.rt7.284.el8_8ALSA-2023:4541
AlmaLinux:8kernel-rt-debug-modules-extra4.18.0-477.21.1.rt7.284.el8_8ALSA-2023:4541
AlmaLinux:8kernel-rt-devel4.18.0-477.21.1.rt7.284.el8_8ALSA-2023:4541
AlmaLinux:8kernel-rt-kvm4.18.0-477.21.1.rt7.284.el8_8ALSA-2023:4541
AlmaLinux:8kernel-rt-modules4.18.0-477.21.1.rt7.284.el8_8ALSA-2023:4541
AlmaLinux:8kernel-rt-modules-extra4.18.0-477.21.1.rt7.284.el8_8ALSA-2023:4541
AlmaLinux:8kernel-tools4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-tools-libs4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-tools-libs-devel4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-zfcpdump4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-zfcpdump-core4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-zfcpdump-devel4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-zfcpdump-modules4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8kernel-zfcpdump-modules-extra4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8perf4.18.0-477.21.1.el8_8ALSA-2023:4517
AlmaLinux:8python3-perf4.18.0-477.21.1.el8_8ALSA-2023:4517
Debian:12linux6.1.20-1DEBIAN-CVE-2023-1829
Debian:13linux6.1.20-1DEBIAN-CVE-2023-1829
Debian:14linux6.1.20-1DEBIAN-CVE-2023-1829
Rocky Linux:8kernel0:4.18.0-477.21.1.el8_8RLSA-2023:4517
Rocky Linux:8kernel-rt0:4.18.0-477.21.1.rt7.284.el8_8RLSA-2023:4541
Ubuntu:22.04:LTSlinux5.15.0-71.78USN-6044-1
Ubuntu:22.04:LTSlinux5.15.0-71.78UBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-aws5.15.0-1035.39UBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-aws5.15.0-1035.39USN-6044-1
Ubuntu:22.04:LTSlinux-azure5.15.0-1037.44UBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-azure5.15.0-1037.44USN-6044-1
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1037.44.1USN-6051-1
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1037.44.1UBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-gcp5.15.0-1034.42UBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-gke5.15.0-1032.37USN-6044-1
Ubuntu:22.04:LTSlinux-gke5.15.0-1032.37UBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1019.24UBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1019.24USN-6044-1
Ubuntu:22.04:LTSlinux-hwe-5.195.19.0-41.42~22.04.1UBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-hwe-5.195.19.0-41.42~22.04.1USN-6043-1
Ubuntu:22.04:LTSlinux-ibm5.15.0-1029.32UBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-ibm5.15.0-1029.32USN-6044-1
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1030.35USN-6133-1
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1030.35UBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-kvm5.15.0-1032.37USN-6051-1
Ubuntu:22.04:LTSlinux-kvm5.15.0-1032.37UBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-71.78USN-6044-1
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-71.78UBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1023.23UBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-oem-5.175.17.0-1031.32UBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-oem-5.175.17.0-1031.32USN-6071-1
Ubuntu:22.04:LTSlinux-oem-6.06.0.0-1015.15USN-6072-1
Ubuntu:22.04:LTSlinux-oem-6.06.0.0-1015.15UBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-oem-6.16.1.0-1009.9USN-6033-1
Ubuntu:22.04:LTSlinux-oem-6.16.1.0-1009.9UBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-oracle5.15.0-1034.40UBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-oracle5.15.0-1034.40USN-6044-1
Ubuntu:22.04:LTSlinux-raspi5.15.0-1028.30UBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-raspi5.15.0-1028.30USN-6070-1
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2023-1829
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2023-1829

Affected products (as reported)

VendorProductVersions
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