syzbot


KCSAN: data-race in __io_cqring_fill_event / io_drain_req

Status: auto-closed as invalid on 2021/12/04 19:57
Subsystems: fs
[Documentation on labels]
First crash: 1301d, last: 1185d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __io_cqring_fill_event / io_drain_req (2) fs 4 1113d 1138d 0/28 auto-closed as invalid on 2022/02/14 03:39

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __io_cqring_fill_event / io_drain_req

write to 0xffff88813e7c7400 of 4 bytes by task 19872 on cpu 0:
 io_get_cqe fs/io_uring.c:1580 [inline]
 __io_cqring_fill_event+0xfb/0x350 fs/io_uring.c:1764
 io_req_complete_post+0x4d/0x640 fs/io_uring.c:1787
 io_issue_sqe+0x6145/0x67b0
 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

read to 0xffff88813e7c7400 of 4 bytes by task 19871 on cpu 1:
 req_need_defer fs/io_uring.c:1345 [inline]
 io_drain_req+0x4c1/0x610 fs/io_uring.c:6522
 io_queue_sqe fs/io_uring.c:7004 [inline]
 io_submit_sqe+0x357e/0x3eb0 fs/io_uring.c:7184
 io_submit_sqes+0x505/0xde0 fs/io_uring.c:7290
 __do_sys_io_uring_enter fs/io_uring.c:9992 [inline]
 __se_sys_io_uring_enter+0x20d/0xb30 fs/io_uring.c:9934
 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:9934
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000000 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 19871 Comm: syz-executor.2 Tainted: G        W         5.15.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (37):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/10/30 19:49 upstream a379fbbcb88b 098b5d53 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/10/27 14:03 upstream d25f27432f80 be531bb4 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/10/26 01:38 upstream 87066fdd2e30 c1132b49 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/10/19 17:12 upstream d9abdee5fd5a 466b7db1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/10/19 05:23 upstream 519d81956ee2 24dc29db .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/10/18 06:46 upstream cf52ad5ff16c 0c5d9412 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/10/17 15:01 upstream d999ade1cc86 0c5d9412 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/10/17 02:52 upstream 304040fb4909 0c5d9412 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/10/16 09:44 upstream 8fe31e0995f0 0c5d9412 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/10/13 23:06 upstream 348949d9a444 5462d470 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/10/13 11:42 upstream f4d0cc426f77 9d56e7dd .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/10/11 19:33 upstream 64570fbc14f8 838e7e2c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/10/10 15:02 upstream 7fd2bf83d59a 838e7e2c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/10/09 10:11 upstream 5d6ab0bb408f efe0f24d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/10/07 15:31 upstream 5af4055fa813 efe0f24d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/10/07 00:46 upstream 60a9483534ed 62ee0987 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/10/04 06:53 upstream 6761a0ae9895 db0f5787 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/09/23 23:51 upstream f10f0481a5b5 8cac236e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/09/19 22:58 upstream d4d016caa4b8 70b76c1d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/09/17 07:12 upstream bdb575f87217 5b989942 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/09/12 19:57 upstream 78e709522d2c 3ce60af8 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/08/27 11:54 upstream 77dd11439b86 b318694d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/08/17 14:46 upstream 794c7931a242 a2fe1cb5 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/08/13 15:21 upstream f8e6dfc64f61 3fd2ea69 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/08/07 20:02 upstream c9194f32bfd9 6972b106 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/08/05 09:18 upstream 251a1524293d 7f7bb950 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/08/01 18:54 upstream f3438b4c4e69 6c236867 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/07/31 14:08 upstream c7d102232649 6c236867 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/07/28 20:55 upstream 4010a528219e 9a4781d4 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/07/23 00:47 upstream 9bead1b58c4c bc5f1d88 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/07/22 22:56 upstream 3d5895cd3517 241790bb .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/07/22 01:23 upstream 7b6ae471e541 29c3f20f .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/07/20 00:42 upstream 2734d6c1b1a0 bc48c9ab .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/07/18 11:27 upstream 1d67c8d993ba f115ae98 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/07/15 01:11 upstream 8096acd7442e b9a2f64e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/07/12 10:51 upstream e73f0f0ee754 a4869c92 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
2021/07/06 15:52 upstream 3dbdb38e2869 6c4484eb .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_drain_req
* Struck through repros no longer work on HEAD.