CVE-2024-0607

Kernel: nf_tables: pointer math issue in nft_byteorder_eval()

Published Jan 18, 2024 CVSS 3.1 · 6.6 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

To mitigate this issue, it is possible to prevent the affected code from being loaded by blacklisting the kernel netfilter module. For instructions relating to how to blacklist a kernel module refer to: https://access.redhat.com/solutions/41278

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3840-1 linux security update
Debian DLA Debian DLA DLA-3842-1 linux-5.10 security update
Debian DSA Debian DSA DSA-5681-1 linux security update
EUVD EUVD EUVD-2024-16400 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.
Ubuntu USN Ubuntu USN USN-6639-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-6680-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6680-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6680-3 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-6686-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6686-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6686-3 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-6686-4 Linux kernel (KVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-6686-5 Linux kernel (Intel IoTG) vulnerabilities
Ubuntu USN Ubuntu USN USN-6705-1 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-6726-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6726-2 Linux kernel (IoT) vulnerabilities
Ubuntu USN Ubuntu USN USN-6726-3 Linux kernel (Xilinx ZynqMP) vulnerabilities
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
First Time appeared Debian
Debian debian Linux
CPEs cpe:2.3:o:linux:linux_kernel:6.7:rc1:*:*:*:*:*:* cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
Vendors & Products Debian
Debian debian Linux
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 5, 2026, 11:39 AM
Reserved
Jan 16, 2024, 4:45 PM
Status
Analyzed
Published
Jan 18, 2024, 4:15 PM
Modified
Nov 5, 2026, 12:17 PM
Severity
Moderate
Public date
Jan 16, 2024, 12:00 AM