# CVE-2026-98382: bpf: Reject dev-bound-only programs on other devices

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-10-09T07:34:21.718Z
- **Modified:** 2026-10-24T14:16:40.200Z

## Who should check

- Anyone running Linux \>= 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, \< e57f04194361574493e3e6cf0b9e9c69e4ae9791; \>= 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, \< 0dceda331180617aeeb22381e8480b37f18ba08b; \>= 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, \< 940b626854de200e6187777d42114727daca617c; \>= 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, \< bb375f3c5990e29851894f20ebc4b9dbc6676126; \>= 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, \< 6db1ce73e9853f533eb7f413f14ba00f8ec6f80d
- Anyone running Linux 6.3

## Description

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.

## Affected and fixed versions

- Linux: \>= 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, \< e57f04194361574493e3e6cf0b9e9c69e4ae9791; \>= 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, \< 0dceda331180617aeeb22381e8480b37f18ba08b; \>= 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, \< 940b626854de200e6187777d42114727daca617c; \>= 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, \< bb375f3c5990e29851894f20ebc4b9dbc6676126; \>= 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, \< 6db1ce73e9853f533eb7f413f14ba00f8ec6f80d (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- Upgrade Linux to 6db1ce73e9853f533eb7f413f14ba00f8ec6f80d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98382. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98382.md
Affected: Linux >= 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, < e57f04194361574493e3e6cf0b9e9c69e4ae9791; >= 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, < 0dceda331180617aeeb22381e8480b37f18ba08b; >= 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, < 940b626854de200e6187777d42114727daca617c; >= 2b3486bc2d237ec345b3942…
Fixed in: Linux 0dceda331180617aeeb22381e8480b37f18ba08b, Linux 940b626854de200e6187777d42114727daca617c, Linux 6db1ce73e9853f533eb7f413f14ba00f8ec6f80d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98382 being exploited?

There is no confirmed exploitation: CVE-2026-98382 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98382?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-98382?

Linux \>= 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, \< e57f04194361574493e3e6cf0b9e9c69e4ae9791; \>= 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, \< 0dceda331180617aeeb22381e8480b37f18ba08b; \>= 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, \< 940b626854de200e6187777d42114727daca617c; \>= 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, \< bb375f3c5990e29851894f20ebc4b9dbc6676126; \>= 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, \< 6db1ce73e9853f533eb7f413f14ba00f8ec6f80d; Linux 6.3.

### Is there a fix for CVE-2026-98382?

Yes. Fixed in Linux 0dceda331180617aeeb22381e8480b37f18ba08b, Linux 940b626854de200e6187777d42114727daca617c, Linux 6db1ce73e9853f533eb7f413f14ba00f8ec6f80d. Upgrade Linux to 6db1ce73e9853f533eb7f413f14ba00f8ec6f80d or later.

### How do I check if I'm affected by CVE-2026-98382?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/e57f04194361574493e3e6cf0b9e9c69e4ae9791>
- other: <https://git.kernel.org/stable/c/0dceda331180617aeeb22381e8480b37f18ba08b>
- other: <https://git.kernel.org/stable/c/940b626854de200e6187777d42114727daca617c>
- other: <https://git.kernel.org/stable/c/bb375f3c5990e29851894f20ebc4b9dbc6676126>
- other: <https://git.kernel.org/stable/c/6db1ce73e9853f533eb7f413f14ba00f8ec6f80d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98382>

HTML: <https://flawdb.com/CVE-2026-98382> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98382>
