AZL-118415: CVE-2026-143253 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

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

ipv6: Check the Home Address option again before its address is used

ipv6desthao() checks the Home Address option and sets IP6CB(skb)->dsthao to the offset of the destination options header. Later mip6addrswap() and mip6destoptreject() call ipv6findtlv() with that offset and use the 16 address bytes. They assume that the same header is still there.

But the seg6 and ioam6 lwtunnels, the End.B6 actions, ipv6rplsrhrcv() and BPF lwt progs move or rewrite the IPv6 headers and keep IP6CB(skb). Then ipv6findtlv() parses other bytes. It returns when the type matches, before it checks that the option is inside the header. Nobody checks the length of the option again. Thus mip6addrswap() can write after the data of the skb. mip6destoptreject() can copy that memory to an xfrm report.

In ipv6findtlv(), check the length of an option before its type. The returned option is then inside the header, and the header is inside the linear data. In both callers, ignore an option with a length other than 16, as if ipv6findtlv() found none. Then the ICMPv6 error goes to the source address of the IPv6 header, and the xfrm report has no XFRMACOADDR attribute. Nothing changes for a header that ip6parsetlv() accepted and that is still in its place. For the other callers an incomplete option is now absent:

- ip6find1stfragopt() and mip6rthdroffset() can return another offset for the fragment header or the xfrm header, also in a forwarded packet. - calipsoskbuffoptptr() returns NULL. netlblskbuffgetattr() and netlblcacheadd() then see no option. calipsoskbuffdelattr() returns 0 and the packet continues unchanged. Today it returns -EINVAL and SELinux drops the packet. It already returns 0 when an earlier option is incomplete. The receiver drops such a header in ip6parsetlv().

The code that moves the headers still does not reset the offset or the other fields of IP6CB(skb). If the bytes there look like a header with a Home Address option of length 16, both callers still use its address.

The first tag also covers ipv6findtlv(), because its early return did no harm before mip6addrswap(). The second tag is for mip6destoptreject().

Affected Software

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

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 processing conditions are needed to trigger this issue?

The issue involves IPv6 packets containing a Home Address destination option whose IPv6 headers are later moved or rewritten while IP6CB(skb) is retained. The description identifies seg6 and ioam6 lwtunnels, End.B6 actions, ipv6_rpl_srh_rcv(), and BPF lightweight-tunnel programs as paths that can make the previously recorded option offset stale.

2

What are the potential effects if the stale option offset is used?

mip6_addr_swap() can write beyond the skb data. mip6_destopt_reject() can copy the referenced memory into an xfrm report.

3

What does the resolution change?

The fix validates an option's length before its type in ipv6_find_tlv(), ensuring a returned option is within the destination-options header and linear packet data. The affected callers also ignore Home Address options whose length is not 16 bytes.

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