PT-2026-167212
CVE-2026-143354
·
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:
bpf: Require BPF LWT REROUTE when an lwt in prog changes the protocol
When an lwt in prog returns BPF OK, bpf input() calls orig input(), the
input handler of the route. This handler is for one IP version and needs a
dst of the same family. But BPF LWT ENCAP IP lets the prog push a header of
the other IP version and thus change skb->protocol. Then the handler reads
and changes a header of the other IP version. The push of an SRH also
replaces the dst, because seg6 lookup nexthop() puts an rt6 info into the
skb. Then ip forward() uses the rt6 info as a struct rtable.
Drop the skb with -EINVAL when skb->protocol changes, as bpf xmit() does.
Drop it also when the family of the dst changes, because skb->protocol does
not always show this change. Today no such skb leaves as the prog made it.
A prog works as before if it returns BPF LWT REROUTE, or if it pushes an
SRH on an IPv6 route.
The commit in the first Fixes tag lets a prog change skb->protocol. The
commit in the second tag adds the check to bpf xmit() only.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾