CVE-2024-0607 — Kernel: nf_tables: pointer math issue in nft_byteorder_eval()

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.

Published

CVSS 3.1 score 6.6 out of 10.

Related technologies

Reported versions and fixes

  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product — Reported version range cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*

Source evidence