syzbot


KCSAN: data-race in unix_dgram_poll / unix_shutdown (2)

Status: auto-closed as invalid on 2021/09/02 11:31
Subsystems: net
[Documentation on labels]
First crash: 1001d, last: 1001d
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 net 1 1046d 1046d 0/26 auto-closed as invalid on 2021/07/18 20:05
upstream KCSAN: data-race in unix_dgram_poll / unix_shutdown (3) net 4 931d 964d 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 0xffff888104e48270 of 1 bytes by task 30251 on cpu 1:
 unix_shutdown+0x1dd/0x3b0 net/unix/af_unix.c:2584
 __sys_shutdown_sock net/socket.c:2231 [inline]
 __sys_shutdown net/socket.c:2243 [inline]
 __do_sys_shutdown net/socket.c:2251 [inline]
 __se_sys_shutdown+0xf6/0x140 net/socket.c:2249
 __x64_sys_shutdown+0x2d/0x40 net/socket.c:2249
 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 0xffff888104e48270 of 1 bytes by task 30249 on cpu 0:
 unix_dgram_poll+0xdf/0x3e0 net/unix/af_unix.c:2749
 sock_poll+0x23e/0x260 net/socket.c:1288
 vfs_poll include/linux/poll.h:90 [inline]
 __io_arm_poll_handler+0x1af/0x540 fs/io_uring.c:5122
 io_arm_poll_handler+0x2e8/0x6f0 fs/io_uring.c:5196
 __io_queue_sqe+0x135/0x360 fs/io_uring.c:6459
 io_queue_sqe fs/io_uring.c:6483 [inline]
 io_submit_sqe+0x1695/0x3400 fs/io_uring.c:6638
 io_submit_sqes+0x822/0xe50 fs/io_uring.c:6754
 __do_sys_io_uring_enter fs/io_uring.c:9365 [inline]
 __se_sys_io_uring_enter+0x1c7/0xa20 fs/io_uring.c:9308
 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:9308
 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: 0x00 -> 0x01

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 30249 Comm: syz-executor.1 Not tainted 5.14.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/07/29 11:21 upstream 4010a528219e b44001ce .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.