AZL-118655: CVE-2026-143355 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

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

bpf: Reset skb->cb after an lwt prog pushes an IP header

IPCB(skb)->opt holds the offsets from the network header to the IPv4 options. But bpflwtpushipencap() moves the network header and does not change IPCB(skb). Then ipforwardoptions() and ipoptionsecho() use the old offsets on the pushed header. Thus the kernel corrupts the skb and the stack. If the family changes, the kernel also reads IP6CB(skb) as IPCB(skb), or the reverse. With CONFIGIPV6MIP6, it reads IPSKBFORWARDED as fragmaxsize and adds a needless fragment header.

Reset skb->cb after the prog. bpflwtpushipencap() cannot do it, because bpfprogrunsavecb() can restore skb->cb. For IPv4 in IPv4, clear IPCB(skb)->opt as iptunnelxmit() does. If the family changes, clear the cb of the new family but keep iif, because ip6forward() gets the input device from it. Behind a VRF, skb->skbiif is the VRF device and cannot replace iif. Do nothing for IPv6 in IPv6, as in seg6dosrhencap().

Do the reset in bpfinput() only after a push. Without a push, ipforwardoptions() needs the offsets. Do it in bpfxmit() before each reroute, because an lwtxmit prog can also change the options. Thus after a reroute without a push, ipoptionsfragment() leaves the options in all fragments, and ICMP errors echo none. After BPFOK or BPFREDIRECT the skb goes to a device, thus bpfxmit() does no reset. The inner IPv4 checksum can still be wrong after iprcvoptions() changes an option.

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

    Reset skb->cb after an LWT BPF program pushes an IP header. In bpf_input(), reset it only after a push; clear the control block for the new address family while preserving skb_iif. Do not reset for IPv6-in-IPv6 encapsulation.

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 paths are exposed to this issue?

Exposure requires an LWT BPF program to push an IP encapsulation header. The problematic handling occurs after that push when forwarding or rerouting processes packet control-block data, particularly where IPv4 options or an IP-family change are involved.

2

Are systems using LWT BPF programs affected if those programs do not push an IP header?

The described reset is only needed after a header push. Without a push, forwarding still needs the existing IPv4 option offsets, so this specific corruption condition is not described for that path.

3

Does IPv6 configuration change the impact?

When the encapsulation changes address family, stale control-block data can be interpreted as belonging to the wrong IP family. With CONFIG_IPV6_MIP6 enabled, the issue can also cause a needless IPv6 fragment header to be added.

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