bpf: Fix potential UAF when reading bpf link info (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.17 % · percentile 6 ()
- 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: Fix potential UAF when reading bpf link info In bpf_link_show_fdinfo and bpf_link_get_info_by_fd, link->prog is accessed without holding any locks. If the prog is concurrently replaced via bpf_link_update, the old prog can be freed, leading to a potential UAF issue. Fix this by accessing link->prog under RCU protection to safely fetch the pointer and guarantee its lifetime while reading its fields.
References
- https://git.kernel.org/stable/c/4c8432a332d4a24dc2742f56062a53d8fad36f53
- https://git.kernel.org/stable/c/a5c936ac904767fc1d943d40b0308bcb2ae2509b
- https://git.kernel.org/stable/c/d7d7208e2603b45724b684f4df73904fb347741e
- https://git.kernel.org/stable/c/85cf991c881e7198be32be05a9daa2625390c8b3
- https://git.kernel.org/stable/c/79347e42cfbc9e78872922e8f08a70609c9af82f
- https://git.kernel.org/stable/c/863f3ddd0b8ac65abfb50d3be0869268ac0e277b
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-82053
- GCVE · GCVE-0-2026-90392
CERT-FR advisories
- CERTFR-2026-AVI-1676 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- 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-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab < 4c8432a332d4a24dc2742f56062a53d8fad36f53 affected : ≥ 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab < a5c936ac904767fc1d943d40b0308bcb2ae2509b affected : ≥ 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab < d7d7208e2603b45724b684f4df73904fb347741e affected : ≥ 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab < 85cf991c881e7198be32be05a9daa2625390c8b3 affected : ≥ 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab < 79347e42cfbc9e78872922e8f08a70609c9af82f affected : ≥ 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab < 863f3ddd0b8ac65abfb50d3be0869268ac0e277b Other versions : unaffected |
| Linux · Linux | affected : 5.7 unaffected : ≥ 0 < 5.7 unaffected : ≥ 6.1.191 ≤ 6.1.* unaffected : ≥ 6.6.157 ≤ 6.6.* unaffected : ≥ 6.12.110 ≤ 6.12.* unaffected : ≥ 6.18.52 ≤ 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 |