CVE-2026-139606

Source
https://cve.org/CVERecord?id=CVE-2026-139606
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139606.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139606
Downstream
Published
2026-11-30T13:36:18Z
Modified
2026-11-30T15:02:29Z
Summary
bpf: Leave out the hidden exit edge of a subprogram without an exit
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139606.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd
Fixed
046cdb35953063b5d38fa7de541c0bb86011feb2
Fixed
939bb6270ee32cfef0631b30ff07a9e0b8806e64
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
928d354ae3557e8f755a227e67be88034eb3cd7f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8a800497d9f6c2ec9c2c1ba7b71d0ac2ea7f7bbe
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
de1055e7f9e67af32b1f3376066272b04e5223c0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
37ad2bb11e9de92cb7b94548705eeedd87f7d392
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8674e2db06cff6b50f2216eed9a761d15425bb34
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ce01a4e5cfac7adbe0be565f90cd32ecbb2f8337

Affected versions

v5.*
v5.10.265
v5.10.266
v5.10.267
v5.10.268
v5.10.269
v5.10.270
v5.10.271
v5.10.272
v5.10.273
v5.10.274
v5.10.275
v5.15.216
v5.15.217
v5.15.218
v5.15.219
v5.15.220
v5.15.221
v5.15.222
v5.15.223
v5.15.224
v5.15.225
v5.15.226
v6.*
v6.1.183
v6.1.184
v6.1.185
v6.1.186
v6.1.187
v6.1.188
v6.1.189
v6.1.190
v6.1.191
v6.1.192
v6.1.193
v6.12.101
v6.12.102
v6.12.103
v6.12.104
v6.12.105
v6.12.106
v6.12.107
v6.12.108
v6.12.109
v6.12.110
v6.12.111
v6.12.112
v6.12.113
v6.12.114
v6.12.115
v6.12.116
v6.12.117
v6.12.118
v6.12.119
v6.12.120
v6.18.42
v6.18.43
v6.18.44
v6.18.45
v6.18.46
v6.18.47
v6.18.48
v6.18.49
v6.18.50
v6.18.51
v6.18.52
v6.18.53
v6.18.54
v6.18.55
v6.18.56
v6.18.57
v6.18.58
v6.18.59
v6.18.60
v6.18.61
v6.18.62
v6.18.63
v6.18.64
v6.18.65
v6.18.66
v6.6.148
v6.6.149
v6.6.150
v6.6.151
v6.6.152
v6.6.153
v6.6.154
v6.6.155
v6.6.156
v6.6.157
v6.6.158
v6.6.159
v6.6.160
v6.6.161
v6.6.162
v6.6.163

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139606.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.10.265
Fixed
5.11
Type
ECOSYSTEM
Events
Introduced
5.15.216
Fixed
5.16
Type
ECOSYSTEM
Events
Introduced
6.1.183
Fixed
6.2
Type
ECOSYSTEM
Events
Introduced
6.6.148
Fixed
6.7
Type
ECOSYSTEM
Events
Introduced
6.12.101
Fixed
6.13
Type
ECOSYSTEM
Events
Introduced
6.18.42
Fixed
6.19
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139606.json"