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

netfilter: nft_payload: fix mask build for partial field offload

nft_payload_offload_mask() builds the offload match mask for a payload
expression that covers only part of a header field. For a partial IPv6
address match (field_len = 16, priv_len = 1) that shift is 1 << 120, which
is undefined on the 32-bit int operand. It also trims only one word, so
the remaining words stay 0xffffffff (and when priv_len is a multiple of 4
the trim is skipped entirely), leaving the mask covering more bytes than
the rule matches.

UBSAN: shift-out-of-bounds in net/netfilter/nft_payload.c:278:20
shift exponent 120 is too large for 32-bit type 'int'
...

The match is byte-granular and struct nft_data is zero-initialised, so the
correct mask is simply the first priv_len bytes set to 0xff. Set those
bytes directly and drop the word/shift trimming; this removes the undefined
shift and no longer over-masks the trailing bytes.
Published: 2026-08-17
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, the function nft_payload_offload_mask constructs a filter mask for payload expressions that cover only part of a header field. A bug in the mask construction uses an undefined 32‑bit shift when handling partial IPv6 address matches, causing the mask to include more bytes than intended. This mis‑construction may cause netfilter to misclassify or drop packets that should be accepted—or, conversely, allow malformed packets to bypass expected rules, potentially leading to a denial of service in the packet‑processing path. This flaw aligns with CWE-1335.

Affected Systems

Linux kernel builds that include the unpatched nft_payload_offload_mask function are affected. The issue was fixed in the referenced kernel commits; any distribution that has not yet incorporated those changes remains vulnerable. If a system is running a kernel version older than the commit dates, it must be updated to a version that includes the patch.

Risk and Exploitability

The EPSS score of < 1% indicates a very low probability of exploitation, and the CVE is not listed in CISA KEV, suggesting limited known exploitation. Exploitation would require an attacker to inject crafted packets into the kernel packet‑processing path. The CVE description does not mention an explicit access requirement, so it is unclear whether local or privileged access is necessary. This statement is inferred from the description and not directly stated in the CVE record. The flaw does not provide direct code‑execution; rather, it can be used to subvert packet filtering or cause a denial of service. The CVSS score of 7.1 indicates a high severity.

Generated by OpenCVE AI on August 25, 2026 at 06:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that incorporates the patch from the listed commits; this corrects the nft_payload_offload_mask logic.
  • If an immediate kernel upgrade is not possible, restrict or disable the use of netfilter payload expressions that perform partial field matching until the patch can be applied.
  • Apply any distribution‑specific backported security updates and ensure that future kernel releases are tracked for related fixes.

Generated by OpenCVE AI on August 25, 2026 at 06:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6466-1 linux security update
History

Tue, 25 Aug 2026 05:45:00 +0000

Type Values Removed Values Added
Metrics 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'}

cvssV3_1

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


Wed, 19 Aug 2026 17:00:00 +0000


Tue, 18 Aug 2026 04:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-682

Tue, 18 Aug 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


Mon, 17 Aug 2026 08:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-682

Mon, 17 Aug 2026 05:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_payload: fix mask build for partial field offload nft_payload_offload_mask() builds the offload match mask for a payload expression that covers only part of a header field. For a partial IPv6 address match (field_len = 16, priv_len = 1) that shift is 1 << 120, which is undefined on the 32-bit int operand. It also trims only one word, so the remaining words stay 0xffffffff (and when priv_len is a multiple of 4 the trim is skipped entirely), leaving the mask covering more bytes than the rule matches. UBSAN: shift-out-of-bounds in net/netfilter/nft_payload.c:278:20 shift exponent 120 is too large for 32-bit type 'int' ... The match is byte-granular and struct nft_data is zero-initialised, so the correct mask is simply the first priv_len bytes set to 0xff. Set those bytes directly and drop the word/shift trimming; this removes the undefined shift and no longer over-masks the trailing bytes.
Title netfilter: nft_payload: fix mask build for partial field offload
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-08-25T05:40:05.144Z

Reserved: 2026-08-15T05:44:03.917Z

Link: CVE-2026-74579

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-17T06:19:56.417

Modified: 2026-08-25T06:18:30.677

Link: CVE-2026-74579

cve-icon Redhat

Severity : Low

Publid Date: 2026-08-17T00:00:00Z

Links: CVE-2026-74579 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T06:30:04Z

Weaknesses
  • CWE-1335

    Incorrect Bitwise Shift of Integer