{"id":"AZL-117226","summary":"CVE-2026-139559 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nseg6: fix HMAC validation when an extension header precedes the SRH\n\nseg6_hmac_validate_skb() derived the SRH from skb_transport_header().\nThat only holds while the two coincide, which is not true on the\nseg6_local input path.\n\nip6_rcv_core() leaves the transport header just past the IPv6 header.\nA Hop-by-Hop options header is consumed before the route lookup and\nadvances it, but a Destination Options header is not: the seg6_local\nlwtunnel is entered through an input redirect from the route lookup,\nwhich bypasses the extension header handlers. The transport header\nthen still points at the Destination Options header while\nseg6_get_srh() has located the real SRH further down the chain.\n\nThe HMAC is therefore computed over the Destination Options header,\nand a packet carrying a valid HMAC TLV is dropped when\nseg6_require_hmac is set. Such a packet is legitimate: RFC 8200 allows\nDestination Options before a routing header, and get_srh() has walked\nthe header chain since commit 5829d70b0b6c (\"ipv6: sr: fix get_srh() to\ncomply with IPv6 standard \"RFC 8200\"\").\n\nWith a Fragment or an Authentication header in front of the SRH, the\nsame mistake also reads past the data pulled by seg6_get_srh(). This\nhappens before seg6_require_hmac is read, so the default configuration\nis affected.\n\nReproduce by giving a node a seg6local End SID with\nnet.ipv6.conf.\u003cdev\u003e.seg6_require_hmac=1 and a key installed with\n\"ip sr hmac set \u003ckeyid\u003e sha1\", then sending\n\n  IPv6 -\u003e Destination Options -\u003e SRH (carrying a valid HMAC TLV) -\u003e payload\n\nto that SID: it is dropped, while the same packet without the\nDestination Options header passes.","modified":"2026-12-01T14:17:41.683362005Z","published":"2026-11-30T14:19:36Z","upstream":["CVE-2026-139559"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139559"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-117226.json"}}],"schema_version":"1.9.2"}