Vulnerability · Published Jul 29, 2024 · Assigned by Linux
CVE-2024-42070netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers
Medium 5.5
In plain English
A medium-severity security flaw in Linux 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 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers register store validation for NFT_DATA_VALUE is conditional, however, the datatype is always either NFT_DATA_VALUE or NFT_DATA_VERDICT. This only requires a new helper function to infer the register type from the set datatype so this conditional check can be removed. Otherwise, pointer to chain object can be leaked through the registers.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-core | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-debug | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-devel | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-doc | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-headers | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-modules | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-rt | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux:8 | kernel-rt-core | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux:8 | kernel-rt-debug | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux:8 | kernel-rt-debug-core | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux:8 | kernel-rt-debug-devel | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux:8 | kernel-rt-debug-modules | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux:8 | kernel-rt-devel | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux:8 | kernel-rt-modules | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux:8 | kernel-rt-modules-extra | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux:8 | kernel-tools | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-zfcpdump | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-zfcpdump-core | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | perf | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux:8 | python3-perf | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| Debian:12 | linux | 6.1.98-1 | DEBIAN-CVE-2024-42070 |
| Debian:13 | linux | 6.9.8-1 | DEBIAN-CVE-2024-42070 |
| Debian:14 | linux | 6.9.8-1 | DEBIAN-CVE-2024-42070 |
| Rocky Linux:8 | kernel | 0:4.18.0-553.27.1.el8_10 | RLSA-2024:8856 |
| Rocky Linux:8 | kernel-rt | 0:4.18.0-553.27.1.rt7.368.el8_10 | RLSA-2024:8870 |
| Ubuntu:22.04:LTS | linux | 5.15.0-121.131 | UBUNTU-CVE-2024-42070 |
| Ubuntu:24.04:LTS | linux | 6.8.0-48.48 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1069.75 | UBUNTU-CVE-2024-42070 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1018.20 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1018.19~22.04.1 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1072.81 | UBUNTU-CVE-2024-42070 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1017.20 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1017.20~22.04.1 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1072.81.1 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1068.76 | UBUNTU-CVE-2024-42070 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1017.19 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1017.19~22.04.1 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1066.72 | UBUNTU-CVE-2024-42070 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1013.17 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1052.59 | UBUNTU-CVE-2024-42070 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1002.4 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-48.48~22.04.1 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1062.65 | UBUNTU-CVE-2024-42070 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1015.15 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1015.15~22.04.1 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1064.70 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1066.71 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-121.131 | UBUNTU-CVE-2024-42070 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-48.48.3 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-48.48.3~22.04.1 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1064.65 | UBUNTU-CVE-2024-42070 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1017.19 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1017.19~22.04.1 | UBUNTU-CVE-2024-42070 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1017.19.1 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1028.28 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1016.16 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | 6.8.0-1016.16 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1067.73 | UBUNTU-CVE-2024-42070 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1015.16 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1015.15~22.04.1 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1062.65 | UBUNTU-CVE-2024-42070 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1014.16 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:24.04:LTS | linux-riscv | 6.8.0-48.48.1 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-48.48.1~22.04.2 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2024-42070 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1009.10 | UBUNTU-CVE-2024-42070 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1035.39 | UBUNTU-CVE-2024-42070 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 96518518cc417bb0a8c80b9fb736202e28acdf96 – before 40188a25a9847dbeb7ec67517174a835a677752f96518518cc417bb0a8c80b9fb736202e28acdf96 – before 23752737c6a618e994f9a310ec2568881a6b49c496518518cc417bb0a8c80b9fb736202e28acdf96 – before 5d43d789b57943720dca4181a05f6477362b94cf96518518cc417bb0a8c80b9fb736202e28acdf96 – before 461302e07f49687ffe7d105fa0a330c07c7646d896518518cc417bb0a8c80b9fb736202e28acdf96 – before efb27ad05949403848f487823b597ed67060e00796518518cc417bb0a8c80b9fb736202e28acdf96 – before 952bf8df222599baadbd4f838a49c4fef81d256496518518cc417bb0a8c80b9fb736202e28acdf96 – before 41a6375d48deaf7f730304b5153848bfa1c2980f96518518cc417bb0a8c80b9fb736202e28acdf96 – before 7931d32955e09d0a11b1fe0b6aac1bfa061c005c |
| Linux | Linux | 3.13 |
References
- https://git.kernel.org/stable/c/40188a25a9847dbeb7ec67517174a835a677752f
- https://git.kernel.org/stable/c/23752737c6a618e994f9a310ec2568881a6b49c4
- https://git.kernel.org/stable/c/5d43d789b57943720dca4181a05f6477362b94cf
- https://git.kernel.org/stable/c/461302e07f49687ffe7d105fa0a330c07c7646d8
- https://git.kernel.org/stable/c/efb27ad05949403848f487823b597ed67060e007
- https://git.kernel.org/stable/c/952bf8df222599baadbd4f838a49c4fef81d2564
- https://git.kernel.org/stable/c/41a6375d48deaf7f730304b5153848bfa1c2980f
- https://git.kernel.org/stable/c/7931d32955e09d0a11b1fe0b6aac1bfa061c005c
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html