syzbot
KCSAN: data-race in sock_alloc_send_pskb / unix_dgram_connect (3)
Status: auto-closed as invalid on 2021/07/18 16:15
Subsystems:
net
[Documentation on labels]
First crash: 1975d, last: 1887d
Sample crash report:
printk: Suspending console(s) (use no_console_suspend to debug)
ACPI: Preparing to enter system sleep state S3
PM: Saving platform NVS memory
Disabling non-boot CPUs ...
smpboot: CPU 1 is now offline
kvm-clock: cpu 0, msr 4506001, primary cpu clock, resume
ACPI: Low-level resume complete
PM: Restoring platform NVS memory
kvm-guest: stealtime: cpu 0, msr 237c170c0
Enabling non-boot CPUs ...
x86: Booting SMP configuration:
smpboot: Booting Node 0 Processor 1 APIC 0x1
CPU1 is up
ACPI: Waking up from system sleep state S3
OOM killer enabled.
Restarting tasks ... done.
PM: suspend exit
==================================================================
BUG: KCSAN: data-race in sock_alloc_send_pskb / unix_dgram_connect
write to 0xffff888145500e30 of 4 bytes by task 10912 on cpu 0:
unix_dgram_disconnected net/unix/af_unix.c:486 [inline]
unix_dgram_connect+0x73d/0x850 net/unix/af_unix.c:1191
__sys_connect_file net/socket.c:1837 [inline]
__sys_connect+0x245/0x280 net/socket.c:1854
__do_sys_connect net/socket.c:1864 [inline]
__se_sys_connect net/socket.c:1861 [inline]
__x64_sys_connect+0x3d/0x50 net/socket.c:1861
do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
entry_SYSCALL_64_after_hwframe+0x44/0xae
read to 0xffff888145500e30 of 4 bytes by task 10925 on cpu 1:
sock_error include/net/sock.h:2269 [inline]
sock_alloc_send_pskb+0xe4/0x4e0 net/core/sock.c:2344
unix_dgram_sendmsg+0x478/0x1610 net/unix/af_unix.c:1671
sock_sendmsg_nosec net/socket.c:654 [inline]
sock_sendmsg net/socket.c:674 [inline]
____sys_sendmsg+0x360/0x4d0 net/socket.c:2350
___sys_sendmsg net/socket.c:2404 [inline]
__sys_sendmmsg+0x315/0x4b0 net/socket.c:2490
__do_sys_sendmmsg net/socket.c:2519 [inline]
__se_sys_sendmmsg net/socket.c:2516 [inline]
__x64_sys_sendmmsg+0x53/0x60 net/socket.c:2516
do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
entry_SYSCALL_64_after_hwframe+0x44/0xae
value changed: 0x00000000 -> 0x00000068
Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 10925 Comm: syz-executor.3 Not tainted 5.13.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================
* Struck through repros no longer work on HEAD.