Vulnerability · Published Mar 22, 2023 · Assigned by Google

CVE-2023-1281UAF in Linux kernel's tcindex (traffic control index filter) implementation

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 0.3% (higher than 23% 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)0.3%top 76.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

Use After Free vulnerability in Linux kernel traffic control index filter (tcindex) allows Privilege Escalation. The imperfect hash area can be updated while packets are traversing, which will cause a use-after-free when 'tcf_exts_exec()' is called with the destroyed tcf_ext. A local attacker user can use this vulnerability to elevate its privileges to root. This issue affects Linux Kernel: from 4.14 before git commit ee059170b1f7e94e55fa6cadee544e176a6e59c2.

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.15-1DEBIAN-CVE-2023-1281
Debian:13linux6.1.15-1DEBIAN-CVE-2023-1281
Debian:14linux6.1.15-1DEBIAN-CVE-2023-1281
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-70.77USN-6025-1
Ubuntu:22.04:LTSlinux5.15.0-70.77UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-aws5.15.0-1034.38UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-aws5.15.0-1034.38USN-6025-1
Ubuntu:22.04:LTSlinux-azure5.15.0-1036.43UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-azure5.15.0-1036.43USN-6025-1
Ubuntu:22.04:LTSlinux-azure-5.195.19.0-1023.24~22.04.1UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1036.43.1USN-6025-1
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1036.43.1UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-gcp5.15.0-1032.40UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-gcp5.15.0-1032.40USN-6025-1
Ubuntu:22.04:LTSlinux-gke5.15.0-1031.36USN-6025-1
Ubuntu:22.04:LTSlinux-gke5.15.0-1031.36UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1018.23USN-6025-1
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1018.23UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-hwe-5.195.19.0-40.41~22.04.1USN-6024-1
Ubuntu:22.04:LTSlinux-hwe-5.195.19.0-40.41~22.04.1UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-ibm5.15.0-1028.31USN-6025-1
Ubuntu:22.04:LTSlinux-ibm5.15.0-1028.31UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1028.33USN-6057-1
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1028.33UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-kvm5.15.0-1031.36UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-kvm5.15.0-1031.36USN-6025-1
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-70.77USN-6025-1
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-70.77UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.195.19.0-1022.23~22.04.1UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1023.23UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-oem-5.175.17.0-1030.31UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-oem-5.175.17.0-1030.31USN-6031-1
Ubuntu:22.04:LTSlinux-oem-6.06.0.0-1013.13UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-oem-6.06.0.0-1013.13USN-5977-1
Ubuntu:22.04:LTSlinux-oem-6.16.1.0-1008.8USN-5978-1
Ubuntu:22.04:LTSlinux-oem-6.16.1.0-1008.8UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-oracle5.15.0-1033.39UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-oracle5.15.0-1033.39USN-6025-1
Ubuntu:22.04:LTSlinux-raspi5.15.0-1027.29UBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-raspi5.15.0-1027.29USN-6025-1
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2023-1281
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2023-1281

Affected products (as reported)

VendorProductVersions
Linux Linux Kernel 4.14.0 – before 5.10.1695.11.0 – before 5.15.955.16.0 – before 6.1.13

Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References