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: 910d, last: 901d
Similar bugs (8)
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 (5) fs 2 741d 745d 0/26 auto-closed as invalid on 2022/05/14 09:20
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (2) fs 1 1008d 1008d 0/26 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 791d 820d 0/26 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 1076d 1076d 0/26 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 60d 78d 0/26 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 149d 129d 0/26 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 (7) io-uring 1 219d 213d 0/26 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 615d 638d 0/26 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.