- Accueil
- Vulnérabilités
- CVE-2026-139606
CVE-2026-139606
bpf: Leave out the hidden exit edge of a subprogram without an exit
Résumé
In the Linux kernel, the following vulnerability has been resolved: bpf: Leave out the hidden exit edge of a subprogram without an exit visit_abnormal_return_insn() gives tail_call and ld_{abs,ind} insns a second successor, the exit_idx of their subprogram, so that the hidden exit from the subprogram is part of the CFG. check_subprogs() only assigns exit_idx when it walks over a BPF_EXIT, and a subprogram whose last insn jumps back into itself never has one, so exit_idx stays zero and the edge points at insn 0 of the program: 0: r0 = 0 1: r0 = *(u8 *)skb[0] 2: goto -2 For a subprogram other than main, update_insn() then reads the liveness masks at a negative relative index. Such a subprogram can still load when it leaves through a bpf_throw(), so mark exit_idx as unset in that case and leave the hidden edge out, as there is no exit for it to reach.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (7 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | de 5.10.265 (inclus) à 5.11 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 5.15.216 (inclus) à 5.16 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 6.1.183 (inclus) à 6.2 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 6.6.148 (inclus) à 6.7 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 6.12.101 (inclus) à 6.13 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 6.18.42 (inclus) à 6.19 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | 6.19 |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)