CVE-2026-64006: netfilter: nf_tables: fix dst corruption in same register operation

Published Jul 19, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nftables: fix dst corruption in same register operation

For lshift and rshift, the shift operations are performed in a loop over 32-bit words. The loop calculates the shifted value and write it to dst, and then immediately reads from src to calculate the carry for the next iteration. Because src and dst could point to the same memory location, the carry is incorrectly calculated using the newly modified dst value instead of the original src value.

Adding a temporary local variable to cache the original value before writing to dst and using it for the carry calculation solves the problem. In addition, partial overlap is rejected from control plane for all kind of operations including byteorder. This was tested with the following bytecode:

table testtable ip flags 0 use 1 handle 1 ip testtable testchain use 3 type filter hook input prio 0 policy accept packets 0 bytes 0 flags 1 ip testtable testchain 2 [ immediate reg 1 0x44332211 0x88776655 ] [ bitwise reg 1 = ( reg 1 << 0x08000000 ) ] [ cmp eq reg 1 0x66443322 0x00887766 ] [ counter pkts 0 bytes 0 ] ip testtable testchain 4 3 [ immediate reg 1 0x44332211 0x88776655 ] [ bitwise reg 1 = ( reg 1 << 0x08000000 ) ] [ cmp eq reg 1 0x55443322 0x00887766 ] [ counter pkts 21794 bytes 1917798 ]

Affected Software

9 affected components
Linux Linux kernel
Linux Linux kernel>=5.6<6.6.143
Linux Linux kernel>=6.7<6.18.35
Linux Linux kernel>=6.19<7.0.12
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4
Linux Linux kernel=7.1-rc5

Event History

Jul 19, 2026
CVE Published
via MITRE·02:56 PM
Data Sourced
via MITRE·02:56 PM
Description
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-64006?

CVE-2026-64006 has a risk rating of 37.

2

How do I fix CVE-2026-64006?

To fix CVE-2026-64006, ensure that your Linux kernel is updated to the latest version where the vulnerability has been patched.

3

What does CVE-2026-64006 affect?

CVE-2026-64006 affects the netfilter module in the Linux kernel.

4

What type of vulnerability is CVE-2026-64006?

CVE-2026-64006 is a vulnerability related to destination (dst) corruption during shift operations.

5

When was CVE-2026-64006 published?

CVE-2026-64006 was published on July 19, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203