Bug 2586725 (CVE-2026-139606) - CVE-2026-139606 kernel: kernel: Denial of service via out-of-bounds read in BPF verifier
Summary: CVE-2026-139606 kernel: kernel: Denial of service via out-of-bounds read in B...
Keywords:
Status: NEW
Alias: CVE-2026-139606
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:36 UTC by OSIDB Bzimport
Modified: 2026-12-01 01:08 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:36:21 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.