syzbot


KCSAN: data-race in unix_dgram_poll / unix_shutdown

Status: auto-closed as invalid on 2021/07/18 20:05
Subsystems: net
[Documentation on labels]
First crash: 1046d, last: 1046d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in unix_dgram_poll / unix_shutdown (2) net 1 1000d 1000d 0/26 auto-closed as invalid on 2021/09/02 11:31
upstream KCSAN: data-race in unix_dgram_poll / unix_shutdown (3) net 4 931d 963d 0/26 auto-closed as invalid on 2021/11/10 18:44

Sample crash report:
==================================================================
BUG: KCSAN: data-race in unix_dgram_poll / unix_shutdown

write to 0xffff888107e4e66a of 1 bytes by task 21455 on cpu 1:
 unix_shutdown+0x1dd/0x3b0 net/unix/af_unix.c:2532
 __sys_shutdown_sock net/socket.c:2189 [inline]
 __sys_shutdown net/socket.c:2201 [inline]
 __do_sys_shutdown net/socket.c:2209 [inline]
 __se_sys_shutdown+0xf6/0x140 net/socket.c:2207
 __x64_sys_shutdown+0x2d/0x40 net/socket.c:2207
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888107e4e66a of 1 bytes by task 21435 on cpu 0:
 unix_dgram_poll+0xdf/0x3e0 net/unix/af_unix.c:2697
 sock_poll+0x23e/0x260 net/socket.c:1246
 vfs_poll include/linux/poll.h:90 [inline]
 __io_arm_poll_handler+0x195/0x460 fs/io_uring.c:5123
 io_arm_poll_handler+0x2a3/0x440 fs/io_uring.c:5192
 __io_queue_sqe+0x26c/0x360 fs/io_uring.c:6438
 io_queue_sqe fs/io_uring.c:6468 [inline]
 io_submit_sqe+0x1887/0x3360 fs/io_uring.c:6631
 io_submit_sqes+0x5bd/0xbd0 fs/io_uring.c:6739
 __do_sys_io_uring_enter fs/io_uring.c:9336 [inline]
 __se_sys_io_uring_enter+0x1e1/0xa80 fs/io_uring.c:9278
 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:9278
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00 -> 0x01

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 21435 Comm: syz-executor.4 Tainted: G        W         5.13.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================
cgroup: fork rejected by pids controller in /system.slice/ssh.service

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/13 19:57 upstream 8ecfa36cd4db 1ba81399 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in unix_dgram_poll / unix_shutdown
* Struck through repros no longer work on HEAD.