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.
Published: 2026-05-27
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability exists in the Linux kernel's nftables module. During packet filtering rule initialization the library accepts shift operators with a zero shift value. The kernel then performs a 32-bit shift operation to propagate carry bits, which is undefined behaviour and can corrupt the kernel's internal state. Maliciously crafted nftables rules that use a zero shift can trigger a kernel crash or denial-of-service condition, potentially affecting the entire operating system. The weakness is an input validation failure (CWE-20) and a failure to guard against undefined behavior (CWE-1335) in the control plane of the nft_bitwise expression.

Affected Systems

All Linux kernels that implement the nft_bitwise expression without the new zero‑shift check are affected. The vulnerability is not limited to a single vendor; it applies to every distribution that ships the affected kernel code. The precise kernel version that was patched is not specified in the advisory.

Risk and Exploitability

No EPSS score is available and the vulnerability is not listed in CISA KEV, so public exploitation data is currently unknown. The CVSS score of 5.5 indicates moderate severity, reflecting a kernel‑level undefined behavior that can lead to a crash. The attack vector is inferred to be remote in that a malicious user can supply a crafted nftables rule, which is plausible for both local administrators and attackers with sufficient privileges to modify firewall rules. Because the bug is confined to the control plane and must be triggered during rule compilation, it is not a low‑effort remote code execution flaw, but a denial of service that can be triggered by poorly validated rules.

Generated by OpenCVE AI on May 28, 2026 at 02:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that contains the fix for the nft_bitwise zero‑shift check.
  • Verify that nftables rules do not use zero‑shift operands; using nft -c or other validation tools can catch them before they are applied.
  • For operating systems that cannot be immediately updated, monitor the kernel logs for panic messages caused by nft_bitwise processing and consider temporarily disabling nft_bitwise functionality if it is not required.

Generated by OpenCVE AI on May 28, 2026 at 02:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 01 Jun 2026 17:00:00 +0000


Thu, 28 May 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1335
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Wed, 27 May 2026 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
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.
Title netfilter: reject zero shift in nft_bitwise
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-14T17:54:30.068Z

Reserved: 2026-05-13T15:03:33.097Z

Link: CVE-2026-46101

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-27T14:17:32.147

Modified: 2026-06-01T17:17:23.950

Link: CVE-2026-46101

cve-icon Redhat

Severity : Low

Publid Date: 2026-05-27T00:00:00Z

Links: CVE-2026-46101 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T04:00:07Z

Weaknesses
  • CWE-1335

    Incorrect Bitwise Shift of Integer

  • CWE-20

    Improper Input Validation