1. Archivio CVE
  2. 2026
  3. CVE-2026-139606

CVE-2026-139606

– Gravità non disponibile CVSS n/d

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 6.19 < 7.3.6 –
linux linux kernel >= 6.19 < 7.4-rc1 –
linux linux kernel >= 5.10.265 –
linux linux kernel >= 5.15.216 –
linux linux kernel >= 6.1.183 –
linux linux kernel >= 6.6.148 –
linux linux kernel >= 6.12.101 –
linux linux kernel >= 6.18.42 –
Tutte le 24.148 vulnerabilità di Linux Kernel