PT-2026-166999
CVE-2026-143141
·
Publicado
2026-12-03
·
Atualizado
2026-12-03
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
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");
break;
case 0:
break;
case -1:
netdev dbg(gtp->dev, "GTP packet has been dropped
");
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.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾