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
Subsystems: fs
[Documentation on labels]
First crash: 821d, last: 817d
Similar bugs (10)
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) fs 2 977d 985d 0/27 auto-closed as invalid on 2021/12/05 08:50
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (10) io-uring 1 63d 63d 0/27 auto-obsoleted due to no activity on 2024/06/06 09:26
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (2) fs 1 1084d 1084d 0/27 auto-closed as invalid on 2021/08/20 00:41
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (4) fs 3 867d 896d 0/27 auto-closed as invalid on 2022/03/25 11:59
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests fs 1 1151d 1151d 0/27 auto-closed as invalid on 2021/06/13 15:29
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (9) io-uring 2 136d 154d 0/27 auto-obsoleted due to no activity on 2024/03/25 07:41
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (8) io-uring 1 225d 205d 0/27 auto-obsoleted due to no activity on 2023/12/27 04:40
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (11) io-uring 1 4d19h 4d19h 0/27 moderation: reported on 2024/06/29 17:56
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (7) io-uring 1 294d 288d 0/27 auto-obsoleted due to no activity on 2023/10/18 23:09
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (6) io-uring 2 691d 714d 0/27 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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/04/09 09:15 upstream 1831fed55973 e22c3da3 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests
2022/04/05 00:33 upstream 312310928417 5915c2cb .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests
* Struck through repros no longer work on HEAD.