CVE-2026-64006
netfilter: nf_tables: fix dst corruption in same register operation
Check your servers for CVE-2026-64006
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64006 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_tables: 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 test_table ip flags 0 use 1 handle 1 ip test_table test_chain use 3 type filter hook input prio 0 policy accept packets 0 bytes 0 flags 1 ip test_table test_chain 2 [ immediate reg 1 0x44332211 0x88776655 ] [ bitwise reg 1 = ( reg 1 << 0x08000000 ) ] [ cmp eq reg 1 0x66443322 0x00887766 ] [ counter pkts 0 bytes 0 ] ip test_table test_chain 4 3 [ immediate reg 1 0x44332211 0x88776655 ] [ bitwise reg 1 = ( reg 1 << 0x08000000 ) ] [ cmp eq reg 1 0x55443322 0x00887766 ] [ counter pkts 21794 bytes 1917798 ]
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.95% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 567d746b55bc66d3800c9ae91d50f0c5deb2fd93, before 95bf63844045e7948fd1aeb5e71b942e86ca0414 affected from 567d746b55bc66d3800c9ae91d50f0c5deb2fd93, before b80ef316e978de2ef81d5bee9c19800b4cf96fb8 affected from 567d746b55bc66d3800c9ae91d50f0c5deb2fd93, before 379ff8d40f59632bea1208956629c2a04067d403 affected from 567d746b55bc66d3800c9ae91d50f0c5deb2fd93, before 96bea2a7baac4a1137c188dc7610184487ab30a7 affected from 567d746b55bc66d3800c9ae91d50f0c5deb2fd93, before a391afe74398b70107f111aa731eab608624949d affected from 567d746b55bc66d3800c9ae91d50f0c5deb2fd93, before 18014147d3ee7831dce53fe65d7fc8d428b02552
Other versions: unaffected
|
| Linux |
affected 5.6 unaffected before 5.6 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.143 up to and including 6.6.* unaffected from 6.12.114 up to and including 6.12.* unaffected from 6.18.35 up to and including 6.18.* unaffected from 7.0.12 up to and including 7.0.* unaffected 7.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64006 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64006
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-64006
trivy image --scanners vuln IMAGE | grep CVE-2026-64006
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/95bf63844045e7948fd1aeb5e71b942e86ca0414 git.kernel.org
- https://git.kernel.org/stable/c/b80ef316e978de2ef81d5bee9c19800b4cf96fb8 git.kernel.org
- https://git.kernel.org/stable/c/379ff8d40f59632bea1208956629c2a04067d403 git.kernel.org
- https://git.kernel.org/stable/c/96bea2a7baac4a1137c188dc7610184487ab30a7 git.kernel.org
- https://git.kernel.org/stable/c/a391afe74398b70107f111aa731eab608624949d git.kernel.org
- https://git.kernel.org/stable/c/18014147d3ee7831dce53fe65d7fc8d428b02552 git.kernel.org
Source: the record CVE-2026-64006 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse