syzbot


KCSAN: data-race in io_sq_thread / io_sq_thread_park (2)

Status: auto-closed as invalid on 2022/09/20 09:21
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 141d, last: 105d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park 13 176d 344d 0/24 auto-closed as invalid on 2022/07/10 14:43
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (3) 2 37d 65d 0/24 auto-obsoleted due to no activity on 2022/11/26 22:35

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

write to 0xffff888108c37cf8 of 8 bytes by task 23163 on cpu 0:
 io_sq_thread+0xa1a/0xab0 io_uring/sqpoll.c:307
 ret_from_fork+0x1f/0x30

read to 0xffff888108c37cf8 of 8 bytes by task 29197 on cpu 1:
 io_sq_thread_park+0x17/0x70 io_uring/sqpoll.c:45
 io_ring_exit_work+0xd1/0x3f0 io_uring/io_uring.c:2581
 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: 0xffff888136230e40 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 29197 Comm: kworker/u4:149 Not tainted 5.19.0-syzkaller-13930-g7ebfc85e2cd7-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
Workqueue: events_unbound io_ring_exit_work
==================================================================

Crashes (5):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/08/16 09:21 upstream 7ebfc85e2cd7 7a7cb304 .config log report info KCSAN: data-race in io_sq_thread / io_sq_thread_park
ci2-upstream-kcsan-gce 2022/08/01 21:38 upstream 3d7cb6b04c3f fef302b1 .config log report info KCSAN: data-race in io_sq_thread / io_sq_thread_park
ci2-upstream-kcsan-gce 2022/07/31 14:54 upstream 6a010258447d fef302b1 .config log report info KCSAN: data-race in io_sq_thread / io_sq_thread_park
ci2-upstream-kcsan-gce 2022/07/17 16:33 upstream 972a278fe60c 95cb00d1 .config log report info KCSAN: data-race in io_sq_thread / io_sq_thread_park
ci2-upstream-kcsan-gce 2022/07/11 10:15 upstream 32346491ddf2 f3f217ff .config log report info KCSAN: data-race in io_sq_thread / io_sq_thread_park
* Struck through repros no longer work on HEAD.