CVE-2026-139606
bpf: Leave out the hidden exit edge of a subprogram without an exit
Check your servers for CVE-2026-139606
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139606 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.96% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd, before 046cdb35953063b5d38fa7de541c0bb86011feb2 affected from e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd, before 939bb6270ee32cfef0631b30ff07a9e0b8806e64 affected 928d354ae3557e8f755a227e67be88034eb3cd7f affected 8a800497d9f6c2ec9c2c1ba7b71d0ac2ea7f7bbe affected de1055e7f9e67af32b1f3376066272b04e5223c0 affected 37ad2bb11e9de92cb7b94548705eeedd87f7d392 affected 8674e2db06cff6b50f2216eed9a761d15425bb34 affected ce01a4e5cfac7adbe0be565f90cd32ecbb2f8337 affected from 5.10.265, before 5.11 affected from 5.15.216, before 5.16 affected from 6.1.183, before 6.2 affected from 6.6.148, before 6.7 affected from 6.12.101, before 6.13 affected from 6.18.42, before 6.19
Other versions: unaffected
|
| Linux |
affected 6.19 unaffected before 6.19 unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139606 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139606
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139606
trivy image --scanners vuln IMAGE | grep CVE-2026-139606
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/046cdb35953063b5d38fa7de541c0bb86011feb2 git.kernel.org
- https://git.kernel.org/stable/c/939bb6270ee32cfef0631b30ff07a9e0b8806e64 git.kernel.org
Source: the record CVE-2026-139606 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse