{"id":"CVE-2026-143141","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:17:48.017","lastModified":"2026-12-03T10:17:48.017","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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->dev, \"pass up to the process\\n\");\n\t\tbreak;\n\tcase 0:\n\t\tbreak;\n\tcase -1:\n\t\tnetdev_dbg(gtp->dev, \"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/net/gtp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"d33bd757d362699cfce3c68b53cd12b947d196f4","lessThan":"b4674692b3affeb91975f171cc1373d4f19d590d","versionType":"git","status":"affected"},{"version":"d33bd757d362699cfce3c68b53cd12b947d196f4","lessThan":"d9f6e5e6a41fcdd984db5564743db0ca9328780c","versionType":"git","status":"affected"},{"version":"d33bd757d362699cfce3c68b53cd12b947d196f4","lessThan":"2f3f3fd9e922b84a8801c39b1597a2a6986b9ef5","versionType":"git","status":"affected"},{"version":"d33bd757d362699cfce3c68b53cd12b947d196f4","lessThan":"f17b293d155f377e4cff582b8113991d2ad346d6","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/net/gtp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.18","status":"affected"},{"version":"0","lessThan":"5.18","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/2f3f3fd9e922b84a8801c39b1597a2a6986b9ef5","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b4674692b3affeb91975f171cc1373d4f19d590d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d9f6e5e6a41fcdd984db5564743db0ca9328780c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f17b293d155f377e4cff582b8113991d2ad346d6","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}