CVE-2026-98382
bpf: Reject dev-bound-only programs on other devices
Reported by linux · Published October 9, 2026
In the Linux kernel, the following vulnerability has been resolved: bpf: Reject dev-bound-only programs on other devices __bpf_offload_dev_match() falls back to comparing offdev pointers after an exact netdev mismatch. Bound-only programs normally have NULL offdevs, so unrelated netdevs compare equal. A bound-only program on an offload-registered netdev can instead inherit a real offdev and match a sibling port. With CAP_BPF and CAP_NET_ADMIN, a caller can use bpf(BPF_LINK_CREATE) with a different target ifindex to run metadata kfuncs specialized for the bound driver on the target driver's xdp_buff. Running a veth-bound program on tun reads beyond tun's bare stack xdp_buff as a veth_xdp_buff. Oops: general protection fault, probably for non-canonical address KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] RIP: 0010:veth_xdp_rx_timestamp (drivers/net/veth.c:1673) Call Trace: ... tun_build_skb (drivers/net/tun.c:1739) tun_get_user (drivers/net/tun.c:1856) tun_chr_write_iter (drivers/net/tun.c:2091) vfs_write (fs/read_write.c:595 fs/read_write.c:687) ksys_write (fs/read_write.c:739) do_syscall_64 (arch/x86/entry/syscall_64.c:84) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) Kernel panic - not syncing: Fatal exception in interrupt Restrict non-offloaded programs to exact netdev matches and retain the shared-offdev fallback only for genuinely offloaded multi-port programs.
EPSS 0.16% · 5.4th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| microvm-kernel6.18 | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel-livepatch-6.12.113-138.209 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
6 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, 2b3486bc2d237ec345b3942b7be5deabf8c8fed1 |
| Linux | Linux | 6.3, 0, 6.6.158 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.12.113-138.209 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| Linux | Linux kernel | |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
…and 8 more
Timeline
- Oct 9, 2026 EPSS Score (4 in total, the first dated here)
- Oct 9, 2026 Coalition ESS Score
- Oct 9, 2026 CVE Published
- Oct 24, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98382
vulnetix vdb fixes CVE-2026-98382
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-98382/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart