Vulnerability · Published Sep 6, 2023 · Assigned by Google

CVE-2023-4208Use-after-free in Linux kernel's net/sched: cls_u32 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.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.3%top 75.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

A use-after-free vulnerability in the Linux kernel's net/sched: cls_u32 component can be exploited to achieve local privilege escalation. When u32_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 3044b16e7c6fe5d24b1cdbcf1bd0a9d92d1ebd81.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux6.1.52-1DEBIAN-CVE-2023-4208
Debian:12linux6.1.52-1DSA-5492-1
Debian:13linux6.4.11-1DEBIAN-CVE-2023-4208
Debian:14linux6.4.11-1DEBIAN-CVE-2023-4208
Ubuntu:22.04:LTSlinux5.15.0-84.93UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-aws5.15.0-1045.50UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-aws-6.26.2.0-1012.12~22.04.1UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-azure5.15.0-1047.54UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-azure-6.26.2.0-1012.12~22.04.1UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1047.54.1UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-gcp5.15.0-1042.50UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-gcp-6.26.2.0-1014.14~22.04.1UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-gke5.15.0-1042.47UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1028.33UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-hwe-6.26.2.0-33.33~22.04.1UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-ibm5.15.0-1038.41UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1040.46UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-kvm5.15.0-1042.47UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-84.93UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.26.2.0-1013.13~22.04.1UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1033.33UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-nvidia-tegra5.15.0-1018.18UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-nvidia-tegra-igx5.15.0-1005.5UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-oem-6.16.1.0-1021.21UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-oracle5.15.0-1044.50UBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-raspi5.15.0-1038.41UBUNTU-CVE-2023-4208
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2023-4208
Ubuntu:22.04:LTSlinux-xilinx-zynqmp5.15.0-1025.29UBUNTU-CVE-2023-4208

Affected products (as reported)

VendorProductVersions
Linux Kernel 3.18 – before 6.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