{"schema":"threatline.record/2","record":{"id":"CVE-2026-98382","aliases":[],"summary":"bpf: Reject dev-bound-only programs on other devices","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject dev-bound-only programs on other devices\n\n__bpf_offload_dev_match() falls back to comparing offdev pointers after an\nexact netdev mismatch. Bound-only programs normally have NULL offdevs, so\nunrelated netdevs compare equal. A bound-only program on an\noffload-registered netdev can instead inherit a real offdev and match a\nsibling port. With CAP_BPF and CAP_NET_ADMIN, a caller can use\nbpf(BPF_LINK_CREATE) with a different target ifindex to run metadata kfuncs\nspecialized for the bound driver on the target driver's xdp_buff. Running a\nveth-bound program on tun reads beyond tun's bare stack xdp_buff as a\nveth_xdp_buff.\n\n  Oops: general protection fault, probably for non-canonical address\n  KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]\n  RIP: 0010:veth_xdp_rx_timestamp (drivers/net/veth.c:1673)\n  Call Trace:\n   ...\n   tun_build_skb (drivers/net/tun.c:1739)\n   tun_get_user (drivers/net/tun.c:1856)\n   tun_chr_write_iter (drivers/net/tun.c:2091)\n   vfs_write (fs/read_write.c:595 fs/read_write.c:687)\n   ksys_write (fs/read_write.c:739)\n   do_syscall_64 (arch/x86/entry/syscall_64.c:84)\n   entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)\n  Kernel panic - not syncing: Fatal exception in interrupt\n\nRestrict non-offloaded programs to exact netdev matches and retain the\nshared-offdev fallback only for genuinely offloaded multi-port programs.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98382","source_modified_at":"2026-10-19T09:18:32.956Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"2b3486bc2d237ec345b3942b7be5deabf8c8fed1","lessThan":"e57f04194361574493e3e6cf0b9e9c69e4ae9791","status":"affected","versionType":"git"},{"version":"2b3486bc2d237ec345b3942b7be5deabf8c8fed1","lessThan":"0dceda331180617aeeb22381e8480b37f18ba08b","status":"affected","versionType":"git"},{"version":"2b3486bc2d237ec345b3942b7be5deabf8c8fed1","lessThan":"940b626854de200e6187777d42114727daca617c","status":"affected","versionType":"git"},{"version":"2b3486bc2d237ec345b3942b7be5deabf8c8fed1","lessThan":"bb375f3c5990e29851894f20ebc4b9dbc6676126","status":"affected","versionType":"git"},{"version":"2b3486bc2d237ec345b3942b7be5deabf8c8fed1","lessThan":"6db1ce73e9853f533eb7f413f14ba00f8ec6f80d","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98382","source_modified_at":"2026-10-19T09:18:32.956Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"6.3","status":"affected"},{"version":"0","lessThan":"6.3","status":"unaffected","versionType":"semver"},{"version":"6.6.158","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.112","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.55","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.9","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98382","source_modified_at":"2026-10-19T09:18:32.956Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"0dceda331180617aeeb22381e8480b37f18ba08b","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98382","source_modified_at":"2026-10-19T09:18:32.956Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"940b626854de200e6187777d42114727daca617c","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98382","source_modified_at":"2026-10-19T09:18:32.956Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"6db1ce73e9853f533eb7f413f14ba00f8ec6f80d","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00156,"percentile":0.04398,"score_date":"2026-10-23"},"published_at":"2026-10-09T07:34:21.718Z","modified_at":"2026-10-19T09:18:32.956Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98382","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:18:32.956Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98382","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/e57f04194361574493e3e6cf0b9e9c69e4ae9791"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/0dceda331180617aeeb22381e8480b37f18ba08b"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/940b626854de200e6187777d42114727daca617c"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/bb375f3c5990e29851894f20ebc4b9dbc6676126"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/6db1ce73e9853f533eb7f413f14ba00f8ec6f80d"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:18:32.956Z","content_hash":"205a4434fe6e94e636d1b2cd24095f29dcfedf54ef48ab7e970377bcc551c1d6"}}
