GHSA-6MX8-VQM9-MM4M

Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-12-01 06:31
VLAI
Details

In the Linux kernel, the following vulnerability has been resolved:

bpf: Validate the SRH which End.DT6 uncovers in End.BPF

input_action_end_bpf() validates the SRH of a packet and pulls it into the head before the program runs. If the program decapsulates the packet with bpf_lwt_seg6_action(SEG6_LOCAL_ACTION_END_DT6), bpf_update_srh_state() looks for a routing header in the inner packet and takes it for the new SRH as it is.

Nobody has looked at that header, and whoever has sent the packet has written it. ipv6_find_hdr() finds it in a fragment of the skb as well, but hdrlen is then read at that offset from skb->data, past the end of the head. The header need not be an SRH, and its hdrlen need not fit into the packet, but it is marked as valid, and bpf_lwt_seg6_adjust_srh() and bpf_lwt_seg6_store_bytes() check their offsets against it.

A program which then adds a TLV at the end of the SRH, where hdrlen has it, makes bpf_lwt_seg6_adjust_srh() move and write memory behind the head of the skb, as far as the sender likes within the 2 KB that hdrlen can say:

BUG: KASAN: slab-out-of-bounds in bpf_skb_net_hdr_push+0x185/0x240 Read of size 2088 at addr ffff888107d6f09e by task srh/102 BUG: KASAN: slab-out-of-bounds in bpf_skb_net_hdr_push+0x1b5/0x240 Write of size 8 at addr ffff888107d6f8be by task srh/102

Use seg6_get_srh(), which pulls and validates the header. Without a valid SRH the state says that there is none, and the packet goes its way as before. The pull can move the head, so compute the data pointers behind it.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-139316"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-30T14:18:55Z",
    "severity": "HIGH"
  },
  "details": "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.",
  "id": "GHSA-6mx8-vqm9-mm4m",
  "modified": "2026-12-01T06:31:22Z",
  "published": "2026-11-30T15:32:26Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139316"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/01e927630f66ae19a85afe7bfdf64e9a46d14569"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/07f91c34a284d6649363be1ced1376cf9b471755"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3ae19aa8e05ce43e25f9d0ac18e004a19789a15d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6c5f5395462c331efaca060ff07940f2454a8c11"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b9138e8800eef3e131d62e811399182fc86b1653"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cff400e72e9dc9b996e82aa03e5e3d9d2f58a498"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e8b084646b946cc6f7976365588035947a296184"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.