{"id":"AZL-118472","summary":"CVE-2026-143276 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: ipv6: do not read ireq-\u003epktopts from tcp_v6_send_synack()\n\nWhen IPV6_FL_F_REFLECT is set on a listener, or the\nnet.ipv6.flowlabel_reflect sysctl has FLOWLABEL_REFLECT_ESTABLISHED,\ntcp_v6_send_synack() reflects the flowlabel of the SYN packet,\nreading it from the skb stored in ireq-\u003epktopts.\n\nSince commit 079096f103fa (\"tcp/dccp: install syn_recv requests\ninto ehash table\"), request sockets are processed without holding\nthe listener lock. A cpu can then process a retransmitted SYN for a\nrequest socket, and send a SYNACK from tcp_check_req(), while another\ncpu receives the ACK completing the 3WHS. tcp_v6_syn_recv_sock()\nconsumes ireq-\u003epktopts when it wins the hashdance, and the first cpu\nreads a freed skb:\n\n  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)\n  Read of size 8 at addr ffff88802b08b608 by task poc-ipv6-pktopt/5076\n\n  Call Trace:\n   \u003cIRQ\u003e\n   tcp_v6_send_synack (include/linux/skbuff.h:3152 include/linux/ipv6.h:110 net/ipv6/tcp_ipv6.c:582)\n   tcp_rtx_synack (net/ipv4/tcp_output.c:4719)\n   tcp_check_req (net/ipv4/tcp_minisocks.c:762)\n   tcp_v6_rcv (net/ipv6/tcp_ipv6.c:1826)\n   ip6_protocol_deliver_rcu (net/ipv6/ip6_input.c:479)\n   ip6_input_finish (net/ipv6/ip6_input.c:534)\n   ip6_input (include/linux/netfilter.h:325 include/linux/netfilter.h:319 net/ipv6/ip6_input.c:545)\n   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)\n\n  Freed by task 5074 on cpu 0 at 15.412249s:\n   kmem_cache_free (include/linux/kasan.h:235 mm/slub.c:2780 mm/slub.c:6630 mm/slub.c:6757)\n   tcp_v6_syn_recv_sock (net/ipv6/tcp_ipv6.c:1528)\n   tcp_check_req (net/ipv4/tcp_minisocks.c:934)\n   tcp_v6_rcv (net/ipv6/tcp_ipv6.c:1826)\n   ip6_protocol_deliver_rcu (net/ipv6/ip6_input.c:479)\n   ip6_input_finish (net/ipv6/ip6_input.c:534)\n\nRequest socket migration has the same issue: reqsk_migrate_reset()\ntransfers ireq-\u003epktopts to the clone, which can be freed while\nanother cpu holding a reference on the old request socket is still\nsending a SYNACK.\n\nThe SYNACK timer itself is not an issue, because\ninet_csk_reqsk_queue_drop() calls timer_delete_sync().\n\nSave the flowlabel of the SYN in the request socket instead, so that\ntcp_v6_send_synack() no longer needs ireq-\u003epktopts.\n\nAs a side effect, the flowlabel is also reflected for SYN packets\nreusing a TIME_WAIT socket, as ireq-\u003epktopts is not set in this case.","modified":"2026-12-04T14:18:54.429997389Z","published":"2026-12-03T10:18:11Z","upstream":["CVE-2026-143276"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143276"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-118472.json"}}],"schema_version":"1.9.2"}