syzbot


KCSAN: data-race in __unix_set_addr_hash / unix_bind

Status: auto-obsoleted due to no activity on 2024/05/18 02:39
Subsystems: net
[Documentation on labels]
First crash: 290d, last: 290d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __unix_set_addr_hash / unix_bind

write to 0xffff88812d5d1dc8 of 4 bytes by task 14937 on cpu 0:
 __unix_set_addr_hash+0x104/0x250 net/unix/af_unix.c:331
 unix_bind_abstract net/unix/af_unix.c:1289 [inline]
 unix_bind+0x6c5/0x8a0 net/unix/af_unix.c:1321
 __sys_bind+0x15b/0x1d0 net/socket.c:1847
 __do_sys_bind net/socket.c:1858 [inline]
 __se_sys_bind net/socket.c:1856 [inline]
 __x64_sys_bind+0x41/0x50 net/socket.c:1856
 x64_sys_call+0x257d/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:50
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff88812d5d1dc8 of 4 bytes by task 14938 on cpu 1:
 unix_bind_abstract net/unix/af_unix.c:1264 [inline]
 unix_bind+0x20f/0x8a0 net/unix/af_unix.c:1321
 __sys_bind+0x15b/0x1d0 net/socket.c:1847
 __do_sys_bind net/socket.c:1858 [inline]
 __se_sys_bind net/socket.c:1856 [inline]
 __x64_sys_bind+0x41/0x50 net/socket.c:1856
 x64_sys_call+0x257d/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:50
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x000000af -> 0x00000119

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 14938 Comm: syz-executor.3 Not tainted 6.9.0-rc3-syzkaller-00286-g5939d45155bb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/13 02:39 upstream 5939d45155bb c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __unix_set_addr_hash / unix_bind
* Struck through repros no longer work on HEAD.