GHSA-G4P5-C7W2-237X

Vulnerability from github – Published: 2026-12-03 12:31 – Updated: 2026-12-03 12:31
VLAI
Details

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

gtp: free the skb after handling an echo response

gtp0_handle_echo_resp() and gtp1u_handle_echo_resp() return the result of genlmsg_multicast_netns() to gtp_encap_recv(). When the netlink notification is delivered that result is 0, and gtp_encap_recv() treats 0 as "the skb has been consumed":

switch (ret) {
case 1:
    netdev_dbg(gtp->dev, "pass up to the process\n");
    break;
case 0:
    break;
case -1:
    netdev_dbg(gtp->dev, "GTP packet has been dropped\n");
    kfree_skb(skb);
    ret = 0;
    break;
}

The echo response handlers only read from the skb and never free it or pass it on, so every echo response that is reported to a listener on the gtp multicast group leaks the skb. Echo responses are handled for any peer when the UDP sockets were created by the kernel, so a remote host can leak memory on the receiver by sending GTP echo responses while a process with CAP_NET_ADMIN is subscribed to the gtp multicast group, for example a daemon that monitors echo responses.

The error paths do not leak but have a related problem. -ENOMEM and the error from genlmsg_multicast_netns() (-ESRCH when nobody listens) are not -1, so they are returned unchanged to the UDP stack, which takes a negative value from encap_rcv() as a request to resubmit the packet to the protocol with that number.

Return -1 when the notification cannot be built, so that gtp_encap_recv() drops the skb, and consume the skb once the notification has been handed to netlink, whether or not anybody is listening.

Found by LLM-assisted source review, untested.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-143141"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-12-03T10:17:48Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ngtp: free the skb after handling an echo response\n\ngtp0_handle_echo_resp() and gtp1u_handle_echo_resp() return the result\nof genlmsg_multicast_netns() to gtp_encap_recv().  When the netlink\nnotification is delivered that result is 0, and gtp_encap_recv() treats\n0 as \"the skb has been consumed\":\n\n\tswitch (ret) {\n\tcase 1:\n\t\tnetdev_dbg(gtp-\u003edev, \"pass up to the process\\n\");\n\t\tbreak;\n\tcase 0:\n\t\tbreak;\n\tcase -1:\n\t\tnetdev_dbg(gtp-\u003edev, \"GTP packet has been dropped\\n\");\n\t\tkfree_skb(skb);\n\t\tret = 0;\n\t\tbreak;\n\t}\n\nThe echo response handlers only read from the skb and never free it or\npass it on, so every echo response that is reported to a listener on the\ngtp multicast group leaks the skb.  Echo responses are handled for any\npeer when the UDP sockets were created by the kernel, so a remote host\ncan leak memory on the receiver by sending GTP echo responses while a\nprocess with CAP_NET_ADMIN is subscribed to the gtp multicast group, for\nexample a daemon that monitors echo responses.\n\nThe error paths do not leak but have a related problem.  -ENOMEM and the error from\ngenlmsg_multicast_netns() (-ESRCH when nobody listens) are not -1, so\nthey are returned unchanged to the UDP stack, which takes a negative\nvalue from encap_rcv() as a request to resubmit the packet to the\nprotocol with that number.\n\nReturn -1 when the notification cannot be built, so that\ngtp_encap_recv() drops the skb, and consume the skb once the\nnotification has been handed to netlink, whether or not anybody is\nlistening.\n\nFound by LLM-assisted source review, untested.",
  "id": "GHSA-g4p5-c7w2-237x",
  "modified": "2026-12-03T12:31:06Z",
  "published": "2026-12-03T12:31:06Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143141"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2f3f3fd9e922b84a8801c39b1597a2a6986b9ef5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b4674692b3affeb91975f171cc1373d4f19d590d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d9f6e5e6a41fcdd984db5564743db0ca9328780c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f17b293d155f377e4cff582b8113991d2ad346d6"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



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.