CVE-2026-143276

Not scored yetLast modified Dec 3, 2026

Description

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

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

When IPV6_FL_F_REFLECT is set on a listener, or the net.ipv6.flowlabel_reflect sysctl has FLOWLABEL_REFLECT_ESTABLISHED, tcp_v6_send_synack() reflects the flowlabel of the SYN packet, reading it from the skb stored in ireq->pktopts.

Since commit 079096f103fa ("tcp/dccp: install syn_recv 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 tcp_check_req(), while another cpu receives the ACK completing the 3WHS. tcp_v6_syn_recv_sock() consumes ireq->pktopts when it wins the hashdance, and the first cpu reads a freed skb:

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

Call Trace: <IRQ> tcp_v6_send_synack (include/linux/skbuff.h:3152 include/linux/ipv6.h:110 net/ipv6/tcp_ipv6.c:582) tcp_rtx_synack (net/ipv4/tcp_output.c:4719) tcp_check_req (net/ipv4/tcp_minisocks.c:762) tcp_v6_rcv (net/ipv6/tcp_ipv6.c:1826) ip6_protocol_deliver_rcu (net/ipv6/ip6_input.c:479) ip6_input_finish (net/ipv6/ip6_input.c:534) ip6_input (include/linux/netfilter.h:325 include/linux/netfilter.h:319 net/ipv6/ip6_input.c:545) ipv6_rcv (include/net/dst.h:481 net/ipv6/ip6_input.c:119 include/linux/netfilter.h:325 include/linux/netfilter.h:319 net/ipv6/ip6_input.c:351)

Freed by task 5074 on cpu 0 at 15.412249s: kmem_cache_free (include/linux/kasan.h:235 mm/slub.c:2780 mm/slub.c:6630 mm/slub.c:6757) tcp_v6_syn_recv_sock (net/ipv6/tcp_ipv6.c:1528) tcp_check_req (net/ipv4/tcp_minisocks.c:934) tcp_v6_rcv (net/ipv6/tcp_ipv6.c:1826) ip6_protocol_deliver_rcu (net/ipv6/ip6_input.c:479) ip6_input_finish (net/ipv6/ip6_input.c:534)

Request socket migration has the same issue: reqsk_migrate_reset() 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 inet_csk_reqsk_queue_drop() calls timer_delete_sync().

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

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

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143277In the Linux kernel, the following vulnerability has been resolved: ipv4: Call rt_add_uncached_list() if !do_cache in ip_route_input_slow()CVE-2026-143278In the Linux kernel, the following vulnerability has been resolved: ipv6: Flush rt->from in rt6_uncached_list_flush_dev(). When a device iCVE-2026-143279In the Linux kernel, the following vulnerability has been resolved: cpufreq: Hold the policy write lock when changing boost state The per-CVE-2026-143288.8The Eazy Plugin Manager – Powerful Plugin Management Solution for WordPress plugin for WordPress is vulnerable to Privilege Escalation in alCVE-2026-143280In the Linux kernel, the following vulnerability has been resolved: erofs: treat files shared by inode_share as stacked A file-backed mounCVE-2026-143281In the Linux kernel, the following vulnerability has been resolved: nvmet-rdma: disconnect a queue on device removal cma_remove_one() sendCVE-2026-143282In the Linux kernel, the following vulnerability has been resolved: nvmet-rdma: queue the release work under the mutex nvmet_rdma_remove_oCVE-2026-143283In the Linux kernel, the following vulnerability has been resolved: nvmet-rdma: take a device off the list last nvmet_rdma_remove_one() diCVE-2026-143284In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: limit the connections accepted per work run nvmet_tcp_accepCVE-2026-143285In the Linux kernel, the following vulnerability has been resolved: nvmet-rdma: disconnect only established queues Over iWARP, rdma_disconCVE-2026-143286In the Linux kernel, the following vulnerability has been resolved: nvmet-auth: keep the old keys if the new ones fail AUTH_Negotiate on tCVE-2026-143287In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: ask for the TLS record type on every receive nvmet_tcp_allo
CVE-2026-143276: Unscored | Vulnix