syzbot


KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert

Status: auto-closed as invalid on 2022/06/25 16:22
Reported-by: syzbot+aa59aa6a6bf98f62c776@syzkaller.appspotmail.com
First crash: 736d, last: 41d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert

write to 0xffff8881027c1c10 of 8 bytes by task 41 on cpu 1:
 __list_add include/linux/list.h:72 [inline]
 list_add include/linux/list.h:88 [inline]
 blk_mq_request_bypass_insert+0x6a/0x140 block/blk-mq.c:2359
 blk_mq_sched_insert_request+0xfd/0x220 block/blk-mq-sched.c:441
 blk_mq_requeue_work+0x39b/0x400 block/blk-mq.c:1312
 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

read to 0xffff8881027c1c10 of 8 bytes by task 5593 on cpu 0:
 list_empty_careful include/linux/list.h:329 [inline]
 __blk_mq_sched_dispatch_requests+0x80/0x270 block/blk-mq-sched.c:284
 blk_mq_sched_dispatch_requests+0x8f/0xf0 block/blk-mq-sched.c:339
 __blk_mq_run_hw_queue+0x7e/0x100 block/blk-mq.c:1974
 __blk_mq_delay_run_hw_queue+0x194/0x390 block/blk-mq.c:2051
 blk_mq_run_hw_queue+0x180/0x310 block/blk-mq.c:2102
 blk_mq_sched_insert_requests+0x1cb/0x2a0 block/blk-mq-sched.c:493
 blk_mq_dispatch_plug_list+0x1e9/0x2c0 block/blk-mq.c:2597
 blk_mq_flush_plug_list+0x2ea/0x340 block/blk-mq.c:2639
 __blk_flush_plug+0x25a/0x2b0 block/blk-core.c:1240
 blk_finish_plug+0x44/0x60 block/blk-core.c:1264
 __iomap_dio_rw+0xc50/0xf80 fs/iomap/direct-io.c:599
 iomap_dio_rw+0x38/0x80 fs/iomap/direct-io.c:681
 ext4_dio_read_iter fs/ext4/file.c:79 [inline]
 ext4_file_read_iter+0x19c/0x200 fs/ext4/file.c:130
 call_read_iter include/linux/fs.h:2044 [inline]
 generic_file_splice_read+0x1de/0x2c0 fs/splice.c:311
 do_splice_to fs/splice.c:796 [inline]
 splice_direct_to_actor+0x2ac/0x660 fs/splice.c:870
 do_splice_direct+0xfb/0x180 fs/splice.c:979
 do_sendfile+0x3ad/0x900 fs/read_write.c:1246
 __do_sys_sendfile64 fs/read_write.c:1311 [inline]
 __se_sys_sendfile64 fs/read_write.c:1297 [inline]
 __x64_sys_sendfile64+0x10c/0x150 fs/read_write.c:1297
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0xffff8881027c1c08 -> 0xffff8881030f3448

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 5593 Comm: syz-executor.2 Not tainted 5.18.0-rc7-syzkaller-00136-g3b5e1590a267-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (150):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/05/21 16:21 upstream 3b5e1590a267 7268fa62 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/05/18 13:53 upstream 210e04ff7681 50c53f39 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/05/17 16:41 upstream 42226c989789 744a39e2 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/05/15 13:33 upstream 2fe1020d73ca 744a39e2 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/05/05 18:48 upstream a7391ad35724 b3f09415 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/05/01 07:03 upstream 57ae8a492116 2df221f6 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/04/30 06:40 upstream 8013d1d3d2e3 ad6b95d8 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/04/22 16:48 upstream d569e86915b7 131df97d .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/04/21 03:05 upstream 559089e0a93d d4befee1 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/04/19 12:42 upstream b2d229d4ddb1 c334415e .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/04/18 15:54 upstream b2d229d4ddb1 8bcc32a6 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/04/14 05:42 upstream a19944809fe9 b17b2923 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/04/11 06:56 upstream ce522ba9ef7e e22c3da3 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/04/09 22:46 upstream f1b45d8ccb98 e22c3da3 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/04/05 18:10 upstream ce4c854ee868 0127c10f .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/03/26 04:50 upstream 52d543b5497c 89bc8608 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/03/21 06:32 upstream 14702b3b2438 e2d91b1d .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/03/14 20:01 upstream 09688c0166e7 9e8eaa75 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/03/12 19:33 upstream 68453767131a 9e8eaa75 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/03/03 07:11 upstream 92ebf5f91b4d 45a13a73 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/02/26 17:20 upstream 9137eda53752 45a13a73 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/02/23 13:52 upstream 5c1ee569660d 6e821dbf .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/02/20 13:40 upstream 4f12b742eb2b 3cd800e4 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/02/18 07:22 upstream a3580ac9b7a3 3cd800e4 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/02/07 03:12 upstream d8ad2ce873ab a7dab638 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/02/03 10:17 upstream 88808fbbead4 4ebb2798 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/02/02 13:52 upstream 9f7fb8de5d9b 4ebb2798 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/01/24 20:18 upstream dd81e1c7d5fb 214351e1 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/01/16 09:38 upstream d0a231f01e5b 723cfaf0 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/01/16 03:39 upstream a33f5c380c4b 723cfaf0 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2022/01/14 23:23 upstream 871bfa02d08d 53e00b45 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/12/30 07:44 upstream eec4df26e24e 6cc879d4 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/12/15 02:17 upstream 5472f14a3742 f752fb53 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/12/12 08:37 upstream a763d5a5abd6 49ca1f59 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/12/11 03:43 upstream 9e65da135b39 49ca1f59 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/12/08 23:39 upstream 2a987e65025e a4a2a501 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/12/03 08:01 upstream a51e3ac43ddb 61f86278 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/11/29 11:50 upstream d58071a8a76d 63eeac02 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/11/26 01:13 upstream b501b85957de 63eeac02 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/11/22 03:33 upstream 40c93d7fff6f 4eb20a4e .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/11/15 18:55 upstream 8ab774587903 75b04091 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/11/10 23:51 upstream 89d714ab6043 75b04091 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/11/06 21:33 upstream fe91c4725aee 4c1be0be .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/11/02 12:40 upstream bfc484fe6abb 098b5d53 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/10/24 15:17 upstream 9c0c4d24ac00 282f03fb .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/10/19 13:55 upstream 519d81956ee2 24dc29db .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/10/17 03:32 upstream 304040fb4909 0c5d9412 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/10/11 03:24 upstream efb52a7d9511 838e7e2c .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/10/02 06:09 upstream 53d5fc89d66a db0f5787 .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/09/22 12:11 upstream 92477dd1faa6 169724fe .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/09/18 20:31 upstream 93ff9f13be91 70b76c1d .config log report info KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert
ci2-upstream-kcsan-gce 2021/01/15 13:34 upstream 146620506274 65a7a854 .config log report info
ci2-upstream-kcsan-gce 2020/12/07 03:25 upstream 8100a58044f8 c521566d .config log report info
ci2-upstream-kcsan-gce 2020/06/25 10:21 upstream 8be3a53e18e0 c7b4497a .config log report