syzbot


KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (3)

Status: auto-closed as invalid on 2021/12/05 08:50
Subsystems: fs
[Documentation on labels]
First crash: 1366d, last: 1357d
Similar bugs (11)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (5) fs 6 2 1197d 1202d 0/29 auto-closed as invalid on 2022/05/14 09:20
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (10) io-uring 6 1 443d 443d 0/29 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 (12) io-uring 6 4 191d 223d 28/29 fixed on 2025/05/06 15:33
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (2) fs 6 1 1465d 1465d 0/29 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 6 3 1247d 1276d 0/29 auto-closed as invalid on 2022/03/25 11:59
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests fs 6 1 1532d 1532d 0/29 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 6 2 516d 535d 0/29 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 6 1 605d 586d 0/29 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 6 1 385d 385d 0/29 auto-obsoleted due to no activity on 2024/08/03 17:56
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (7) io-uring 6 1 675d 669d 0/29 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 6 2 1071d 1094d 0/29 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 0xffff88811cd077b8 of 8 bytes by task 10312 on cpu 0:
 io_sq_thread+0xb48/0xc40 fs/io_uring.c:7472
 ret_from_fork+0x1f/0x30

read to 0xffff88811cd077b8 of 8 bytes by task 8 on cpu 1:
 io_uring_try_cancel_requests+0x2e3/0x870 fs/io_uring.c:9610
 io_ring_exit_work+0x9f/0x1580 fs/io_uring.c:9397
 process_one_work+0x402/0x910 kernel/workqueue.c:2297
 worker_thread+0x636/0xae0 kernel/workqueue.c:2444
 kthread+0x262/0x280 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30

value changed: 0xffff88811bb8f080 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 8 Comm: kworker/u4:0 Not tainted 5.15.0-rc7-syzkaller #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
2021/10/31 08:47 upstream 119c85055d86 098b5d53 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests
2021/10/22 20:30 upstream 64222515138e 282f03fb .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.