bpf: Clear buf on error in __bpf_get_task_stack (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % · percentile 12 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Clear buf on error in __bpf_get_task_stack Both bpf_get_task_stack and bpf_get_task_stack_sleepable helpers that use __bpf_get_task_stack have buf defined as ARG_PTR_TO_UNINIT_MEM argument and we should initialize the buf on every return path. Adding missing buf memset for __bpf_get_task_stack fail paths. This provides deterministic buffer contents, which is useful when the buffer is used directly as a map key.
References
- https://git.kernel.org/stable/c/5c4c57a277a87ed235183d03b671d346f5101f62
- https://git.kernel.org/stable/c/4acc761b4e3feca1eb648d21fc4d665b23c5372d
- https://git.kernel.org/stable/c/6f5a7bcc049709af12e403111d5e73e80910dafc
- https://git.kernel.org/stable/c/1f0f61573ba4cb899105b5cef65be3ca02205f93
- https://git.kernel.org/stable/c/f523359c4789bb0396d2d642464a6e2fd4f2299d
- https://git.kernel.org/stable/c/f5d242825ca417bb6afe35fde6e8880f97ca43fb
European references
- ENISA EUVD · EUVD-2026-81893
- GCVE · GCVE-0-2026-90300
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1595 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · 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
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df < 5c4c57a277a87ed235183d03b671d346f5101f62 affected : ≥ 06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df < 4acc761b4e3feca1eb648d21fc4d665b23c5372d affected : ≥ 06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df < 6f5a7bcc049709af12e403111d5e73e80910dafc affected : ≥ 06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df < 1f0f61573ba4cb899105b5cef65be3ca02205f93 affected : ≥ 06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df < f523359c4789bb0396d2d642464a6e2fd4f2299d affected : ≥ 06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df < f5d242825ca417bb6afe35fde6e8880f97ca43fb affected : d921baabd96445ef9c9c9410ca06164359c8a1a5 affected : 9c020a533eaae1c2d41a7e3835c4c818a9b4b656 affected : ff6bdc205fd0a83bd365405d4e31fb5905826996 affected : ≥ 5.10.30 < 5.11 affected : ≥ 5.11.14 < 5.12 affected : ≥ 5.10.96 < 5.11 Other versions : unaffected |
| Linux · Linux | affected : 5.12 unaffected : ≥ 0 < 5.12 unaffected : ≥ 6.1.191 ≤ 6.1.* unaffected : ≥ 6.6.160 ≤ 6.6.* unaffected : ≥ 6.12.114 ≤ 6.12.* unaffected : ≥ 6.18.57 ≤ 6.18.* unaffected : ≥ 7.2.6 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * Other versions : affected |
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 |