CVE-2026-139315
bpf: Pull the inner header for End.DT6 in End.BPF
Check your servers for CVE-2026-139315
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-139315 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: Pull the inner header for End.DT6 in End.BPF
bpf_lwt_seg6_action(SEG6_LOCAL_ACTION_END_DT6) pulls the outer headers off the packet and hands it to seg6_lookup_nexthop(), which reads the inner IPv6 header at skb->data. Nothing says that this header is in the head of the skb, or that there is one. If the head ends with the outer headers, the route is looked up for whatever lies behind the head, and the packet is dropped or leaves by the wrong route. If the program then pushes an SRH with SEG6_LOCAL_ACTION_END_B6, seg6_do_srh_inline() pulls an IPv6 header off a head which has none, and __skb_pull() hits its BUG(): the kernel panics on a packet from the network.
GRO pulls the inner header of a plain IPv6 in IPv6 packet into the head. It takes a packet which GRO does not look into that far, one with a fragment header in front of the inner header for example, or a device without GRO, and a driver which leaves the inner header in a fragment.
Make sure of the inner header together with the outer ones. The program goes on behind an error of the helper, so do it before the packet is changed. A pull which fails can still have moved the head, so look for the SRH again.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 486cdf21583e5b1fad488a3e4f0a5242a31c0ffa, before a0b726af093206af59928852d835d4372f04f7b7 affected from 486cdf21583e5b1fad488a3e4f0a5242a31c0ffa, before 03650a3f8e684cea776cd06987d3cd12ce601358 affected from 486cdf21583e5b1fad488a3e4f0a5242a31c0ffa, before 8befa1caf9e362f7b76db99d393176cbce8e6afe affected from 486cdf21583e5b1fad488a3e4f0a5242a31c0ffa, before 486f97dfcb31fb8ebc3e590c5063b85a7784a451 affected from 486cdf21583e5b1fad488a3e4f0a5242a31c0ffa, before f10499d76b49ec8e489c82379a89ec1277320660 affected from 486cdf21583e5b1fad488a3e4f0a5242a31c0ffa, before 3a9550b27e6bf4f07902e4fcea9c76f0eecf098c affected from 486cdf21583e5b1fad488a3e4f0a5242a31c0ffa, before 434324c611a98bc76dc850d45d67756dae5622cf
Other versions: unaffected
|
| Linux |
affected 4.19 unaffected before 4.19 unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* 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-139315 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139315
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-139315
trivy image --scanners vuln IMAGE | grep CVE-2026-139315
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/a0b726af093206af59928852d835d4372f04f7b7 git.kernel.org
- https://git.kernel.org/stable/c/03650a3f8e684cea776cd06987d3cd12ce601358 git.kernel.org
- https://git.kernel.org/stable/c/8befa1caf9e362f7b76db99d393176cbce8e6afe git.kernel.org
- https://git.kernel.org/stable/c/486f97dfcb31fb8ebc3e590c5063b85a7784a451 git.kernel.org
- https://git.kernel.org/stable/c/f10499d76b49ec8e489c82379a89ec1277320660 git.kernel.org
- https://git.kernel.org/stable/c/3a9550b27e6bf4f07902e4fcea9c76f0eecf098c git.kernel.org
- https://git.kernel.org/stable/c/434324c611a98bc76dc850d45d67756dae5622cf git.kernel.org
Source: the record CVE-2026-139315 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