← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel BPF Device-Bound Program Offload Match Incorrectly Accepts Unrelated Network Devices Due to NULL offdev Pointer Comparison

Last refreshed2026-10-25

Status: UPDATED  |  Advisory ID: CVE-2026-98382

Key Details

CVECVE-2026-98382
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-10-24
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel
Exploitation prediction (EPSS)
0.16% probability of exploitation in the next 30 days (5% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-98382
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-98382
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.