PT-2026-163600
CVE-2026-139559
·
Publicado
2026-11-30
·
Atualizado
2026-11-30
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:
seg6: fix HMAC validation when an extension header precedes the SRH
seg6 hmac validate skb() derived the SRH from skb transport header().
That only holds while the two coincide, which is not true on the
seg6 local input path.
ip6 rcv core() leaves the transport header just past the IPv6 header.
A Hop-by-Hop options header is consumed before the route lookup and
advances it, but a Destination Options header is not: the seg6 local
lwtunnel is entered through an input redirect from the route lookup,
which bypasses the extension header handlers. The transport header
then still points at the Destination Options header while
seg6 get srh() has located the real SRH further down the chain.
The HMAC is therefore computed over the Destination Options header,
and a packet carrying a valid HMAC TLV is dropped when
seg6 require hmac is set. Such a packet is legitimate: RFC 8200 allows
Destination Options before a routing header, and get srh() has walked
the header chain since commit 5829d70b0b6c ("ipv6: sr: fix get srh() to
comply with IPv6 standard "RFC 8200"").
With a Fragment or an Authentication header in front of the SRH, the
same mistake also reads past the data pulled by seg6 get srh(). This
happens before seg6 require hmac is read, so the default configuration
is affected.
Reproduce by giving a node a seg6local End SID with
net.ipv6.conf..seg6 require hmac=1 and a key installed with
"ip sr hmac set sha1", then sending
IPv6 -> Destination Options -> SRH (carrying a valid HMAC TLV) -> payload
to that SID: it is dropped, while the same packet without the
Destination Options header passes.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾