bpf, xdp: move offload check into dev_xdp_install() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.17 % · percentile 6 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: bpf, xdp: move offload check into dev_xdp_install() bpf_xdp_link_update() calls dev_xdp_install() directly and skips dev_xdp_attach(), so the checks in dev_xdp_attach() do not run. A user can make an XDP link with a normal program and then swap in an offloaded or device-bound program with BPF_LINK_UPDATE, which puts it on the software path. dev_xdp_install() is the one place all three paths go through: "ip link set xdp" and BPF_LINK_CREATE reach it via dev_xdp_attach(), and BPF_LINK_UPDATE calls it directly. So move the program checks (offloaded, bound to another device, device-bound in generic mode, native vs generic, DEVMAP and CPUMAP) there, and keep only the netlink-flag check (XDP_FLAGS_UPDATE_IF_NOEXIST) in dev_xdp_attach().
References
- https://git.kernel.org/stable/c/4a0467819bc2423be8fc4c9834e8f42af2af0861
- https://git.kernel.org/stable/c/bd06033625ec20b7bdec43d21f776fc1a5e9000e
- https://git.kernel.org/stable/c/486dbe7efec2be19cd3625be282f7f6b34a3f2c5
- https://git.kernel.org/stable/c/f14b774ec9bd52d0f4ec29a6597a35fd107197f9
- https://git.kernel.org/stable/c/ea7b35dcc9430293b861bc7bad0c546f193c85f9
- https://git.kernel.org/stable/c/03022dd874070768a7099f18b1944c633641315f
- https://git.kernel.org/stable/c/ad27ed7d2309419a129078d781504f486b1b469a
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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) |
European references
- ENISA EUVD · EUVD-2026-81739
- GCVE · GCVE-0-2026-90146
CERT-FR advisories
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1374 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74 < 4a0467819bc2423be8fc4c9834e8f42af2af0861 ; affected 026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74 < bd06033625ec20b7bdec43d21f776fc1a5e9000e ; affected 026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74 < 486dbe7efec2be19cd3625be282f7f6b34a3f2c5 ; affected 026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74 < f14b774ec9bd52d0f4ec29a6597a35fd107197f9 ; affected 026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74 < ea7b35dcc9430293b861bc7bad0c546f193c85f9 ; affected 026a4c28e1db3b0cb99cd9a3e495d4a8b632fa74 < 03022dd874070768a7099f18b1944c633641315f |
| Linux · Linux | affected 5.9 ; unaffected 0 < 5.9 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.113 ≤ 6.12.* ; unaffected 6.12.114 ≤ 6.12.* |
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 |