syzbot


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

Status: auto-closed as invalid on 2022/09/17 04:56
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 139d, last: 116d
similar bugs (5):
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) 2 402d 411d 0/24 auto-closed as invalid on 2021/12/05 08:50
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (5) 2 242d 246d 0/24 auto-closed as invalid on 2022/05/14 09:20
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (2) 1 509d 509d 0/24 auto-closed as invalid on 2021/08/20 00:41
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests (4) 3 292d 321d 0/24 auto-closed as invalid on 2022/03/25 11:59
upstream KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests 1 577d 577d 0/24 auto-closed as invalid on 2021/06/13 15:29

Sample crash report:
==================================================================
BUG: KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests

write to 0xffff88812a8e64b8 of 8 bytes by task 11294 on cpu 0:
 io_sq_thread+0xa1a/0xab0 io_uring/sqpoll.c:307
 ret_from_fork+0x1f/0x30

read to 0xffff88812a8e64b8 of 8 bytes by task 11271 on cpu 1:
 io_uring_try_cancel_requests+0x163/0x2b0 io_uring/io_uring.c:2762
 io_ring_exit_work+0x7d/0x3f0 io_uring/io_uring.c:2574
 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: 0xffff888107744280 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 11271 Comm: kworker/u4:10 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 (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/08/13 04:53 upstream 7ebfc85e2cd7 8dfcaa3d .config log report info KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests
ci2-upstream-kcsan-gce 2022/07/21 05:21 upstream 353f7988dd84 88cb1383 .config log report info KCSAN: data-race in io_sq_thread / io_uring_try_cancel_requests
* Struck through repros no longer work on HEAD.