{"id":"AZL-118415","summary":"CVE-2026-143253 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: Check the Home Address option again before its address is used\n\nipv6_dest_hao() checks the Home Address option and sets IP6CB(skb)-\u003edsthao\nto the offset of the destination options header. Later mip6_addr_swap() and\nmip6_destopt_reject() call ipv6_find_tlv() with that offset and use the 16\naddress bytes. They assume that the same header is still there.\n\nBut the seg6 and ioam6 lwtunnels, the End.B6 actions, ipv6_rpl_srh_rcv()\nand BPF lwt progs move or rewrite the IPv6 headers and keep IP6CB(skb).\nThen ipv6_find_tlv() parses other bytes. It returns when the type matches,\nbefore it checks that the option is inside the header. Nobody checks the\nlength of the option again. Thus mip6_addr_swap() can write after the data\nof the skb. mip6_destopt_reject() can copy that memory to an xfrm report.\n\nIn ipv6_find_tlv(), check the length of an option before its type. The\nreturned option is then inside the header, and the header is inside the\nlinear data. In both callers, ignore an option with a length other than 16,\nas if ipv6_find_tlv() found none. Then the ICMPv6 error goes to the source\naddress of the IPv6 header, and the xfrm report has no XFRMA_COADDR\nattribute. Nothing changes for a header that ip6_parse_tlv() accepted and\nthat is still in its place. For the other callers an incomplete option is\nnow absent:\n\n - ip6_find_1stfragopt() and mip6_rthdr_offset() can return another offset\n   for the fragment header or the xfrm header, also in a forwarded packet.\n - calipso_skbuff_optptr() returns NULL. netlbl_skbuff_getattr() and\n   netlbl_cache_add() then see no option. calipso_skbuff_delattr() returns\n   0 and the packet continues unchanged. Today it returns -EINVAL and\n   SELinux drops the packet. It already returns 0 when an earlier option is\n   incomplete. The receiver drops such a header in ip6_parse_tlv().\n\nThe code that moves the headers still does not reset the offset or the\nother fields of IP6CB(skb). If the bytes there look like a header with a\nHome Address option of length 16, both callers still use its address.\n\nThe first tag also covers ipv6_find_tlv(), because its early return did no\nharm before mip6_addr_swap(). The second tag is for mip6_destopt_reject().","modified":"2026-12-04T14:19:02.924864188Z","published":"2026-12-03T10:18:05Z","upstream":["CVE-2026-143253"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143253"}],"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-118415.json"}}],"schema_version":"1.9.2"}