AZL-118472: CVE-2026-143276 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

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

tcp: ipv6: do not read ireq->pktopts from tcpv6sendsynack()

When IPV6FLFREFLECT is set on a listener, or the net.ipv6.flowlabelreflect sysctl has FLOWLABELREFLECTESTABLISHED, tcpv6sendsynack() reflects the flowlabel of the SYN packet, reading it from the skb stored in ireq->pktopts.

Since commit 079096f103fa ("tcp/dccp: install synrecv requests into ehash table"), request sockets are processed without holding the listener lock. A cpu can then process a retransmitted SYN for a request socket, and send a SYNACK from tcpcheckreq(), while another cpu receives the ACK completing the 3WHS. tcpv6synrecvsock() consumes ireq->pktopts when it wins the hashdance, and the first cpu reads a freed skb:

BUG: KASAN: slab-use-after-free in tcpv6sendsynack (include/linux/skbuff.h:3152 include/linux/ipv6.h:110 net/ipv6/tcpipv6.c:582) Read of size 8 at addr ffff88802b08b608 by task poc-ipv6-pktopt/5076

Call Trace: <IRQ> tcpv6sendsynack (include/linux/skbuff.h:3152 include/linux/ipv6.h:110 net/ipv6/tcpipv6.c:582) tcprtxsynack (net/ipv4/tcpoutput.c:4719) tcpcheckreq (net/ipv4/tcpminisocks.c:762) tcpv6rcv (net/ipv6/tcpipv6.c:1826) ip6protocoldeliverrcu (net/ipv6/ip6input.c:479) ip6inputfinish (net/ipv6/ip6input.c:534) ip6input (include/linux/netfilter.h:325 include/linux/netfilter.h:319 net/ipv6/ip6input.c:545) ipv6rcv (include/net/dst.h:481 net/ipv6/ip6input.c:119 include/linux/netfilter.h:325 include/linux/netfilter.h:319 net/ipv6/ip6input.c:351)

Freed by task 5074 on cpu 0 at 15.412249s: kmemcachefree (include/linux/kasan.h:235 mm/slub.c:2780 mm/slub.c:6630 mm/slub.c:6757) tcpv6synrecvsock (net/ipv6/tcpipv6.c:1528) tcpcheckreq (net/ipv4/tcpminisocks.c:934) tcpv6rcv (net/ipv6/tcpipv6.c:1826) ip6protocoldeliverrcu (net/ipv6/ip6input.c:479) ip6inputfinish (net/ipv6/ip6input.c:534)

Request socket migration has the same issue: reqskmigratereset() transfers ireq->pktopts to the clone, which can be freed while another cpu holding a reference on the old request socket is still sending a SYNACK.

The SYNACK timer itself is not an issue, because inetcskreqskqueuedrop() calls timerdeletesync().

Save the flowlabel of the SYN in the request socket instead, so that tcpv6sendsynack() no longer needs ireq->pktopts.

As a side effect, the flowlabel is also reflected for SYN packets reusing a TIMEWAIT socket, as ireq->pktopts is not set in this case.

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

Which systems are exposed to this race condition?

The affected path is IPv6 TCP listeners configured to reflect flow labels, either through IPV6_FL_F_REFLECT on the listener or through net.ipv6.flowlabel_reflect with FLOWLABEL_REFLECT_ESTABLISHED. Systems without those conditions are not described as reaching the vulnerable flow-label reflection path.

2

What network activity is required to trigger it?

The race requires a request socket to be processed concurrently: one CPU handles a retransmitted SYN and sends a SYN-ACK while another CPU receives the ACK that completes the TCP three-way handshake. The completion path can consume ireq->pktopts before the retransmitted-SYN path reads it.

3

How might an affected system reveal the issue?

The reported failure is a KASAN slab use-after-free in tcp_v6_send_synack, reached through tcp_rtx_synack and tcp_check_req. Kernel diagnostics from an instrumented system may show a KASAN report identifying tcp_v6_send_synack and a read from freed skb-backed packet options.

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