syzbot


KCSAN: data-race in unix_poll / unix_shutdown (3)

Status: auto-obsoleted due to no activity on 2023/05/27 01:36
Subsystems: net
[Documentation on labels]
First crash: 380d, last: 380d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in unix_poll / unix_shutdown net 4 638d 680d 0/26 auto-closed as invalid on 2022/09/10 13:42
upstream KCSAN: data-race in unix_poll / unix_shutdown (2) net 11 441d 549d 0/26 auto-obsoleted due to no activity on 2023/04/10 13:22

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

read-write to 0xffff8881717eb56c of 1 bytes by task 2610 on cpu 0:
 unix_shutdown+0x72/0x360 net/unix/af_unix.c:3011
 __sys_shutdown_sock net/socket.c:2343 [inline]
 __sys_shutdown net/socket.c:2355 [inline]
 __do_sys_shutdown net/socket.c:2363 [inline]
 __se_sys_shutdown+0xf8/0x140 net/socket.c:2361
 __x64_sys_shutdown+0x31/0x40 net/socket.c:2361
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff8881717eb56c of 1 bytes by task 2609 on cpu 1:
 unix_poll+0x9c/0x250 net/unix/af_unix.c:3170
 sock_poll+0x253/0x270 net/socket.c:1383
 vfs_poll include/linux/poll.h:88 [inline]
 __io_arm_poll_handler+0x205/0xe30 io_uring/poll.c:600
 io_arm_poll_handler+0x48b/0x5e0 io_uring/poll.c:735
 io_queue_async+0x85/0x4a0 io_uring/io_uring.c:2057
 io_queue_sqe io_uring/io_uring.c:2088 [inline]
 io_submit_sqe io_uring/io_uring.c:2340 [inline]
 io_submit_sqes+0xa26/0xfe0 io_uring/io_uring.c:2450
 __do_sys_io_uring_enter io_uring/io_uring.c:3458 [inline]
 __se_sys_io_uring_enter+0x1e5/0x1b70 io_uring/io_uring.c:3392
 __x64_sys_io_uring_enter+0x78/0x90 io_uring/io_uring.c:3392
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00 -> 0x01

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 2609 Comm: syz-executor.1 Tainted: G        W          6.3.0-rc7-syzkaller-00181-g8e41e0a57566 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/22 01:28 upstream 8e41e0a57566 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in unix_poll / unix_shutdown
* Struck through repros no longer work on HEAD.