CVE-2026-64006
netfilter: nf_tables: fix dst corruption in same register operation
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 ]
INFO
Published Date :
July 19, 2026, 4:17 p.m.
Last Modified :
Oct. 30, 2026, 1:19 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Apply the provided kernel patch.
- Update the Linux kernel.
- Rebuild the kernel with the patch.
- Test the fix thoroughly.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-64006.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-64006 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-64006
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-64006 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-64006 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 30, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/64xxx/CVE-2026-64006.json">CVE-2026-64006</a> Added Reference https://git.kernel.org/stable/c/95bf63844045e7948fd1aeb5e71b942e86ca0414 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 21, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/64xxx/CVE-2026-64006.json">CVE-2026-64006</a> Added Reference https://git.kernel.org/stable/c/18014147d3ee7831dce53fe65d7fc8d428b02552 Added Reference https://git.kernel.org/stable/c/379ff8d40f59632bea1208956629c2a04067d403 Added Reference https://git.kernel.org/stable/c/96bea2a7baac4a1137c188dc7610184487ab30a7 Added Reference https://git.kernel.org/stable/c/a391afe74398b70107f111aa731eab608624949d Added Reference https://git.kernel.org/stable/c/b80ef316e978de2ef81d5bee9c19800b4cf96fb8 Removed Reference https://git.kernel.org/stable/c/18014147d3ee7831dce53fe65d7fc8d428b02552 Removed Reference https://git.kernel.org/stable/c/96bea2a7baac4a1137c188dc7610184487ab30a7 Removed Reference https://git.kernel.org/stable/c/a391afe74398b70107f111aa731eab608624949d Removed Reference https://git.kernel.org/stable/c/b80ef316e978de2ef81d5bee9c19800b4cf96fb8 Removed Reference Type https://git.kernel.org/stable/c/18014147d3ee7831dce53fe65d7fc8d428b02552 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/96bea2a7baac4a1137c188dc7610184487ab30a7 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/a391afe74398b70107f111aa731eab608624949d Types: Patch Removed Reference Type https://git.kernel.org/stable/c/b80ef316e978de2ef81d5bee9c19800b4cf96fb8 Types: Patch -
Initial Analysis by [email protected]
Oct. 13, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-682 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.12 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.18.35 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.6 up to (excluding) 6.6.143 Added Reference Type kernel.org: https://git.kernel.org/stable/c/18014147d3ee7831dce53fe65d7fc8d428b02552 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/96bea2a7baac4a1137c188dc7610184487ab30a7 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/a391afe74398b70107f111aa731eab608624949d Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b80ef316e978de2ef81d5bee9c19800b4cf96fb8 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 19, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '567d746b55bc66d3800c9ae91d50f0c5deb2fd93', 'lessThan': 'b80ef316e978de2ef81d5bee9c19800b4cf96fb8', 'versionType': 'git'}, {'status': 'affected', 'version': '567d746b55bc66d3800c9ae91d50f0c5deb2fd93', 'lessThan': '96bea2a7baac4a1137c188dc7610184487ab30a7', 'versionType': 'git'}, {'status': 'affected', 'version': '567d746b55bc66d3800c9ae91d50f0c5deb2fd93', 'lessThan': 'a391afe74398b70107f111aa731eab608624949d', 'versionType': 'git'}, {'status': 'affected', 'version': '567d746b55bc66d3800c9ae91d50f0c5deb2fd93', 'lessThan': '18014147d3ee7831dce53fe65d7fc8d428b02552', 'versionType': 'git'}], 'programFiles': ['include/net/netfilter/nf_tables.h', 'net/netfilter/nft_bitwise.c', 'net/netfilter/nft_byteorder.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.6'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.6', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.143', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.18.35', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.12', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['include/net/netfilter/nf_tables.h', 'net/netfilter/nft_bitwise.c', 'net/netfilter/nft_byteorder.c'], 'defaultStatus': 'affected'}] Added 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 ] Added Reference https://git.kernel.org/stable/c/18014147d3ee7831dce53fe65d7fc8d428b02552 Added Reference https://git.kernel.org/stable/c/96bea2a7baac4a1137c188dc7610184487ab30a7 Added Reference https://git.kernel.org/stable/c/a391afe74398b70107f111aa731eab608624949d Added Reference https://git.kernel.org/stable/c/b80ef316e978de2ef81d5bee9c19800b4cf96fb8