Kernel: nf_tables: pointer math issue in nft_byteorder_eval()

Summary

CVECVE-2024-0607
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-01-18 16:15:08 UTC
Updated2026-10-16 15:16:08 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 6.6 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

Problem Types: CWE-229 | NVD-CWE-Other | CWE-229 Improper Handling of Values


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary6.6MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
3.1[email protected]Secondary6.6MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
3.1CNACVSS6.6MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Operating System Fedoraproject Fedora 39 All All All
Operating System Linux Linux Kernel All All All All
Operating System Redhat Enterprise Linux 8.0 All All All
Operating System Redhat Enterprise Linux 9.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 Not specified Not specified

References

ReferenceSourceLinkTags
2258635 – (CVE-2024-0607) CVE-2024-0607 kernel: nf_tables: pointer math issue in nft_byteorder_eval() af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory
lists.debian.org/debian-lts-announce/2024/06/msg00017.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
cve-details af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
netfilter: nf_tables: fix pointer math issue in nft_byteorder_eval() · torvalds/linux@c301f09 · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch
lists.debian.org/debian-lts-announce/2024/06/msg00020.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2024-01-16T00:00:00.000ZReported to Red Hat.
CNA2024-01-16T00:00:00.000ZMade public.

Workarounds

CNA: 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

Legacy QID Mappings

  • 161470 Oracle Enterprise Linux Security Update for unbreakable enterprise kernel-container (ELSA-2024-12274)
  • 161471 Oracle Enterprise Linux Security Update for unbreakable enterprise kernel (ELSA-2024-12271)
  • 161472 Oracle Enterprise Linux Security Update for unbreakable enterprise kernel-container (ELSA-2024-12275)
  • 200116 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-6639-1)
  • 200173 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6680-1)
  • 200178 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6680-2)
  • 200179 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6686-1)
  • 200191 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6686-2)
  • 200204 Ubuntu Security Notification for Linux kernel (AWS) Vulnerabilities (USN-6680-3)
  • 200206 Ubuntu Security Notification for Linux kernel (Oracle) Vulnerabilities (USN-6686-3)
  • 200208 Ubuntu Security Notification for Linux kernel (KVM) Vulnerabilities (USN-6686-4)
  • 200214 Ubuntu Security Notification for Linux kernel (AWS) Vulnerabilities (USN-6705-1)
  • 200231 Ubuntu Security Notification for Linux kernel (Intel IoTG) Vulnerabilities (USN-6686-5)
  • 200241 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6726-1)
  • 357101 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.10-2024-048
  • 357112 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.4-2024-059
  • 6140297 AWS Bottlerocket Security Update for kernel (GHSA-hch2-x9fp-jm55)
  • 673723 EulerOS Security Update for kernel (EulerOS-SA-2024-1237)
  • 673992 EulerOS Security Update for kernel (EulerOS-SA-2024-1215)
  • 674156 EulerOS Security Update for kernel (EulerOS-SA-2024-1509)
  • 674158 EulerOS Security Update for kernel (EulerOS-SA-2024-1488)
  • 755965 SUSE Enterprise Linux Security Update for the linux kernel (SUSE-SU-2024:0858-1)
  • 755966 SUSE Enterprise Linux Security Update for the linux kernel (SUSE-SU-2024:0857-1)
  • 755988 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0975-1)
  • 756004 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0926-1)
  • 756005 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0925-1)
  • 756010 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0977-1)
  • 907972 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (33913-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report