« List of all CVEs

CVE-2024-0607

Kernel: nf_tables: pointer math issue in nft_byteorder_eval()

Published: 1/18/2024 Last updated: 11/20/2025 Reserved: 1/16/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.

CNA assigner: redhat (53f830b8-0a3f-465b-8143-3b8a9948e749) Requested by: n/a

Metrics

Version Score Severity Vector String
3.1 6.6 Medium CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

Opam packages affected (27)

albatross cdrom conf-bpftool conf-libbpf conf-linux-libc-dev core core_unix hvsock mirage-block-unix mm ocaml-probes orun rawlink rawlink-eio rawlink-lwt shell solo5 solo5-bindings-hvt solo5-bindings-spt solo5-cross-aarch64 solo5-kernel-ukvm tracy-client tuntap uring vhd-format vhd-format-lwt xapi-stdext-unix

Products affected (14)

Product Vendor Version
< 22.1R3-S4-EVO
Red Hat Enterprise Linux 6 Red Hat QAM8255P
Snapdragon 8 Gen 1 Mobile Platform
Red Hat Enterprise Linux 6 Red Hat Snapdragon 8+ Gen 1 Mobile Platform
Red Hat Enterprise Linux 7 Red Hat n/a
Red Hat Enterprise Linux 8 Red Hat Snapdragon 835 Mobile PC Platform
Red Hat Enterprise Linux 9 Red Hat Snapdragon 865 5G Mobile Platform
Red Hat Enterprise Linux 8 Red Hat n/a
Red Hat Enterprise Linux 9 Red Hat QAM8295P
Red Hat Enterprise Linux 7 Red Hat 11.3
Red Hat Enterprise Linux 9 Red Hat n/a
Red Hat Enterprise Linux 8 Red Hat < 22.2R3-S3-EVO
Red Hat Enterprise Linux 8 Red Hat n/a
Red Hat Enterprise Linux 7 Red Hat n/a

References (16)