All reports
Low

kernel: netfilter: xt_connmark: reject invalid shift parameters

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-72347

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-20

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: xt_connmark: reject invalid shift parameters Revision 2 of the CONNMARK target accepts user-controlled shift parameters and applies them to 32-bit mark values in connmark_tg_shift(). A shift_bits value of 32 or more triggers an undefined-shift bug when the rule is evaluated. Invalid shift_dir values are also accepted and silently fall back to the left-shift path. Reject invalid revision-2 shift parameters in connmark_tg_check() so malformed rules fail at installation time, before they can reach the packet path.

A flaw was found in the Linux kernel's netfilter xt_connmark module. This vulnerability occurs because the CONNMARK target, specifically revision 2, accepts user-controlled shift parameters without proper validation. An attacker with the ability to create netfilter rules could provide a shift_bits value of 32 or more, triggering an undefined-shift bug. This could lead to undefined behavior, potentially causing system instability or a denial of service.