================================================================== BUG: KCSAN: data-race in unix_notinflight / wait_for_unix_gc write to 0xffffffff841b9d54 of 4 bytes by task 13270 on cpu 1: unix_notinflight+0x1f2/0x280 net/unix/scm.c:83 unix_detach_fds+0xf3/0x120 net/unix/scm.c:134 unix_dgram_recvmsg+0x66a/0x870 net/unix/af_unix.c:2158 sock_recvmsg_nosec net/socket.c:943 [inline] sock_recvmsg net/socket.c:961 [inline] __sys_recvfrom+0x1d7/0x2a0 net/socket.c:2076 __do_sys_recvfrom net/socket.c:2094 [inline] __se_sys_recvfrom net/socket.c:2090 [inline] __x64_sys_recvfrom+0x74/0x90 net/socket.c:2090 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffffffff841b9d54 of 4 bytes by task 13268 on cpu 0: wait_for_unix_gc+0x24/0x140 net/unix/garbage.c:196 unix_dgram_sendmsg+0x5f/0x1600 net/unix/af_unix.c:1637 sock_sendmsg_nosec net/socket.c:703 [inline] sock_sendmsg net/socket.c:723 [inline] ____sys_sendmsg+0x360/0x4d0 net/socket.c:2392 ___sys_sendmsg net/socket.c:2446 [inline] __sys_sendmmsg+0x315/0x4b0 net/socket.c:2532 __do_sys_sendmmsg net/socket.c:2561 [inline] __se_sys_sendmmsg net/socket.c:2558 [inline] __x64_sys_sendmmsg+0x53/0x60 net/socket.c:2558 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x0000000e -> 0x0000000d Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 13268 Comm: syz-executor.1 Not tainted 5.14.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================