{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-139316 in the wild and no public exploit code.","exposure":"","fix":"Upgrade to a fixed version.","what":"CVE-2026-139316 is a high-severity vulnerability in Linux, published on 30 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-139316 and fix it if it is affected.\n\nWhat it is: CVE-2026-139316 is a high-severity vulnerability in Linux, published on 30 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-139316 in the wild and no public exploit code.\n\nAffected product: Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-139316/ (Markdown: https://insights.sbomify.com/CVE-2026-139316/index.md)","id":"CVE-2026-139316","markdown":"https://insights.sbomify.com/CVE-2026-139316/index.md","name":"CVE-2026-139316","record":{"aliases":["BELL-CVE-2026-139316","DEBIAN-CVE-2026-139316","GHSA-6mx8-vqm9-mm4m","UBUNTU-CVE-2026-139316"],"analysis":null,"analysis_generated_by":null,"assigner":"Linux","component":null,"cpe":[],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Validate the SRH which End.DT6 uncovers in End.BPF\n\ninput_action_end_bpf() validates the SRH of a packet and pulls it into the\nhead before the program runs. If the program decapsulates the packet with\nbpf_lwt_seg6_action(SEG6_LOCAL_ACTION_END_DT6), bpf_update_srh_state()\nlooks for a routing header in the inner packet and takes it for the new\nSRH as it is.\n\nNobody has looked at that header, and whoever has sent the packet has\nwritten it. ipv6_find_hdr() finds it in a fragment of the skb as well, but\nhdrlen is then read at that offset from skb-\u003edata, past the end of the\nhead. The header need not be an SRH, and its hdrlen need not fit into the\npacket, but it is marked as valid, and bpf_lwt_seg6_adjust_srh() and\nbpf_lwt_seg6_store_bytes() check their offsets against it.\n\nA program which then adds a TLV at the end of the SRH, where hdrlen has it,\nmakes bpf_lwt_seg6_adjust_srh() move and write memory behind the head of\nthe skb, as far as the sender likes within the 2 KB that hdrlen can say:\n\n  BUG: KASAN: slab-out-of-bounds in bpf_skb_net_hdr_push+0x185/0x240\n  Read of size 2088 at addr ffff888107d6f09e by task srh/102\n  BUG: KASAN: slab-out-of-bounds in bpf_skb_net_hdr_push+0x1b5/0x240\n  Write of size 8 at addr ffff888107d6f8be by task srh/102\n\nUse seg6_get_srh(), which pulls and validates the header. Without a valid\nSRH the state says that there is none, and the packet goes its way as\nbefore. The pull can move the head, so compute the data pointers behind\nit.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"bpf: Validate the SRH which End.DT6 uncovers in End.BPF","id":"CVE-2026-139316","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":7,"n_vendor_status":0,"next":{"headline":"bpf: Don't saturate owner_refcnt on the last unpin","id":"CVE-2026-139317"},"nickname":null,"packages":[],"prev":{"headline":"bpf: Pull the inner header for End.DT6 in End.BPF","id":"CVE-2026-139315"},"products":["Linux"],"published":"2026-11-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-12-01","vendor_status":[],"vendors":["Linux"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-139316/"}