CVE-2026-74579
netfilter: nft_payload: fix mask build for partial field offload
Reported by linux · Published August 17, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-livepatch-6.12.103-127.188 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| kernel-livepatch-6.18.44-99.149 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel-headers | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
12 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a5d45bc0dc50f9dd83703510e9804d813a9cac32, a5d45bc0dc50f9dd83703510e9804d813a9cac32, a5d45bc0dc50f9dd83703510e9804d813a9cac32 |
| Linux | Linux | 5.10, 0, 5.10.265 |
| amazon:2023 | kernel-livepatch-6.12.103-127.188 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel-livepatch-6.18.44-99.149 | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
…and 18 more
Timeline
- Aug 17, 2026 Coalition ESS Score
- Aug 17, 2026 CVE Published
- Aug 24, 2026 EPSS Score (6 in total, the first dated here)
- Sep 5, 2026 Security Advisory
- Oct 16, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-74579
vulnetix vdb fixes CVE-2026-74579
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74579/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart