{"id":"AZL-118178","summary":"CVE-2026-143141 affecting package kernel 6.6.161.1-1","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.","modified":"2026-12-04T14:18:39.890235076Z","published":"2026-12-03T10:17:48Z","upstream":["CVE-2026-143141"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143141"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-118178.json"}}],"schema_version":"1.9.2"}