================================================================== BUG: KCSAN: data-race in bcm_connect / bcm_sendmsg write to 0xffff888139d45f10 of 4 bytes by task 7528 on cpu 1: bcm_connect+0x205/0x2b0 net/can/bcm.c:1637 __sys_connect_file net/socket.c:2004 [inline] __sys_connect+0x19b/0x1b0 net/socket.c:2021 __do_sys_connect net/socket.c:2031 [inline] __se_sys_connect net/socket.c:2028 [inline] __x64_sys_connect+0x41/0x50 net/socket.c:2028 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 0xffff888139d45f10 of 4 bytes by task 7529 on cpu 0: bcm_sendmsg+0x6b/0x470 net/can/bcm.c:1299 sock_sendmsg_nosec net/socket.c:722 [inline] sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x375/0x4c0 net/socket.c:2504 ___sys_sendmsg net/socket.c:2558 [inline] __sys_sendmsg+0x1e3/0x270 net/socket.c:2587 __do_sys_sendmsg net/socket.c:2596 [inline] __se_sys_sendmsg net/socket.c:2594 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2594 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: 0 PID: 7529 Comm: syz-executor.0 Not tainted 6.2.0-syzkaller-13467-g0988a0ea7919-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 ==================================================================