AZL-118325: CVE-2026-143202 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

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

udp: do not use a cross-family skrxdst in early demux

A dual-stack UDP socket connected to a v4-mapped address can receive both IPv4 packets and IPv6 packets using v4-mapped addresses: ip6rcvcore() no longer rejects a v4-mapped source since commit dcc32f4f183a ("ipv6: weaken the v4mapped source check"), which kept that check only in tcpv6connrequest(). ipv6portaddrhash() hashes v4-mapped addresses like IPv4 ones, so both early demux handlers find the socket, and both udp4librcv() and udp6librcv() store their input dst in the same sk->skrxdst.

udpv6earlydemux() validates the cached dst with dstcheck(), but ipv4dstcheck() ignores the cookie, so an IPv4 dst gets attached to an IPv6 skb. ip6rcvfinishcore() then skips the route lookup and iplocaldeliver() parses the IPv6 header as an IPv4 one: the IPv6 next header and hop limit are read as a fragment offset, and the IPv4 protocol is taken from a source address byte.

The reverse direction looks possible too: per-cpu dsts of IPv6 routes using nexthop objects have rt->sernum set, and ip6dstcheck() then ignores the cookie, so udpv4earlydemux() can attach an IPv6 dst to an IPv4 skb.

Kyle Zeng reported that such a packet can reach XFRM input still holding the prefetched, non refcounted, socket set by early demux, which can then outlive its RCU grace period.

Only use the cached dst if its family matches the packet. Otherwise fall back to a regular route lookup.

TCP does not have the same problem: skehashfn() hashes a v4-mapped socket with inetehashfn(), while IPv6 lookups use inet6ehashfn(), so IPv6 packets do not normally find a v4-mapped TCP socket.

Affected Software

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

Event History

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

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What socket and traffic conditions are needed to trigger the issue?

The affected path involves a dual-stack UDP socket connected to an IPv4-mapped address. The socket must be able to receive both IPv4 packets and IPv6 packets using IPv4-mapped addresses, allowing early demultiplexing to cache a destination from the other address family.

2

What happens when the destination cache is reused across address families?

An IPv4 destination can be attached to an IPv6 packet, causing the IPv6 receive path to skip route lookup and parse the IPv6 header as IPv4. The reverse IPv6-to-IPv4 direction is also described as possible when IPv6 route destination validation ignores the cookie.

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