syzbot


KCSAN: data-race in io_clean_op / kiocb_done

Status: auto-closed as invalid on 2021/12/05 11:51
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 463d, last: 402d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in io_clean_op / kiocb_done

write to 0xffff888103c0ed58 of 4 bytes by task 12471 on cpu 1:
 io_clean_op+0x3aa/0x3e0 fs/io_uring.c:6632
 io_req_complete_state fs/io_uring.c:1827 [inline]
 io_req_task_complete+0xb2/0x1e0 fs/io_uring.c:2667
 tctx_task_work+0x275/0x4d0 fs/io_uring.c:2156
 task_work_run+0xae/0x130 kernel/task_work.c:164
 tracehook_notify_signal include/linux/tracehook.h:214 [inline]
 handle_signal_work kernel/entry/common.c:146 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
 exit_to_user_mode_prepare+0xf8/0x190 kernel/entry/common.c:207
 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
 syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:300
 do_syscall_64+0x50/0xa0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888103c0ed58 of 4 bytes by task 12479 on cpu 0:
 kiocb_done+0x1c4/0x710 fs/io_uring.c:2940
 io_write fs/io_uring.c:3663 [inline]
 io_issue_sqe+0x2abf/0x67b0 fs/io_uring.c:6656
 io_wq_submit_work+0xf5/0x2c0 fs/io_uring.c:6800
 io_worker_handle_work+0x788/0xa20 fs/io-wq.c:515
 io_wqe_worker+0x1b9/0x540 fs/io-wq.c:566
 ret_from_fork+0x1f/0x30

value changed: 0x008c0102 -> 0x00890102

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 12479 Comm: iou-wrk-12471 Not tainted 5.15.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (47):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/10/31 11:46 upstream 180eca540ae0 098b5d53 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/30 22:05 upstream 119c85055d86 098b5d53 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/30 00:50 upstream a379fbbcb88b 098b5d53 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/29 07:43 upstream f25a5481af12 2353a3ec .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/28 21:25 upstream 411a44c24a56 be531bb4 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/27 08:51 upstream d25f27432f80 d50eb50a .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/26 19:22 upstream 3906fe9bb7f1 d50eb50a .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/25 11:38 upstream 6c62666d8879 4f0000ee .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/21 21:30 upstream 2f111a6fd5b5 55f90bc6 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/20 03:11 upstream d9abdee5fd5a 466b7db1 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/18 06:09 upstream cf52ad5ff16c 0c5d9412 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/14 01:23 upstream 348949d9a444 5462d470 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/13 07:13 upstream f4d0cc426f77 08362356 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/12 18:49 upstream fa5878760579 08362356 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/11 21:32 upstream 64570fbc14f8 838e7e2c .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/10 20:54 upstream efb52a7d9511 838e7e2c .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/10 06:17 upstream 7fd2bf83d59a 838e7e2c .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/09 13:08 upstream 5d6ab0bb408f 838e7e2c .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/07 08:34 upstream 5af4055fa813 62ee0987 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/06 01:47 upstream 60a9483534ed 0a63fd36 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/10/03 08:46 upstream 7b66f4393ad4 db0f5787 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/26 20:41 upstream 996148ee05d0 78494d16 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/21 13:11 upstream d9fb678414c0 169724fe .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/19 10:56 upstream d4d016caa4b8 70b76c1d .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/19 10:50 upstream d4d016caa4b8 70b76c1d .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/19 10:37 upstream d4d016caa4b8 70b76c1d .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/17 14:05 upstream bdb575f87217 70b76c1d .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/17 02:29 upstream bdb575f87217 5b989942 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/16 16:12 upstream ff1ffd71d5f0 aae492f2 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/14 15:37 upstream d0ee23f9d78b 07e953c1 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/14 08:33 upstream d0ee23f9d78b 58d09404 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/13 19:20 upstream 316346243be6 58d09404 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/12 04:46 upstream c605c39677b9 3ce60af8 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/11 11:27 upstream 926de8c4326c 3ce60af8 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/10 01:30 upstream bf9f243f23e6 e2776ee4 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/09 13:06 upstream a3fa7a101dcf e2776ee4 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/08 14:56 upstream ac08b1c68d1b e2776ee4 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/07 21:11 upstream 0bcfe68b8767 064c9eb7 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/07 19:03 upstream 0bcfe68b8767 6ca60148 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/02 22:02 upstream 4ac6d90867a4 f62a5829 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/02 09:50 upstream 4ac6d90867a4 d0f0970b .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/02 08:34 upstream 4ac6d90867a4 7eb7e152 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/09/01 18:41 upstream 835d31d319d9 7eb7e152 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/08/31 15:13 upstream b91db6a0b52e 7eb7e152 .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/08/31 13:07 upstream b91db6a0b52e 8f58a0ef .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/08/31 12:53 upstream b91db6a0b52e 8f58a0ef .config log report info KCSAN: data-race in io_clean_op / kiocb_done
ci2-upstream-kcsan-gce 2021/08/31 12:50 upstream b91db6a0b52e 8f58a0ef .config log report info KCSAN: data-race in io_clean_op / kiocb_done
* Struck through repros no longer work on HEAD.