CVE-2026-139559

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.<dev>.seg6_require_hmac=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.

Package Linux Kernel
Published 2026-11-30
Last modified 2026-12-06
Patch available
Yes

Affected versions

Linux kernel versions 4.14 and later are affected. Fixed in 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 and their respective stable series.

Affected from
≥ 4.14
Fixed in
✓ 6.6.163 6.6.x ✓ 6.12.119 6.12.x ✓ 6.18.65 6.18.x ✓ 7.3.6 7.3.x ✓ 7.4-rc1

Frequently asked questions

  • What is CVE-2026-139559?

    CVE-2026-139559 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 4.14 onward and has been patched in 6.6.163, 6.12.119, 6.18.65 and others. CVE-2026-139559 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-139559?

    Yes. CVE-2026-139559 has been patched. Fixed versions include 6.6.163, 6.12.119, 6.18.65 and others. If you are running Linux kernel 4.14 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-139559 actively exploited?

    No. CVE-2026-139559 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.