================================================================== BUG: KCSAN: data-race in dccp_rcv_reset / sock_alloc_send_pskb write to 0xffff88810a62b830 of 4 bytes by interrupt on cpu 0: dccp_rcv_reset+0x9b/0x190 net/dccp/input.c:149 dccp_rcv_state_process+0x318/0xde0 net/dccp/input.c:662 dccp_v4_do_rcv+0x8f/0xd0 net/dccp/ipv4.c:686 sk_backlog_rcv include/net/sock.h:1016 [inline] __sk_receive_skb+0x229/0x550 net/core/sock.c:509 dccp_v4_rcv+0xcbb/0xe90 net/dccp/ipv4.c:880 ip_protocol_deliver_rcu+0x1f9/0x3e0 net/ipv4/ip_input.c:204 ip_local_deliver_finish net/ipv4/ip_input.c:231 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] ip_local_deliver+0x1c0/0x280 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:447 [inline] ip_rcv_finish net/ipv4/ip_input.c:428 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] ip_rcv+0x1a6/0x250 net/ipv4/ip_input.c:539 __netif_receive_skb_one_core net/core/dev.c:5323 [inline] __netif_receive_skb+0x8b/0x1b0 net/core/dev.c:5437 process_backlog+0x23f/0x3d0 net/core/dev.c:6327 napi_poll+0x181/0x630 net/core/dev.c:6805 net_rx_action+0x17a/0x480 net/core/dev.c:6888 __do_softirq+0x13c/0x2c3 kernel/softirq.c:343 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x32/0x40 arch/x86/kernel/irq_64.c:77 do_softirq kernel/softirq.c:246 [inline] __local_bh_enable_ip+0xba/0xd0 kernel/softirq.c:196 local_bh_enable+0x1b/0x20 include/linux/bottom_half.h:32 inet_csk_listen_stop+0x1b4/0x380 net/ipv4/inet_connection_sock.c:1037 dccp_close+0x372/0xb60 net/dccp/proto.c:993 inet_release+0xed/0x130 net/ipv4/af_inet.c:431 inet6_release+0x3a/0x50 net/ipv6/af_inet6.c:475 __sock_release net/socket.c:597 [inline] sock_close+0x6c/0x150 net/socket.c:1256 __fput+0x24b/0x4e0 fs/file_table.c:280 ____fput+0x11/0x20 fs/file_table.c:313 task_work_run+0x8e/0x110 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x16b/0x1a0 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:302 do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88810a62b830 of 4 bytes by task 2865 on cpu 1: sock_error include/net/sock.h:2235 [inline] sock_alloc_send_pskb+0xe4/0x4e0 net/core/sock.c:2328 sock_alloc_send_skb+0x2d/0x40 net/core/sock.c:2365 dccp_sendmsg+0x193/0x690 net/dccp/proto.c:768 inet_sendmsg+0x5f/0x80 net/ipv4/af_inet.c:817 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] ____sys_sendmsg+0x352/0x4c0 net/socket.c:2345 ___sys_sendmsg net/socket.c:2399 [inline] __sys_sendmmsg+0x335/0x4b0 net/socket.c:2489 __do_sys_sendmmsg net/socket.c:2518 [inline] __se_sys_sendmmsg net/socket.c:2515 [inline] __x64_sys_sendmmsg+0x53/0x60 net/socket.c:2515 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 2865 Comm: syz-executor.3 Not tainted 5.11.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================