Vulnerability · Published Jan 18, 2024 · Assigned by redhat
CVE-2024-0607Kernel: nf_tables: pointer math issue in nft_byteorder_eval()
Medium 6.6
In plain English
A medium-severity security flaw in kernel. 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 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A flaw was found in the Netfilter subsystem in the Linux kernel. The issue is in the nft_byteorder_eval() function, where the code iterates through a loop and writes to the `dst` array. On each iteration, 8 bytes are written, but `dst` is an array of u32, so each element only has space for 4 bytes. That means every iteration overwrites part of the previous element corrupting this array of u32. This flaw allows a local user to cause a denial of service or potentially break NetFilter functionality.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.64-1 | DEBIAN-CVE-2024-0607 |
| Debian:13 | linux | 6.5.13-1 | DEBIAN-CVE-2024-0607 |
| Debian:14 | linux | 6.5.13-1 | DEBIAN-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux | 5.15.0-100.110 | USN-6686-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-100.110 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1056.61 | USN-6705-1 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1056.61 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | 6.5.0-1015.15~22.04.1 | USN-6680-3 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | 6.5.0-1015.15~22.04.1 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1058.66 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1058.66 | USN-6686-1 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | 6.5.0-1016.16~22.04.1 | USN-6680-2 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | 6.5.0-1016.16~22.04.1 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1058.66.1 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1058.66.1 | USN-6686-1 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1053.61 | USN-6686-1 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1053.61 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | 6.5.0-1015.15~22.04.1 | USN-6680-1 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | 6.5.0-1015.15~22.04.1 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1052.57 | USN-6686-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1052.57 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1038.44 | USN-6686-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1038.44 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | 6.5.0-25.25~22.04.1 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | 6.5.0-25.25~22.04.1 | USN-6680-2 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1048.51 | USN-6686-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1048.51 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1050.56 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1050.56 | USN-6686-5 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1052.57 | USN-6686-4 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1052.57 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-100.110 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-100.110 | USN-6686-2 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | 6.5.0-25.25.1~22.04.1 | USN-6680-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1046.46 | USN-6686-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1046.46 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | 6.5.0-1014.14 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1025.25 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1012.12 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1033.33 | USN-6639-1 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1033.33 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | 6.5.0-1016.17 | USN-6680-1 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | 6.5.0-1016.17 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1053.59 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1053.59 | USN-6686-3 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1048.51 | USN-6686-2 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1048.51 | UBUNTU-CVE-2024-0607 |
| Ubuntu:24.04:LTS | linux-raspi | 6.7.0-1001.1 | UBUNTU-CVE-2024-0607 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | 6.5.0-25.25.1~22.04.1 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | 6.5.0-1009.10~22.04.1 | UBUNTU-CVE-2024-0607 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | 6.5.0-1009.10~22.04.1 | USN-6680-1 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1030.34 | UBUNTU-CVE-2024-0607 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| kernel | 0 – before 6.7-rc2 | |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
Weakness: CWE-229 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
References
- https://access.redhat.com/security/cve/CVE-2024-0607 vdb-entry, x_refsource_REDHAT
- RHBZ#2258635 issue-tracking, x_refsource_REDHAT
- https://github.com/torvalds/linux/commit/c301f0981fdd3fd1ffac6836b423c4d7a8e0eb63
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html x_transferred
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html x_transferred