Skip to content
Threat Brief

← All advisories

CVE-2024-0607

Medium 6.6No known exploitationFix available

Kernel: nf_tables: pointer math issue in nft_byteorder_eval()

Record last updated

CVSS score

6.6

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.3%

Higher than 18% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-229

Patching and mitigation

Patch status
Fix available (source: NVD (reference tagged Patch))
Fix documented (source date)
Mitigation
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
Vendor guidance
bugzilla.redhat.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
Red HatRed Hat Enterprise Linux 8Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 8Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 9Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 9Not documentedNot documentedCVE Program
debiandebian_linux10.0Not documentedNIST NVD
fedoraprojectfedora39Not documentedNIST NVD
linuxlinux_kernelall versions before 6.6.36.6.3NIST NVD
redhatenterprise_linux8.0Not documentedNIST NVD
redhatenterprise_linux9.0Not documentedNIST NVD
Red HatRed Hat Enterprise Linux 6 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 7 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 7 (status unknown)Not documentedNot documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by redhat

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by NVD (reference tagged Patch)

    Source: NVD (reference tagged Patch) (opens in a new tab)

Vendor guidance and references