syzbot


KCSAN: data-race in io_sq_thread / io_sq_thread_park

Status: auto-closed as invalid on 2022/07/10 14:43
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 352d, last: 185d
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 (2) 5 113d 149d 0/24 auto-closed as invalid on 2022/09/20 09:21
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (3) 2 46d 73d 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 0xffff888138135038 of 8 bytes by task 7779 on cpu 1:
 io_sq_thread+0xa2a/0xac0 fs/io_uring.c:9348
 ret_from_fork+0x1f/0x30

read to 0xffff888138135038 of 8 bytes by task 11385 on cpu 0:
 io_sq_thread_park+0x17/0x70 fs/io_uring.c:9825
 io_ring_exit_work+0xa5/0x3cb fs/io_uring.c:11354
 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: 0xffff88811d696400 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 11385 Comm: kworker/u4:40 Not tainted 5.18.0-syzkaller-13818-gd0e60d46bc03-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound io_ring_exit_work
==================================================================

Crashes (13):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/06/05 14:40 upstream d0e60d46bc03 c8857892 .config log report info KCSAN: data-race in io_sq_thread / io_sq_thread_park
ci2-upstream-kcsan-gce 2022/05/14 19:27 upstream ec7f49619d8e 744a39e2 .config log report info KCSAN: data-race in io_sq_thread / io_sq_thread_park
ci2-upstream-kcsan-gce 2022/05/11 13:10 upstream feb9c5e19e91 8d7b3b67 .config log report info KCSAN: data-race in io_sq_thread / io_sq_thread_park
ci2-upstream-kcsan-gce 2022/04/14 07:05 upstream a19944809fe9 b17b2923 .config log report info KCSAN: data-race in io_sq_thread / io_sq_thread_park
ci2-upstream-kcsan-gce 2022/04/12 07:26 upstream ce522ba9ef7e af01ee7d .config log report info KCSAN: data-race in io_sq_thread / io_sq_thread_park
ci2-upstream-kcsan-gce 2022/03/21 22:40 upstream eaa54b1458ca e2d91b1d .config log report info KCSAN: data-race in io_sq_thread / io_sq_thread_park
ci2-upstream-kcsan-gce 2022/03/16 20:01 upstream 56e337f2cf13 46cc3b21 .config log report info KCSAN: data-race in io_sq_thread / io_sq_thread_park
ci2-upstream-kcsan-gce 2022/03/13 07:59 upstream aad611a868d1 9e8eaa75 .config log report info KCSAN: data-race in io_sq_thread / io_sq_thread_park
ci2-upstream-kcsan-gce 2022/02/21 14:25 upstream cfb92440ee71 3cd800e4 .config log report info KCSAN: data-race in io_sq_thread / io_sq_thread_park
ci2-upstream-kcsan-gce 2022/01/29 00:03 upstream df0001545b27 495e00c5 .config log report info KCSAN: data-race in io_sq_thread / io_sq_thread_park
ci2-upstream-kcsan-gce 2022/01/23 23:26 upstream e783362eb54c 214351e1 .config log report info KCSAN: data-race in io_sq_thread / io_sq_thread_park
ci2-upstream-kcsan-gce 2021/12/29 23:17 upstream e7c124bd0463 6cc879d4 .config log report info KCSAN: data-race in io_sq_thread / io_sq_thread_park
ci2-upstream-kcsan-gce 2021/12/20 09:36 upstream a7904a538933 021b36cb .config log report info KCSAN: data-race in io_sq_thread / io_sq_thread_park
* Struck through repros no longer work on HEAD.