================================================================== BUG: KCSAN: data-race in __skb_wait_for_more_packets / inet_shutdown read-write to 0xffff88810d9a302a of 1 bytes by task 19338 on cpu 0: inet_shutdown+0x139/0x1f0 net/ipv4/af_inet.c:887 __sys_shutdown_sock net/socket.c:2184 [inline] __sys_shutdown net/socket.c:2196 [inline] __do_sys_shutdown net/socket.c:2204 [inline] __se_sys_shutdown+0xf6/0x140 net/socket.c:2202 __x64_sys_shutdown+0x2d/0x40 net/socket.c:2202 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88810d9a302a of 1 bytes by task 19308 on cpu 1: __skb_wait_for_more_packets+0xdd/0x2e0 net/core/datagram.c:106 __skb_recv_udp+0x729/0x850 net/ipv4/udp.c:1770 udp_recvmsg+0x140/0xa20 net/ipv4/udp.c:1800 inet_recvmsg+0xa3/0x210 net/ipv4/af_inet.c:848 sock_recvmsg_nosec net/socket.c:886 [inline] sock_recvmsg net/socket.c:904 [inline] sock_read_iter+0x19e/0x1e0 net/socket.c:977 call_read_iter include/linux/fs.h:1895 [inline] do_iter_readv_writev+0x2e8/0x360 fs/read_write.c:738 do_iter_read+0x109/0x4b0 fs/read_write.c:801 vfs_readv fs/read_write.c:921 [inline] do_readv+0x13d/0x280 fs/read_write.c:958 __do_sys_readv fs/read_write.c:1049 [inline] __se_sys_readv fs/read_write.c:1046 [inline] __x64_sys_readv+0x41/0x50 fs/read_write.c:1046 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: 19308 Comm: syz-executor.1 Not tainted 5.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================