{"id":"CVE-2026-74736","aliases":["CVE-2026-74736"],"related":[],"kind":"vulnerability","state":"published","title":"net/sched: cls_bpf: reject dev-bound programs bound to a different device","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: cls_bpf: reject dev-bound programs bound to a different device\n\ncls_bpf_prog_from_efd() obtained a SCHED_CLS program via\nbpf_prog_get_type_dev() but never verified that a device-bound (offloaded)\nprogram's bound netdev matches the TC netdev the classifier is being\nattached to. This let a program loaded with prog_ifindex for device A be\nattached via cls_bpf + skip_sw to device B; deleting device A then\ndestroyed the program's offload state while it was still attached to\ndevice B, triggering a netdevsim WARN (panic with panic_on_warn=1).\n\nMirror the XDP attach path (net/core/dev.c) and reject the attach with\n-EINVAL when a dev-bound program's bound device does not match the\ntarget device.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: cls_bpf: reject dev-bound programs bound to a different device\n\ncls_bpf_prog_from_efd() obtained a SCHED_CLS program via\nbpf_prog_get_type_dev() but never verified that a device-bound (offloaded)\nprogram's bound netdev matches the TC netdev the classifier is being\nattached to. This let a program loaded with prog_ifindex for device A be\nattached via cls_bpf + skip_sw to device B; deleting device A then\ndestroyed the program's offload state while it was still attached to\ndevice B, triggering a netdevsim WARN (panic with panic_on_warn=1).\n\nMirror the XDP attach path (net/core/dev.c) and reject the attach with\n-EINVAL when a dev-bound program's bound device does not match the\ntarget device.","source":"cvelist"}],"published":"2026-08-26T14:36:49.950Z","modified":"2026-10-16T20:17:55.517Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2b3486bc2d237ec345b3942b7be5deabf8c8fed1","fixed":"ec5a552f4b2d841c6c021752450716e1a9676661","status":"affected"},{"type":"git","introduced":"2b3486bc2d237ec345b3942b7be5deabf8c8fed1","fixed":"daf546ab5763ce6a18280cb4db060e836c515301","status":"affected"},{"type":"git","introduced":"2b3486bc2d237ec345b3942b7be5deabf8c8fed1","fixed":"adb3e7c26a51a10d94a241c6de7a81a2863dcacf","status":"affected"},{"type":"git","introduced":"2b3486bc2d237ec345b3942b7be5deabf8c8fed1","fixed":"5685bbbd3cbfbeb0de96a1d275a5ca073dfebb5e","status":"affected"},{"type":"git","introduced":"2b3486bc2d237ec345b3942b7be5deabf8c8fed1","fixed":"120977e2c096deea4e866e4273be9220b957c29e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.3","status":"unaffected"},{"type":"semver","introduced":"6.6.153","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.105","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.46","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.10","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ec5a552f4b2d841c6c021752450716e1a9676661","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/daf546ab5763ce6a18280cb4db060e836c515301","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/adb3e7c26a51a10d94a241c6de7a81a2863dcacf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5685bbbd3cbfbeb0de96a1d275a5ca073dfebb5e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/120977e2c096deea4e866e4273be9220b957c29e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T19:15:56.417Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74736","url":"https://www.cve.org/CVERecord?id=CVE-2026-74736","licence":"CVE Terms of Use","modified":"2026-10-16T19:16:12.701Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74736","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74736","licence":"Public domain","modified":"2026-10-16T20:17:55.517Z"}],"updatedAt":"2026-11-25T22:59:35.374Z","epss":{"score":0.00138,"percentile":0.03395,"date":"2026-12-01T12:00:22.000Z"}}