{"id":"AZL-118640","summary":"CVE-2026-143350 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: lwt: Free the skb when bpf_xmit() fails to expand the headroom\n\nWhen an LWT xmit program returns BPF_OK, bpf_xmit() makes sure that\nthe skb still has room for the link layer header. If\npskb_expand_head() fails there, bpf_xmit() returns -ENOMEM without\nfreeing the skb. Its callers, lwtunnel_xmit() and then\nip_finish_output2() or ip6_finish_output2(), take any return value\nother than LWTUNNEL_XMIT_CONTINUE to mean that the skb has been\nconsumed, so nothing frees it.\n\nEach such failure leaks the skb, together with what it holds: its dst\nand its charge to the sending socket, so the socket is never freed\neither. The other error paths of bpf_xmit() (BPF_DROP, an illegal\nreturn code, a changed protocol, a failed reroute) all free the skb.\n\nFree it here too.\n\nThe leak was found with kbound, a static analysis prototype for\nownership mismatches at kernel interfaces, on v7.2.12; it is present in\nmainline.\n\nBuild-tested with x86_64 and arm64 allmodconfig (W=1, sparse): no new\nwarnings. Run-tested on QEMU (x86_64, KVM) with KASAN: a route through a\ndummy device with an LWT xmit program that pushes one byte with\nbpf_skb_change_head(), so the headroom check has to expand the head, and\nfailslab limited to allocations under bpf_xmit(). Each of 10 pings then\nfails with ENOMEM. Without this patch each leaves a raw socket behind\n(RAW slab objects 6 -\u003e 16); with it none does (6 -\u003e 6), and nothing else\nis reported. Without injection both kernels go from 6 to 6.","modified":"2026-12-04T14:18:40.643317550Z","published":"2026-12-03T10:18:23Z","upstream":["CVE-2026-143350"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143350"}],"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-118640.json"}}],"schema_version":"1.9.2"}