Linux Kernel nftables nft_byteorder_eval Out-of-Bounds Memory Access
CVE-2023-35001 is an out-of-bounds memory-access vulnerability in the Linux kernel's Netfilter nftables subsystem. Improper handling of nftables virtual-machine register contents in nft_byteorder_eval(), involving incorrect data alignment and failed bounds checking, can cause out-of-bounds reads and writes. A local attacker with CAP_NET_ADMIN in a user or network namespace can exploit the flaw to escalate privileges. The vulnerability is also characterized as a stack out-of-bounds read.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can cause local privilege escalation and compromise kernel memory confidentiality and integrity. Out-of-bounds memory access may disclose kernel information, corrupt memory, or crash the system, affecting availability. The vulnerability has a CVSS v3.1 base score of 7.8, with high confidentiality, integrity, and availability impacts.
If you can’t patch tonight, do this now.
Where nftables functionality is not required, blacklist the affected Netfilter kernel module to prevent the vulnerable code from loading. Ensure it is not already loaded; blacklisting alone does not disable a module already active in the running kernel. Disabling this functionality may affect firewalling and container networking.
Patch, then assume compromise.
Install the distribution-provided kernel update addressing CVE-2023-35001 and reboot into the updated kernel. Fixed releases include RHEL 7 kernel 3.10.0-1160.102.1.el7, RHEL 7.6 AUS kernel 3.10.0-957.106.1.el7, RHEL 7.7 AUS kernel 3.10.0-1062.80.1.el7, and supported RHEL 8.4 variants at kernel 4.18.0-305.103.1.el8_4. Other RHEL releases should apply their applicable kernel or kernel-rt security advisory. Supported systems can alternatively apply the matching vendor kpatch update and verify that the live patch is active. Ubuntu systems should apply the kernel fixes identified in USN-6250-1; supported CentOS systems should apply the applicable TuxCare updates.
1 exploit validated by Mallory's analysis.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
35 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.