TCP: request_sock_subflow_v4: Possible SYN flooding on port [::]:20002. Sending cookies. ===================================================== BUG: KMSAN: uninit-value in tcp_parse_options+0x1006/0x1de0 net/ipv4/tcp_input.c:4173 tcp_parse_options+0x1006/0x1de0 net/ipv4/tcp_input.c:4173 tcp_fast_parse_options net/ipv4/tcp_input.c:4325 [inline] tcp_validate_incoming+0x432/0x30c0 net/ipv4/tcp_input.c:5925 tcp_rcv_state_process+0x8ca/0x4c10 net/ipv4/tcp_input.c:6767 tcp_v4_do_rcv+0xbf9/0x11a0 net/ipv4/tcp_ipv4.c:1938 tcp_v4_rcv+0x51df/0x5750 net/ipv4/tcp_ipv4.c:2350 ip_protocol_deliver_rcu+0x2a3/0x13d0 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x336/0x500 net/ipv4/ip_input.c:233 NF_HOOK include/linux/netfilter.h:314 [inline] ip_local_deliver+0x21f/0x490 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:460 [inline] ip_rcv_finish+0x4a2/0x520 net/ipv4/ip_input.c:449 NF_HOOK include/linux/netfilter.h:314 [inline] ip_rcv+0xcd/0x380 net/ipv4/ip_input.c:569 __netif_receive_skb_one_core net/core/dev.c:5662 [inline] __netif_receive_skb+0x319/0xa00 net/core/dev.c:5775 process_backlog+0x4ad/0xa50 net/core/dev.c:6107 __napi_poll+0xe7/0x980 net/core/dev.c:6771 napi_poll net/core/dev.c:6840 [inline] net_rx_action+0xa5a/0x19b0 net/core/dev.c:6962 handle_softirqs+0x1a0/0x7c0 kernel/softirq.c:554 __do_softirq+0x14/0x1a kernel/softirq.c:588 do_softirq+0x9a/0x100 kernel/softirq.c:455 __local_bh_enable_ip+0x9f/0xb0 kernel/softirq.c:382 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:919 [inline] __dev_queue_xmit+0x26f8/0x55e0 net/core/dev.c:4451 dev_queue_xmit include/linux/netdevice.h:3094 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip_finish_output2+0x187c/0x1b70 net/ipv4/ip_output.c:236 __ip_finish_output+0x287/0x810 ip_finish_output+0x4b/0x550 net/ipv4/ip_output.c:324 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip_output+0x15f/0x3f0 net/ipv4/ip_output.c:434 dst_output include/net/dst.h:450 [inline] ip_local_out net/ipv4/ip_output.c:130 [inline] __ip_queue_xmit+0x1e95/0x2040 net/ipv4/ip_output.c:536 ip_queue_xmit+0x60/0x80 net/ipv4/ip_output.c:550 __tcp_transmit_skb+0x3c6b/0x4880 net/ipv4/tcp_output.c:1466 tcp_transmit_skb net/ipv4/tcp_output.c:1484 [inline] tcp_write_xmit+0x3b90/0x9070 net/ipv4/tcp_output.c:2830 __tcp_push_pending_frames net/ipv4/tcp_output.c:3015 [inline] tcp_send_fin+0xa9d/0x12e0 net/ipv4/tcp_output.c:3621 tcp_shutdown+0x198/0x1f0 net/ipv4/tcp.c:2993 __mptcp_subflow_disconnect net/mptcp/protocol.c:2403 [inline] __mptcp_close_ssk+0x9a9/0x16e0 net/mptcp/protocol.c:2454 mptcp_close_ssk+0x26b/0x2c0 net/mptcp/protocol.c:2525 mptcp_pm_nl_rm_addr_or_subflow+0x5a6/0xcc0 net/mptcp/pm_netlink.c:877 mptcp_pm_nl_rm_subflow_received net/mptcp/pm_netlink.c:913 [inline] mptcp_pm_flush_addrs_and_subflows net/mptcp/pm_netlink.c:1684 [inline] mptcp_nl_flush_addrs_list net/mptcp/pm_netlink.c:1705 [inline] mptcp_pm_nl_flush_addrs_doit+0xe10/0x1630 net/mptcp/pm_netlink.c:1746 genl_family_rcv_msg_doit net/netlink/genetlink.c:1115 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0x1214/0x12c0 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x375/0x650 net/netlink/af_netlink.c:2550 genl_rcv+0x40/0x60 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0xf52/0x1260 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x10da/0x11e0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg+0x30f/0x380 net/socket.c:744 ____sys_sendmsg+0x877/0xb60 net/socket.c:2602 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2656 __sys_sendmsg net/socket.c:2685 [inline] __do_sys_sendmsg net/socket.c:2694 [inline] __se_sys_sendmsg net/socket.c:2692 [inline] __x64_sys_sendmsg+0x300/0x4a0 net/socket.c:2692 x64_sys_call+0x2da0/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: slab_post_alloc_hook mm/slub.c:4092 [inline] slab_alloc_node mm/slub.c:4135 [inline] kmem_cache_alloc_node_noprof+0x6bf/0xb80 mm/slub.c:4187 kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:587 __alloc_skb+0x363/0x7b0 net/core/skbuff.c:678 alloc_skb_fclone include/linux/skbuff.h:1372 [inline] tcp_send_fin+0x3ba/0x12e0 net/ipv4/tcp_output.c:3607 tcp_shutdown+0x198/0x1f0 net/ipv4/tcp.c:2993 __mptcp_subflow_disconnect net/mptcp/protocol.c:2403 [inline] __mptcp_close_ssk+0x9a9/0x16e0 net/mptcp/protocol.c:2454 mptcp_close_ssk+0x26b/0x2c0 net/mptcp/protocol.c:2525 mptcp_pm_nl_rm_addr_or_subflow+0x5a6/0xcc0 net/mptcp/pm_netlink.c:877 mptcp_pm_nl_rm_subflow_received net/mptcp/pm_netlink.c:913 [inline] mptcp_pm_flush_addrs_and_subflows net/mptcp/pm_netlink.c:1684 [inline] mptcp_nl_flush_addrs_list net/mptcp/pm_netlink.c:1705 [inline] mptcp_pm_nl_flush_addrs_doit+0xe10/0x1630 net/mptcp/pm_netlink.c:1746 genl_family_rcv_msg_doit net/netlink/genetlink.c:1115 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0x1214/0x12c0 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x375/0x650 net/netlink/af_netlink.c:2550 genl_rcv+0x40/0x60 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0xf52/0x1260 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x10da/0x11e0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg+0x30f/0x380 net/socket.c:744 ____sys_sendmsg+0x877/0xb60 net/socket.c:2602 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2656 __sys_sendmsg net/socket.c:2685 [inline] __do_sys_sendmsg net/socket.c:2694 [inline] __se_sys_sendmsg net/socket.c:2692 [inline] __x64_sys_sendmsg+0x300/0x4a0 net/socket.c:2692 x64_sys_call+0x2da0/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 7959 Comm: syz.0.535 Not tainted 6.12.0-rc1-syzkaller-00046-g7ec462100ef9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 =====================================================