CVE-2024-0607
Kernel: nf_tables: pointer math issue in nft_byteorder_eval()
Reported by redhat · Published January 18, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-livepatch-6.1.66-91.160 | Amazon Linux | 1.0-0.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.66-91.160.amzn2023, 4.14.343-259.562.amzn2 |
| kernel-modules-extra | Amazon Linux | 6.1.66-91.160.amzn2023 |
| perf | Amazon Linux | 6.1.66-91.160.amzn2023, 4.14.343-259.562.amzn2 |
| kernel-tools-devel | Amazon Linux | 6.1.66-91.160.amzn2023, 4.14.343-259.562.amzn2 |
| python-perf | Amazon Linux | 4.14.343-259.562.amzn2 |
| kernel-headers | Amazon Linux | 6.1.66-91.160.amzn2023, 4.14.343-259.562.amzn2 |
| kernel | Amazon Linux | 6.1.66-91.160.amzn2023, 4.14.343-259.562.amzn2 |
| kernel | git.kernel.org | 6.7-rc2 |
| python3-perf | Amazon Linux | 6.1.66-91.160.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.66-91.160.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.66-91.160.amzn2023, 4.14.343-259.562.amzn2 |
5 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0 | ||
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| 0 | ||
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 9 |
Timeline
- Jan 16, 2024 PoC Published (2 in total, the first dated here)
- Jan 18, 2024 CVE Published
- Jan 24, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (12 in total, the first dated here)
- Nov 20, 2025 CVE Updated
- Jun 2, 2026 Security Advisory (18 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (17 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-0607
vulnetix vdb fixes CVE-2024-0607
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-0607/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vdb-entryx_refsource_REDHAT
- RHBZ#2258635 issue-trackingx_refsource_REDHAT
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html url
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html url