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.
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
| 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.15-1 | DEBIAN-CVE-2023-1281 |
| Debian:13 | linux | 6.1.15-1 | DEBIAN-CVE-2023-1281 |
| Debian:14 | linux | 6.1.15-1 | DEBIAN-CVE-2023-1281 |
| 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-70.77 | USN-6025-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-70.77 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1034.38 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1034.38 | USN-6025-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1036.43 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1036.43 | USN-6025-1 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | 5.19.0-1023.24~22.04.1 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1036.43.1 | USN-6025-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1036.43.1 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1032.40 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1032.40 | USN-6025-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1031.36 | USN-6025-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1031.36 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1018.23 | USN-6025-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1018.23 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | 5.19.0-40.41~22.04.1 | USN-6024-1 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | 5.19.0-40.41~22.04.1 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1028.31 | USN-6025-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1028.31 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1028.33 | USN-6057-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1028.33 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1031.36 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1031.36 | USN-6025-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-70.77 | USN-6025-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-70.77 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | 5.19.0-1022.23~22.04.1 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1023.23 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | 5.17.0-1030.31 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | 5.17.0-1030.31 | USN-6031-1 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | 6.0.0-1013.13 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | 6.0.0-1013.13 | USN-5977-1 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1008.8 | USN-5978-1 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1008.8 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1033.39 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1033.39 | USN-6025-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1027.29 | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1027.29 | USN-6025-1 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-1281 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-1281 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://kernel.dance/#ee059170b1f7e94e55fa6cadee544e176a6e59c2
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ee059170b1f7e94e55fa6cadee544e176a6e59c2
- http://www.openwall.com/lists/oss-security/2023/04/11/3
- https://security.netapp.com/advisory/ntap-20230427-0004/
- https://lists.debian.org/debian-lts-announce/2023/05/msg00005.html
- https://lists.debian.org/debian-lts-announce/2023/05/msg00006.html