syzbot


KCSAN: data-race in io_sq_thread / io_sq_thread_park

Status: auto-closed as invalid on 2022/07/10 14:43
Subsystems: fs
[Documentation on labels]
First crash: 1083d, last: 916d
Similar bugs (8)
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 587d 587d 0/28 auto-obsoleted due to no activity on 2023/06/04 19:25
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (9) io-uring 1 121d 116d 28/28 fixed on 2024/10/03 15:25
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (4) io-uring 4 639d 681d 0/28 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 302d 328d 0/28 auto-obsoleted due to no activity on 2024/03/15 14:43
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (2) io-uring 5 844d 880d 0/28 auto-closed as invalid on 2022/09/20 09:21
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (6) io-uring 4 488d 534d 0/28 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 380d 362d 0/28 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 776d 804d 0/28 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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/06/05 14:40 upstream d0e60d46bc03 c8857892 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2022/05/14 19:27 upstream ec7f49619d8e 744a39e2 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2022/05/11 13:10 upstream feb9c5e19e91 8d7b3b67 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2022/04/14 07:05 upstream a19944809fe9 b17b2923 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2022/04/12 07:26 upstream ce522ba9ef7e af01ee7d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2022/03/21 22:40 upstream eaa54b1458ca e2d91b1d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2022/03/16 20:01 upstream 56e337f2cf13 46cc3b21 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2022/03/13 07:59 upstream aad611a868d1 9e8eaa75 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2022/02/21 14:25 upstream cfb92440ee71 3cd800e4 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2022/01/29 00:03 upstream df0001545b27 495e00c5 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2022/01/23 23:26 upstream e783362eb54c 214351e1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2021/12/29 23:17 upstream e7c124bd0463 6cc879d4 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2021/12/20 09:36 upstream a7904a538933 021b36cb .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.