================================================================== BUG: KCSAN: data-race in sock_enable_timestamp / udp_lib_get_port read to 0xffff888123de4060 of 8 bytes by task 21530 on cpu 0: sock_enable_timestamp+0x5c/0xe0 net/core/sock.c:3048 sock_gettstamp+0x5c/0x1f0 net/core/sock.c:3012 sock_ioctl+0x28e/0x5e0 net/socket.c:1184 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0x991/0xc60 fs/ioctl.c:696 ksys_ioctl+0xbd/0xe0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x4c/0x60 fs/ioctl.c:718 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff888123de4060 of 8 bytes by task 21527 on cpu 1: __set_bit include/asm-generic/bitops-instrumented.h:46 [inline] sock_set_flag include/net/sock.h:828 [inline] udp_lib_get_port+0x530/0xd10 net/ipv4/udp.c:332 udp_v6_get_port+0x262/0x3a0 net/ipv6/udp.c:89 __inet6_bind+0x387/0xd80 net/ipv6/af_inet6.c:403 inet6_bind+0xc6/0x103 net/ipv6/af_inet6.c:453 __sys_bind+0x1df/0x220 net/socket.c:1647 __do_sys_bind net/socket.c:1658 [inline] __se_sys_bind net/socket.c:1656 [inline] __x64_sys_bind+0x4c/0x60 net/socket.c:1656 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 21527 Comm: syz-executor.5 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================