syzbot


KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (5)

Status: auto-closed as invalid on 2022/05/14 09:20
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 245d, last: 241d
similar bugs (5):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (3) 2 401d 409d 0/24 auto-closed as invalid on 2021/12/05 08:50
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (2) 1 508d 508d 0/24 auto-closed as invalid on 2021/08/20 00:41
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (4) 3 291d 320d 0/24 auto-closed as invalid on 2022/03/25 11:59
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests 1 575d 575d 0/24 auto-closed as invalid on 2021/06/13 15:29
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (6) 2 115d 138d 0/24 auto-closed as invalid on 2022/09/17 04:56

Sample crash report:
==================================================================
BUG: KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests

write to 0xffff8881075dfc38 of 8 bytes by task 29261 on cpu 1:
 io_sq_thread+0xc5f/0xd40 fs/io_uring.c:8162
 ret_from_fork+0x1f/0x30

read to 0xffff8881075dfc38 of 8 bytes by task 26844 on cpu 0:
 io_uring_try_cancel_requests+0x1ae/0x2fb fs/io_uring.c:10485
 io_ring_exit_work+0x82/0x3cb fs/io_uring.c:10281
 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289
 worker_thread+0x618/0xa70 kernel/workqueue.c:2436
 kthread+0x1a9/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30

value changed: 0xffff8881418025c0 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 26844 Comm: kworker/u4:17 Not tainted 5.18.0-rc1-syzkaller-00184-g1831fed55973-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound io_ring_exit_work
==================================================================

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/04/09 09:15 upstream 1831fed55973 e22c3da3 .config log report info KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests
ci2-upstream-kcsan-gce 2022/04/05 00:33 upstream 312310928417 5915c2cb .config log report info KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests
* Struck through repros no longer work on HEAD.