AZL-118667: CVE-2026-143359 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

bpf: Reject non-IPv6 packets in BPFLWTENCAPSEG6

The mode BPFLWTENCAPSEG6 of bpflwtpushencap() pushes an IPv6 header and an SRH, and it replaces the dst. The SRH says that IPv6 follows, and skb->protocol does not change. Thus the mode assumes an IPv6 packet, but an lwtin prog also runs for IPv4 packets. After the prog, bpfinput() calls originput() of the old dst. This IPv4 handler reads the pushed headers as IPv4. It can write after the packet data, and the kernel crashes.

after the push originput() expects --------------------- -------------------- skb->protocol ETHPIP ETHPIP dst rt6info rtable packet | IPv6 | SRH | IPv4 | | IPv4 |

The mode BPFLWTENCAPSEG6INLINE returns -EBADMSG for non-IPv6 packets. Apply this check to both modes. End.BPF does not change, because seg6localinput() drops non-IPv6 packets.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Reject non-IPv6 packets in both BPF_LWT_ENCAP_SEG6 modes.

Event History

Dec 3, 2026
Advisory Published
via OSV·10:18 AM
Data Sourced
via OSV·10:18 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What traffic and configuration are required to trigger this issue?

The affected system must use a BPF LWT input program that invokes bpf_lwt_push_encap() in BPF_LWT_ENCAP_SEG6 mode. The program must process a non-IPv6 packet, such as IPv4; the unsafe path arises because the mode pushes IPv6 and SRH headers while the packet protocol remains IPv4.

2

What is the practical impact if the vulnerable path is reached?

The old IPv4 destination input handler can interpret the pushed IPv6 and SRH headers as IPv4 data and write beyond the packet data. This can crash the kernel.

3

Is the inline Segment Routing encapsulation mode affected?

No. BPF_LWT_ENCAP_SEG6_INLINE already returns -EBADMSG for non-IPv6 packets, so the described non-IPv6 handling flaw applies to BPF_LWT_ENCAP_SEG6 mode.

4

What can be done before applying the resolved kernel version?

Avoid using BPF_LWT_ENCAP_SEG6 in LWT input programs for traffic that may include non-IPv6 packets. Restrict such programs to IPv6 packets or prevent IPv4 packets from reaching the program.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203