bpf: Pull the inner header for End.DT6 in End.BPF

Summary

CVECVE-2026-139315
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:18:55 UTC
Updated2026-11-30 14:18:55 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 486cdf21583e5b1fad488a3e4f0a5242a31c0ffa a0b726af093206af59928852d835d4372f04f7b7 git Not specified
CNA Linux Linux affected 486cdf21583e5b1fad488a3e4f0a5242a31c0ffa 03650a3f8e684cea776cd06987d3cd12ce601358 git Not specified
CNA Linux Linux affected 486cdf21583e5b1fad488a3e4f0a5242a31c0ffa 8befa1caf9e362f7b76db99d393176cbce8e6afe git Not specified
CNA Linux Linux affected 486cdf21583e5b1fad488a3e4f0a5242a31c0ffa 486f97dfcb31fb8ebc3e590c5063b85a7784a451 git Not specified
CNA Linux Linux affected 486cdf21583e5b1fad488a3e4f0a5242a31c0ffa f10499d76b49ec8e489c82379a89ec1277320660 git Not specified
CNA Linux Linux affected 486cdf21583e5b1fad488a3e4f0a5242a31c0ffa 3a9550b27e6bf4f07902e4fcea9c76f0eecf098c git Not specified
CNA Linux Linux affected 486cdf21583e5b1fad488a3e4f0a5242a31c0ffa 434324c611a98bc76dc850d45d67756dae5622cf git Not specified
CNA Linux Linux affected 4.19 Not specified
CNA Linux Linux unaffected 4.19 semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/f10499d76b49ec8e489c82379a89ec1277320660 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3a9550b27e6bf4f07902e4fcea9c76f0eecf098c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/434324c611a98bc76dc850d45d67756dae5622cf 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/03650a3f8e684cea776cd06987d3cd12ce601358 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/486f97dfcb31fb8ebc3e590c5063b85a7784a451 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8befa1caf9e362f7b76db99d393176cbce8e6afe 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a0b726af093206af59928852d835d4372f04f7b7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report