CVE-2026-46101

netfilter: reject zero shift in nft_bitwise

State
Published
Severity
Not scored
Published
May 27, 2026
Updated
Oct 15, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

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

netfilter: reject zero shift in nft_bitwise

Reject zero shift operands for nft_bitwise left and right shift expressions during initialization.

The carry propagation logic computes the carry from the adjacent 32-bit word using BITS_PER_TYPE(u32) - shift. A zero shift operand turns this into a 32-bit shift, which is undefined behaviour.

Reject zero shift operands in the control plane, alongside the existing check for values greater than or equal to 32, so malformed rules never reach the packet path.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 567d746b55bc66d3800c9ae91d50f0c5deb2fd93 to before 9baa08d6b6b096fad70049533f0d705d85fdc979Affected
  • 567d746b55bc66d3800c9ae91d50f0c5deb2fd93 to before 4fccea585631621c975883911a08d15b6671f7dcAffected
  • 567d746b55bc66d3800c9ae91d50f0c5deb2fd93 to before 9ad26c272405f53834871cc2e46b9b5393a666c3Affected
  • 567d746b55bc66d3800c9ae91d50f0c5deb2fd93 to before bffef0acec9c3b837a785248a893137fb7f26c95Affected
  • 567d746b55bc66d3800c9ae91d50f0c5deb2fd93 to before ca24f1243ad1a4d12d6a23876bbbe3ed02099853Affected
  • 567d746b55bc66d3800c9ae91d50f0c5deb2fd93 to before 6f820139d16a4c9865a145d4a9cf9c92cc632c14Affected
  • 567d746b55bc66d3800c9ae91d50f0c5deb2fd93 to before f370205974f171a5868c13ff30d7642fed46e47bAffected
  • 567d746b55bc66d3800c9ae91d50f0c5deb2fd93 to before fe11e5c40817b84abaa5d83bfb6586d8412bfd07Affected
LinuxLinux
  • 5.6Affected
  • before 5.6Not affected
  • 5.10.258 through 5.10.*Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.140 through 6.6.*Not affected
  • 6.12.86 through 6.12.*Not affected
  • 6.18.27 through 6.18.*Not affected
  • 7.0.4 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.