syzbot


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

Status: auto-closed as invalid on 2022/09/20 09:21
Subsystems: io-uring
[Documentation on labels]
First crash: 654d, last: 618d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (5) io-uring 1 360d 360d 0/26 auto-obsoleted due to no activity on 2023/06/04 19:25
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park fs 13 690d 857d 0/26 auto-closed as invalid on 2022/07/10 14:43
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (4) io-uring 4 413d 454d 0/26 auto-obsoleted due to no activity on 2023/04/20 22:18
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (8) io-uring 2 76d 102d 0/26 auto-obsoleted due to no activity on 2024/03/15 14:43
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (6) io-uring 4 262d 308d 0/26 auto-obsoleted due to no activity on 2023/09/11 04:02
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (7) io-uring 2 154d 136d 0/26 auto-obsoleted due to no activity on 2023/12/28 08:55
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (3) io-uring 2 550d 578d 0/26 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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/08/16 09:21 upstream 7ebfc85e2cd7 7a7cb304 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2022/08/01 21:38 upstream 3d7cb6b04c3f fef302b1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2022/07/31 14:54 upstream 6a010258447d fef302b1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2022/07/17 16:33 upstream 972a278fe60c 95cb00d1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2022/07/11 10:15 upstream 32346491ddf2 f3f217ff .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
* Struck through repros no longer work on HEAD.