Vulnerability · Published Sep 6, 2023 · Assigned by Google
CVE-2023-4015Use-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 22% 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. On an error when building a nftables rule, deactivating immediate expressions in nft_immediate_deactivate() can lead unbinding the chain and objects be deactivated but later used. We recommend upgrading past commit 0a771f7b266b02d262900c75f1e175c7fe76fec2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.52-1 | DSA-5492-1 |
| Debian:12 | linux | 6.1.52-1 | DEBIAN-CVE-2023-4015 |
| Debian:13 | linux | 6.4.11-1 | DEBIAN-CVE-2023-4015 |
| Debian:14 | linux | 6.4.11-1 | DEBIAN-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux | 5.15.0-82.91 | USN-6315-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-82.91 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1043.48 | USN-6315-1 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1043.48 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | 6.2.0-1010.10~22.04.1 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | 6.2.0-1010.10~22.04.1 | USN-6318-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1045.52 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1045.52 | USN-6332-1 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1045.52.1 | USN-6332-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1045.52.1 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1040.48 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1040.48 | USN-6315-1 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1040.45 | USN-6315-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1040.45 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1026.31 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1026.31 | USN-6315-1 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | 6.2.0-31.31~22.04.1 | USN-6318-1 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | 6.2.0-31.31~22.04.1 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1036.39 | USN-6315-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1036.39 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1038.43 | USN-6325-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1038.43 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1040.45 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1040.45 | USN-6315-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-82.91 | USN-6315-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-82.91 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | 6.2.0-1011.11~22.04.1 | USN-6318-1 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | 6.2.0-1011.11~22.04.1 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1031.31 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1031.31 | USN-6315-1 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1017.17 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1004.4 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | 6.0.0-1021.21 | USN-6385-1 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | 6.0.0-1021.21 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1020.20 | USN-6316-1 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1020.20 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1041.47 | USN-6315-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1041.47 | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1036.39 | USN-6348-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1036.39 | UBUNTU-CVE-2023-4015 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2023-4015 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1025.29 | UBUNTU-CVE-2023-4015 |
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=0a771f7b266b02d262900c75f1e175c7fe76fec2 patch
- https://kernel.dance/0a771f7b266b02d262900c75f1e175c7fe76fec2
- https://www.debian.org/security/2023/dsa-5492
- https://cert-portal.siemens.com/productcert/html/ssa-831302.html
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html