AZL-117226: CVE-2026-139559 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

seg6: fix HMAC validation when an extension header precedes the SRH

seg6hmacvalidateskb() derived the SRH from skbtransportheader(). That only holds while the two coincide, which is not true on the seg6local input path.

ip6rcvcore() 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 seg6local 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 seg6getsrh() 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 seg6requirehmac is set. Such a packet is legitimate: RFC 8200 allows Destination Options before a routing header, and getsrh() has walked the header chain since commit 5829d70b0b6c ("ipv6: sr: fix getsrh() 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 seg6getsrh(). This happens before seg6requirehmac is read, so the default configuration is affected.

Reproduce by giving a node a seg6local End SID with net.ipv6.conf.<dev>.seg6requirehmac=1 and a key installed with "ip sr hmac set <keyid> 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.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Event History

Nov 30, 2026
Advisory Published
via OSV·02:19 PM
Data Sourced
via OSV·02:19 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

When does this issue affect packet handling?

It affects the seg6_local input path when seg6_require_hmac is enabled and an IPv6 extension header, such as a Destination Options header, precedes the Segment Routing Header (SRH). In that case, legitimate packets with a valid HMAC TLV can be dropped.

2

What is the practical impact of the flaw?

The described impact is rejection of legitimate SRH packets because HMAC validation is calculated over the preceding extension header rather than the actual SRH. The data does not describe unauthorized acceptance of invalid packets.

3

Are all IPv6 extension headers handled the same way?

No. A Hop-by-Hop Options header is consumed before route lookup and advances the transport header, while a Destination Options header can remain at the transport header when the seg6_local lwtunnel path is reached. The description also notes Fragment or Authentication headers before the SRH, but does not provide the full impact details for those cases.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203