{"id":"AZL-118652","summary":"CVE-2026-143354 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Require BPF_LWT_REROUTE when an lwt_in prog changes the protocol\n\nWhen an lwt_in prog returns BPF_OK, bpf_input() calls orig_input(), the\ninput handler of the route. This handler is for one IP version and needs a\ndst of the same family. But BPF_LWT_ENCAP_IP lets the prog push a header of\nthe other IP version and thus change skb-\u003eprotocol. Then the handler reads\nand changes a header of the other IP version. The push of an SRH also\nreplaces the dst, because seg6_lookup_nexthop() puts an rt6_info into the\nskb. Then ip_forward() uses the rt6_info as a struct rtable.\n\nDrop the skb with -EINVAL when skb-\u003eprotocol changes, as bpf_xmit() does.\nDrop it also when the family of the dst changes, because skb-\u003eprotocol does\nnot always show this change. Today no such skb leaves as the prog made it.\nA prog works as before if it returns BPF_LWT_REROUTE, or if it pushes an\nSRH on an IPv6 route.\n\nThe commit in the first Fixes tag lets a prog change skb-\u003eprotocol. The\ncommit in the second tag adds the check to bpf_xmit() only.","modified":"2026-12-04T14:18:40.537997636Z","published":"2026-12-03T10:18:24Z","upstream":["CVE-2026-143354"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143354"}],"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-118652.json"}}],"schema_version":"1.9.2"}