PT-2026-167214
CVE-2026-143356
·
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: Move the MAC header in bpf lwt seg6 adjust srh()
bpf skb net hdr push() and bpf skb net hdr pop() change skb->data and
skb->mac header by len. That is correct in a tc prog, where skb->data is
the MAC header. But bpf lwt seg6 adjust srh() calls them in an End.BPF
prog, where skb->data is the network header. The MAC header does not move:
before push | free | MAC header | IPv6 | SRH | payload
^ head ^ mac header ^ data
today | free | MAC h| IPv6 | SRH + len | payload
^ head ^ mac header ^ data
this patch | free | MAC header | IPv6 | SRH + len | payload
^ head ^ mac header ^ data
Users of skb mac header() get incorrect bytes until dev queue xmit() sets
skb->mac header again. skb cow head() reserves only len bytes. Thus the
16-bit offset skb->mac header can wrap. A push also changes the "not set"
value. In both cases skb mac header() points after the skb.
Move the MAC header too. Pass len + skb->mac len to skb cow head(). Keep
the "not set" value. The second Fixes tag is for this case. Since that
commit an End.BPF prog can get an skb with skb->mac header not set.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾