CVE-2026-64006CWE-682

CVE-2026-64006

Medium · published July 19, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
2.0
In the wild
Unconfirmed
What it is

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 ]

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00125 · 2.0th percentile
Weakness
CWE-682 · Incorrect Calculation
Published
2026-07-19T20:17Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 5.6, < 6.6.1436.6.143
linux/linux_kernel≥ 6.7, < 6.18.356.18.35
linux/linux_kernel≥ 6.19, < 7.0.127.0.12
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (5)
EPSS history
Timeline
  • 19 JUL 14:56Z
    netfilter: nf_tables: fix dst corruption in same register operation
    cvelistv5