{"id":"AZL-118658","summary":"CVE-2026-143356 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Move the MAC header in bpf_lwt_seg6_adjust_srh()\n\nbpf_skb_net_hdr_push() and bpf_skb_net_hdr_pop() change skb-\u003edata and\nskb-\u003emac_header by len. That is correct in a tc prog, where skb-\u003edata is\nthe MAC header. But bpf_lwt_seg6_adjust_srh() calls them in an End.BPF\nprog, where skb-\u003edata is the network header. The MAC header does not move:\n\n  before push  |       free       | MAC header   | IPv6 | SRH | payload\n               ^ head             ^ mac_header   ^ data\n  today        |       free       | MAC h| IPv6 | SRH   + len | payload\n               ^ head     ^ mac_header   ^ data\n  this patch   |   free   | MAC header   | IPv6 | SRH   + len | payload\n               ^ head     ^ mac_header   ^ data\n\nUsers of skb_mac_header() get incorrect bytes until __dev_queue_xmit() sets\nskb-\u003emac_header again. skb_cow_head() reserves only len bytes. Thus the\n16-bit offset skb-\u003emac_header can wrap. A push also changes the \"not set\"\nvalue. In both cases skb_mac_header() points after the skb.\n\nMove the MAC header too. Pass len + skb-\u003emac_len to skb_cow_head(). Keep\nthe \"not set\" value. The second Fixes tag is for this case. Since that\ncommit an End.BPF prog can get an skb with skb-\u003emac_header not set.","modified":"2026-12-04T14:18:30.909119215Z","published":"2026-12-03T10:18:24Z","upstream":["CVE-2026-143356"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143356"}],"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-118658.json"}}],"schema_version":"1.9.2"}