net/sched: cls_bpf: reject dev-bound programs bound to a different device (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.14 % · centile 3 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: net/sched: cls_bpf: reject dev-bound programs bound to a different device cls_bpf_prog_from_efd() obtained a SCHED_CLS program via bpf_prog_get_type_dev() but never verified that a device-bound (offloaded) program's bound netdev matches the TC netdev the classifier is being attached to. This let a program loaded with prog_ifindex for device A be attached via cls_bpf + skip_sw to device B; deleting device A then destroyed the program's offload state while it was still attached to device B, triggering a netdevsim WARN (panic with panic_on_warn=1). Mirror the XDP attach path (net/core/dev.c) and reject the attach with -EINVAL when a dev-bound program's bound device does not match the target device.
Références
- https://git.kernel.org/stable/c/ec5a552f4b2d841c6c021752450716e1a9676661
- https://git.kernel.org/stable/c/daf546ab5763ce6a18280cb4db060e836c515301
- https://git.kernel.org/stable/c/adb3e7c26a51a10d94a241c6de7a81a2863dcacf
- https://git.kernel.org/stable/c/5685bbbd3cbfbeb0de96a1d275a5ca073dfebb5e
- https://git.kernel.org/stable/c/120977e2c096deea4e866e4273be9220b957c29e
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-66566
- GCVE · GCVE-0-2026-74736
Avis du CERT-FR
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1232 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 2b3486bc2d237ec345b3942b7be5deabf8c8fed1 < ec5a552f4b2d841c6c021752450716e1a9676661 ; affected 2b3486bc2d237ec345b3942b7be5deabf8c8fed1 < daf546ab5763ce6a18280cb4db060e836c515301 ; affected 2b3486bc2d237ec345b3942b7be5deabf8c8fed1 < adb3e7c26a51a10d94a241c6de7a81a2863dcacf ; affected 2b3486bc2d237ec345b3942b7be5deabf8c8fed1 < 5685bbbd3cbfbeb0de96a1d275a5ca073dfebb5e ; affected 2b3486bc2d237ec345b3942b7be5deabf8c8fed1 < 120977e2c096deea4e866e4273be9220b957c29e |
| Linux · Linux | affected 6.3 ; unaffected 0 < 6.3 ; unaffected 6.6.153 ≤ 6.6.* ; unaffected 6.12.105 ≤ 6.12.* ; unaffected 6.18.46 ≤ 6.18.* ; unaffected 7.1.10 ≤ 7.1.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |