CVE-2026-53134
netfilter: nft_fib: fix stale stack leak via the OIFNAME register
Reported by linux · Published June 25, 2026
In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_fib: fix stale stack leak via the OIFNAME register For NFT_FIB_RESULT_OIFNAME the destination register is declared with len = IFNAMSIZ (four 32-bit registers), but on the lookup-fail, RTN_LOCAL and oif-mismatch paths nft_fib{4,6}_eval() only writes one register via "*dest = 0". The remaining three registers are left as whatever was on the stack in nft_do_chain()'s struct nft_regs, and a downstream expression that loads the register span can leak that uninitialised kernel stack to userspace. The NFTA_FIB_F_PRESENT existence check has the same shape: it is only meaningful for NFT_FIB_RESULT_OIF, yet it was accepted for any result type while the eval stores a single byte via nft_reg_store8(), leaving the rest of the declared span stale. Fix both: - replace the bare "*dest = 0" in the eval with nft_fib_store_result(), which strscpy_pad()s the whole IFNAMSIZ for OIFNAME (and is already used on the other early-return path), and - restrict NFTA_FIB_F_PRESENT to NFT_FIB_RESULT_OIF and declare its destination as a single u8, so the marked span matches the one byte the eval writes.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bpftool6.18 | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.94-123.174.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.176-220.358.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.94-123.174.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| kernel-tools | Amazon Linux | 1:6.1.176-220.358.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.94-123.174.amzn2023 |
| linux-azure-6.18 | Chainguard | 6.18.38-r0 |
| bpftool | Amazon Linux | 1:6.1.176-220.358.amzn2023 |
| linux-qemu-melange | Chainguard | 6.18.38-r0 |
2 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | f6d0cbcf09c506b9b022df8f9d7693a7cec3c732, f6d0cbcf09c506b9b022df8f9d7693a7cec3c732, f6d0cbcf09c506b9b022df8f9d7693a7cec3c732 |
| Linux | Linux | 4.10, 0, 5.10.259 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | 3.1.6, 3.1.7 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.6, 3.1.7 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| chainguard | linux-azure-6.18 | 0 |
| amazon:2023 | bpftool | 0 |
| chainguard | linux-qemu-melange | 0 |
| Linux | Linux | *, *, * |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-livepatch-6.1.176-220.358 | 0 |
| chainguard | linux-qemu-6.18 | 0 |
…and 31 more
Timeline
- Jun 24, 2026 CVE Published
- Jun 26, 2026 EPSS Score (9 in total, the first dated here)
- Jun 26, 2026 Coalition ESS Score
- Jun 29, 2026 Security Advisory (64 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (63 in total, the first dated here)
- Nov 10, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-53134
vulnetix vdb fixes CVE-2026-53134
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-53134/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart