PT-2026-167208

CVE-2026-143350

·

Publicado

2026-12-03

·

Atualizado

2026-12-03

Descrição por

Pontuação
N/A
Não disponível

Nã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:
bpf: lwt: Free the skb when bpf xmit() fails to expand the headroom
When an LWT xmit program returns BPF OK, bpf xmit() makes sure that the skb still has room for the link layer header. If pskb expand head() fails there, bpf xmit() returns -ENOMEM without freeing the skb. Its callers, lwtunnel xmit() and then ip finish output2() or ip6 finish output2(), take any return value other than LWTUNNEL XMIT CONTINUE to mean that the skb has been consumed, so nothing frees it.
Each such failure leaks the skb, together with what it holds: its dst and its charge to the sending socket, so the socket is never freed either. The other error paths of bpf xmit() (BPF DROP, an illegal return code, a changed protocol, a failed reroute) all free the skb.
Free it here too.
The leak was found with kbound, a static analysis prototype for ownership mismatches at kernel interfaces, on v7.2.12; it is present in mainline.
Build-tested with x86 64 and arm64 allmodconfig (W=1, sparse): no new warnings. Run-tested on QEMU (x86 64, KVM) with KASAN: a route through a dummy device with an LWT xmit program that pushes one byte with bpf skb change head(), so the headroom check has to expand the head, and failslab limited to allocations under bpf xmit(). Each of 10 pings then fails with ENOMEM. Without this patch each leaves a raw socket behind (RAW slab objects 6 -> 16); with it none does (6 -> 6), and nothing else is reported. Without injection both kernels go from 6 to 6.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾