{"id":"AZL-118661","summary":"CVE-2026-143357 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't look for the SRH again in the End.BPF helpers\n\nA packet can have two SRHs. Thus input_action_end_bpf() uses\nIP6_FH_F_SKIP_RH to skip routing headers with segments_left 0. The helpers\nbpf_lwt_seg6_store_bytes() and bpf_lwt_seg6_adjust_srh() can reallocate the\nhead of the skb. Thus they look for the SRH again, but without this flag.\n\n  +------------------------+ \u003c- the helpers: srh_state-\u003esrh\n  | SRH 1, segments_left 0 |\n  +------------------------+ \u003c- input_action_end_bpf(): srh_state-\u003esrh\n  | SRH 2                  |    and srh_state-\u003ehdrlen\n  +------------------------+\n\nThen the helpers check offset against the wrong limits. If a helper changes\nTLVs, seg6_bpf_has_valid_srh() writes the length of SRH 2 to SRH 1.\n\nNeither helper changes the offset of the SRH from skb-\u003edata. Calculate the\nnew address from this offset. To add IP6_FH_F_SKIP_RH is not sufficient,\nbecause advance_nextseg() can set segments_left of SRH 2 to 0. The helper\nbpf_lwt_seg6_action() can change the headers and still looks for the SRH.","modified":"2026-12-04T14:18:30.918075296Z","published":"2026-12-03T10:18:24Z","upstream":["CVE-2026-143357"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143357"}],"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-118661.json"}}],"schema_version":"1.9.2"}