CVE-2026-74579: netfilter: nft_payload: fix mask build for partial field offload

Published Aug 17, 2026
·
Updated

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

netfilter: nftpayload: fix mask build for partial field offload

nftpayloadoffloadmask() builds the offload match mask for a payload expression that covers only part of a header field. For a partial IPv6 address match (fieldlen = 16, privlen = 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 privlen 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/nftpayload.c:278:20 shift exponent 120 is too large for 32-bit type 'int' ...

The match is byte-granular and struct nftdata is zero-initialised, so the correct mask is simply the first privlen 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.

Affected Software

2 affected componentsFixes available
Linux Kernel
Microsoft azl3 kernel 6.6.150.1-1<6.6.152.1-1
6.6.152.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.152.1-1

Event History

Aug 17, 2026
CVE Published
via MITRE·05:28 AM
Data Sourced
via MITRE·05:28 AM
DescriptionSeverity
Data Sourced
via NVD·06:19 AM
DescriptionSeverity
Aug 21, 2026
Data Sourced
via Microsoft·04:58 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-74579?

The severity of CVE-2026-74579 is rated at 27.

2

How do I fix CVE-2026-74579?

To fix CVE-2026-74579, update your Linux Kernel to the latest version where the vulnerability has been patched.

3

What impact does CVE-2026-74579 have on system security?

CVE-2026-74579 can lead to improper handling of payload expressions in netfilter, potentially allowing for incorrect match evaluations.

4

Which versions of the Linux kernel are affected by CVE-2026-74579?

CVE-2026-74579 affects certain versions of the Linux kernel prior to the fix being applied.

5

Is CVE-2026-74579 a critical vulnerability?

While CVE-2026-74579 is not classified as critical, it does pose potential risks to network packet filtering integrity.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203