Skip to content
Heist/ feed
Unrated

netfilter: nf_tables: fix dst corruption in same register operation

Type: advisorySource: Official CVE List1 source record

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 ]

Announced Source revision 1
Original source ↗

CVE-2026-64006

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-64006

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "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": "379ff8d40f59632bea1208956629c2a04067d403",
        "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.12.114",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "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"
  }
]
Related CVEs
CVE-2026-64006

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#46413 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement