CVE-2026-143141: gtp: free the skb after handling an echo response

Published Dec 3, 2026
·
Updated

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

gtp: free the skb after handling an echo response

gtp0handleechoresp() and gtp1uhandleechoresp() return the result of genlmsgmulticastnetns() to gtpencaprecv(). When the netlink notification is delivered that result is 0, and gtpencaprecv() treats 0 as "the skb has been consumed":

switch (ret) { case 1: netdevdbg(gtp->dev, "pass up to the process\n"); break; case 0: break; case -1: netdevdbg(gtp->dev, "GTP packet has been dropped\n"); kfreeskb(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 CAPNETADMIN 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 genlmsgmulticastnetns() (-ESRCH when nobody listens) are not -1, so they are returned unchanged to the UDP stack, which takes a negative value from encaprcv() as a request to resubmit the packet to the protocol with that number.

Return -1 when the notification cannot be built, so that gtpencaprecv() 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.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the Linux kernel GTP echo-response path, consume/free the skb after handing the notification to netlink, whether or not a listener is present; return -1 when the notification cannot be built.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:19 AM
Data Sourced
via MITRE·09:19 AM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203