syzbot


KCSAN: data-race in __io_fill_cqe_req / io_wake_function

Status: auto-closed as invalid on 2022/09/02 17:48
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 240d, last: 126d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __io_fill_cqe_req / io_wake_function

read-write to 0xffff888139241a50 of 4 bytes by task 28224 on cpu 1:
 io_get_cqe fs/io_uring.c:2241 [inline]
 __io_fill_cqe_req+0x242/0x5a0 fs/io_uring.c:2476
 __io_req_complete_post fs/io_uring.c:2580 [inline]
 io_req_complete_post fs/io_uring.c:2590 [inline]
 __io_req_complete fs/io_uring.c:2610 [inline]
 io_req_complete fs/io_uring.c:2617 [inline]
 io_fallocate fs/io_uring.c:5331 [inline]
 io_issue_sqe+0x8a79/0xaac0 fs/io_uring.c:8392
 io_wq_submit_work+0x41b/0x590 fs/io_uring.c:8534
 io_worker_handle_work+0x517/0xc50 fs/io-wq.c:597
 io_wqe_worker+0x1d1/0x940 fs/io-wq.c:644
 ret_from_fork+0x1f/0x30

read to 0xffff888139241a50 of 4 bytes by task 28220 on cpu 0:
 io_should_wake fs/io_uring.c:9302 [inline]
 io_wake_function+0x36/0x100 fs/io_uring.c:9322
 __wake_up_common+0xbc/0x130 kernel/sched/wait.c:107
 __wake_up_common_lock kernel/sched/wait.c:137 [inline]
 __wake_up+0x80/0xc0 kernel/sched/wait.c:156
 io_issue_sqe+0x8b35/0xaac0
 io_wq_submit_work+0x41b/0x590 fs/io_uring.c:8534
 io_worker_handle_work+0x517/0xc50 fs/io-wq.c:597
 io_wqe_worker+0x1d1/0x940 fs/io-wq.c:644
 ret_from_fork+0x1f/0x30

value changed: 0x00002399 -> 0x0000239a

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 28220 Comm: iou-wrk-28217 Not tainted 5.19.0-rc8-syzkaller-00105-g6e2c0490769e-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
==================================================================

Crashes (14):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/07/29 17:47 upstream 6e2c0490769e fef302b1 .config log report info KCSAN: data-race in __io_fill_cqe_req / io_wake_function
ci2-upstream-kcsan-gce 2022/07/25 09:36 upstream e0dccc3b76fb 664c519c .config log report info KCSAN: data-race in __io_fill_cqe_req / io_wake_function
ci2-upstream-kcsan-gce 2022/07/23 21:45 upstream 515f71412bb7 22343af4 .config log report info KCSAN: data-race in __io_fill_cqe_req / io_wake_function
ci2-upstream-kcsan-gce 2022/07/23 20:10 upstream 70664fc10c0d 22343af4 .config log report info KCSAN: data-race in __io_fill_cqe_req / io_wake_function
ci2-upstream-kcsan-gce 2022/07/17 12:21 upstream 972a278fe60c 95cb00d1 .config log report info KCSAN: data-race in __io_fill_cqe_req / io_wake_function
ci2-upstream-kcsan-gce 2022/06/27 04:29 upstream 82708bb1eb9e a371c43c .config log report info KCSAN: data-race in __io_fill_cqe_req / io_wake_function
ci2-upstream-kcsan-gce 2022/06/21 20:00 upstream ca1fdab7fd27 0fc5c330 .config log report info KCSAN: data-race in __io_fill_cqe_req / io_wake_function
ci2-upstream-kcsan-gce 2022/06/15 15:50 upstream 018ab4fabddd 1719ee24 .config log report info KCSAN: data-race in __io_fill_cqe_req / io_wake_function
ci2-upstream-kcsan-gce 2022/06/12 10:18 upstream 7a68065eb9cd 0d5abf15 .config log report info KCSAN: data-race in __io_fill_cqe_req / io_wake_function
ci2-upstream-kcsan-gce 2022/05/23 18:44 upstream 4b0986a3613c 4c7657cb .config log report info KCSAN: data-race in __io_fill_cqe_req / io_wake_function
ci2-upstream-kcsan-gce 2022/04/19 02:47 upstream b2d229d4ddb1 8bcc32a6 .config log report info KCSAN: data-race in __io_fill_cqe_req / io_wake_function
ci2-upstream-kcsan-gce 2022/04/13 03:06 upstream a19944809fe9 dacb3f1c .config log report info KCSAN: data-race in __io_fill_cqe_req / io_wake_function
ci2-upstream-kcsan-gce 2022/04/12 17:57 upstream ce522ba9ef7e dacb3f1c .config log report info KCSAN: data-race in __io_fill_cqe_req / io_wake_function
ci2-upstream-kcsan-gce 2022/04/06 18:34 upstream 3e732ebf7316 97582466 .config log report info KCSAN: data-race in __io_fill_cqe_req / io_wake_function
* Struck through repros no longer work on HEAD.