Technical impact
The Linux kernel contains a bug where the seg6_hmac_validate_skb function derives the Segment Routing Header (SRH) from the transport header, which is only correct when those headers coincide. On the seg6_local input path, a Destination Options header can precede the SRH, causing the HMAC to be calculated over the wrong header. Because RFC 8200 permits this ordering, packets carrying a valid HMAC on the real SRH are incorrectly dropped when the seg6_require_hmac check is enabled, resulting in legitimate traffic loss.
Affected Systems
This flaw affects any system running a Linux kernel that has enabled the seg6_local LWTunnel with the sysctl net.ipv6.conf.<dev>.seg6_require_hmac=1 and has a segment‑routing HMAC key configured via "ip sr hmac set <keyid> sha1". Only kernels prior to the commit that applied the seg6_hmac_validate_skb fix are vulnerable; later kernels have corrected the SRH retrieval logic.
Risk and Exploitability
The vulnerability does not provide an attacker with elevated privileges or data exfiltration capabilities. It can be leveraged to cause a denial of service by an adversary who sends crafted IPv6 packets that include a Destination Options header immediately before a valid SRH and HMAC. Public exploits are not listed in the CISA KEV catalog and no EPSS score is available, indicating that attacks are currently unproven but plausible against exposed seg6_local traffic.