Vulnerability · Published Dec 18, 2023 · Assigned by Google
CVE-2023-6817Use-after-free in Linux kernel's netfilter: nf_tables 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 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation. The function nft_pipapo_walk did not skip inactive elements during set walk which could lead double deactivations of PIPAPO (Pile Packet Policies) elements, leading to use-after-free. We recommend upgrading past commit 317eb9685095678f2c9f5a8189de698c5354316a.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-core | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-debug | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-devel | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-doc | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-modules | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-tools | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-zfcpdump | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-zfcpdump-core | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | perf | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| AlmaLinux:8 | python3-perf | 4.18.0-513.18.1.el8_9 | ALSA-2024:0897 |
| Debian:12 | linux | 6.1.69-1 | DSA-5593-1 |
| Debian:12 | linux | 6.1.69-1 | DEBIAN-CVE-2023-6817 |
| Debian:13 | linux | 6.6.8-1 | DEBIAN-CVE-2023-6817 |
| Debian:14 | linux | 6.6.8-1 | DEBIAN-CVE-2023-6817 |
| Rocky Linux:9 | kernel | 0:5.14.0-362.24.1.el9_3.cloud.0.6 | RXSA-2024:1248 |
| Ubuntu:22.04:LTS | linux | 5.15.0-92.102 | USN-6609-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-92.102 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1052.57 | USN-6609-1 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1052.57 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | 6.2.0-1018.18~22.04.1 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | 6.2.0-1018.18~22.04.1 | USN-6608-1 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | 6.5.0-1012.12~22.04.1 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1054.62 | USN-6607-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1054.62 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | 6.2.0-1019.19~22.04.1 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | 6.2.0-1019.19~22.04.1 | USN-6608-1 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | 6.5.0-1011.11~22.04.1 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1054.62.1 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1054.62.1 | USN-6607-1 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | 6.2.0-1019.19~22.04.1.1 | USN-6608-1 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | 6.2.0-1019.19~22.04.1.1 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1049.57 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1049.57 | USN-6609-1 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | 6.2.0-1021.23~22.04.1 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | 6.2.0-1021.23~22.04.1 | USN-6635-1 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | 6.5.0-1011.11~22.04.1 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1049.54 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1049.54 | USN-6609-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1035.41 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1035.41 | USN-6609-1 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | 6.5.0-15.15~22.04.1 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | 6.5.0-15.15~22.04.1 | USN-6608-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1045.48 | USN-6609-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1045.48 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1047.53 | USN-6628-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1047.53 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1049.54 | USN-6609-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1049.54 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-92.102 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | 6.5.0-15.15.1.1~22.04.1 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | 6.5.0-15.15.1.1~22.04.1 | USN-6608-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1043.43 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1043.43 | USN-6609-2 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | 6.2.0-1015.15 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | 6.2.0-1015.15 | USN-6608-2 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | 6.5.0-1014.14 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1021.21 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1008.8 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1029.29 | USN-6606-1 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1029.29 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | 6.5.0-1013.14 | USN-6608-1 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | 6.5.0-1013.14 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1050.56 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1050.56 | USN-6609-3 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | 6.5.0-1014.14~22.04.1 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1045.48 | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1045.48 | USN-6609-1 |
| Ubuntu:24.04:LTS | linux-raspi | 6.7.0-1001.1 | UBUNTU-CVE-2023-6817 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2023-6817 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1027.31 | UBUNTU-CVE-2023-6817 |
Affected products (as reported)
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=317eb9685095678f2c9f5a8189de698c5354316a patch
- https://kernel.dance/317eb9685095678f2c9f5a8189de698c5354316a
- http://www.openwall.com/lists/oss-security/2023/12/22/6
- http://www.openwall.com/lists/oss-security/2023/12/22/13
- https://lists.debian.org/debian-lts-announce/2024/01/msg00005.html
- http://packetstormsecurity.com/files/177029/Kernel-Live-Patch-Security-Notice-LSN-0100-1.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html