bpf: Reject MEM_ALLOC BTF accesses past object bounds (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.13 % · centile 3 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Reject MEM_ALLOC BTF accesses past object bounds BTF struct walks relax the struct-size check for accesses through a trailing flexible array. That is valid for ordinary BTF type walking, but PTR_TO_BTF_ID | MEM_ALLOC values point to objects allocated with the static BTF type size. When walking a MEM_ALLOC object, reject the access before applying the flexible-array relaxation if the access range extends past the struct size. Apply the same policy to struct ID matching so kfunc and kptr type checks do not walk past the allocated object bounds either.
Références
- https://git.kernel.org/stable/c/94033c193bc38794511b2ebfa3dc0287d3b2bf60
- https://git.kernel.org/stable/c/90d36e825da4fadeede64784ceda975ab7b31dab
- https://git.kernel.org/stable/c/cf08ff2255de98cfcbc8bf7236fbeb38f0d5b4f1
- https://git.kernel.org/stable/c/e626a50d07d43421cbf7bfb5a084b33a5e276b6e
- https://git.kernel.org/stable/c/9c9ee0324c774490ae953162aaaf4561d222bd93
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-82256
- GCVE · GCVE-0-2026-93148
Avis du CERT-FR
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 958cf2e273f0929c66169e0788031310e8118722 < 94033c193bc38794511b2ebfa3dc0287d3b2bf60 affectée : ≥ 958cf2e273f0929c66169e0788031310e8118722 < 90d36e825da4fadeede64784ceda975ab7b31dab affectée : ≥ 958cf2e273f0929c66169e0788031310e8118722 < cf08ff2255de98cfcbc8bf7236fbeb38f0d5b4f1 affectée : ≥ 958cf2e273f0929c66169e0788031310e8118722 < e626a50d07d43421cbf7bfb5a084b33a5e276b6e affectée : ≥ 958cf2e273f0929c66169e0788031310e8118722 < 9c9ee0324c774490ae953162aaaf4561d222bd93 Autres versions : non affectée |
| Linux · Linux | affectée : 6.2 non affectée : ≥ 0 < 6.2 non affectée : ≥ 6.6.160 ≤ 6.6.* non affectée : ≥ 6.12.114 ≤ 6.12.* non affectée : ≥ 6.18.57 ≤ 6.18.* non affectée : ≥ 7.2.6 ≤ 7.2.* non affectée : ≥ 7.3 ≤ * Autres versions : affectée |
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 |