AZL-118646: CVE-2026-143352 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
bpf: Move the transport header with the moved headers
bpfskbnethdrpop() removes len bytes at offset off. bpfskbnethdrpush() does the opposite.
skb->data off before | A | removed | B | after | A | B | skb->data off
macheader and networkheader move with A. transportheader moves only when it is equal to networkheader. innertransportheader never moves. This is correct only for a header in B. In bpflwtseg6adjustsrh() transportheader is in A. bpfskbadjustroom() can remove both transport headers. With an incorrect header offset, the stack can drop the skb or read outside of it.
Also move transportheader with A when it is in A. Set it to offset off when it is in the removed bytes. In BPFADJROOMMAC mode it is then equal to networkheader. Do not unset it, because skbgsovalidatemaclen() uses it without a check. After a removal, set innertransportheader to off when it is not in B and skb->encapsulation is set. A has only outer headers.
Affected Software
Event History
Frequently Asked Questions
What traffic or kernel path is involved in triggering the issue?
The affected path involves BPF header adjustment operations, including bpf_lwt_seg6_adjust_srh() and bpf_skb_adjust_room(). The problematic condition occurs when transport-header offsets are not moved or reset correctly as headers are removed.
What operational impact can an incorrect header offset cause?
The network stack can drop the affected skb or read outside of it. The description also notes handling for encapsulated packets and inner transport-header offsets.