================================================================== BUG: KCSAN: data-race in blk_mq_run_hw_queue / blk_mq_sched_insert_request read to 0xffff888129dfc010 of 8 bytes by interrupt on cpu 1: list_empty_careful include/linux/list.h:287 [inline] blk_mq_hctx_has_pending block/blk-mq.c:69 [inline] blk_mq_run_hw_queue+0x10e/0x1c0 block/blk-mq.c:1469 blk_mq_run_hw_queues+0xac/0xf0 block/blk-mq.c:1486 scsi_end_request+0x342/0x360 drivers/scsi/scsi_lib.c:616 scsi_io_completion+0x11d/0xc80 drivers/scsi/scsi_lib.c:960 scsi_finish_command+0x283/0x380 drivers/scsi/scsi.c:228 scsi_softirq_done+0x259/0x280 drivers/scsi/scsi_lib.c:1476 blk_done_softirq+0x1eb/0x250 block/blk-softirq.c:37 __do_softirq+0x115/0x33f kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0xbb/0xe0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:536 [inline] do_IRQ+0x81/0x130 arch/x86/kernel/irq.c:263 ret_from_intr+0x0/0x21 arch_local_irq_restore arch/x86/include/asm/paravirt.h:752 [inline] kcsan_setup_watchpoint+0x1d4/0x460 kernel/kcsan/core.c:429 check_access kernel/kcsan/core.c:459 [inline] __tsan_read8+0xc6/0x100 kernel/kcsan/core.c:589 fat_ent_update_ptr fs/fat/fatent.c:326 [inline] fat_ent_read+0x1f6/0x550 fs/fat/fatent.c:364 fat_get_cluster+0x580/0x980 fs/fat/cache.c:266 fat_chain_add+0x250/0x400 fs/fat/misc.c:115 fat_add_cluster+0x92/0xd0 fs/fat/inode.c:112 fat_fallocate+0x152/0x1f0 fs/fat/file.c:291 vfs_fallocate+0x3be/0x650 fs/open.c:309 ksys_fallocate+0x61/0xa0 fs/open.c:332 __do_sys_fallocate fs/open.c:340 [inline] __se_sys_fallocate fs/open.c:338 [inline] __x64_sys_fallocate+0x5e/0x80 fs/open.c:338 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff888129dfc010 of 8 bytes by task 2502 on cpu 0: __list_add include/linux/list.h:63 [inline] list_add include/linux/list.h:79 [inline] blk_mq_sched_bypass_insert block/blk-mq-sched.c:367 [inline] blk_mq_sched_insert_request+0x2fd/0x3f0 block/blk-mq-sched.c:394 blk_mq_requeue_work+0x370/0x460 block/blk-mq.c:738 process_one_work+0x3d4/0x890 kernel/workqueue.c:2264 worker_thread+0xa0/0x800 kernel/workqueue.c:2410 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 2502 Comm: kworker/0:1H Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: kblockd blk_mq_requeue_work ==================================================================