================================================================== BUG: KCSAN: data-race in bcm_connect / bcm_sendmsg write to 0xffff88813776bf10 of 4 bytes by task 16122 on cpu 0: bcm_connect+0x205/0x2b0 net/can/bcm.c:1641 __sys_connect_file net/socket.c:1992 [inline] __sys_connect+0x1a1/0x1b0 net/socket.c:2009 __do_sys_connect net/socket.c:2019 [inline] __se_sys_connect net/socket.c:2016 [inline] __x64_sys_connect+0x41/0x50 net/socket.c:2016 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff88813776bf10 of 4 bytes by task 16123 on cpu 1: bcm_sendmsg+0x6b/0x470 net/can/bcm.c:1303 sock_sendmsg_nosec net/socket.c:725 [inline] sock_sendmsg net/socket.c:748 [inline] ____sys_sendmsg+0x37c/0x4d0 net/socket.c:2494 ___sys_sendmsg net/socket.c:2548 [inline] __sys_sendmmsg+0x269/0x500 net/socket.c:2634 __do_sys_sendmmsg net/socket.c:2663 [inline] __se_sys_sendmmsg net/socket.c:2660 [inline] __x64_sys_sendmmsg+0x57/0x60 net/socket.c:2660 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 16123 Comm: syz-executor.3 Not tainted 6.5.0-rc7-syzkaller-00004-gf7757129e3de #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ==================================================================