================================================================== BUG: KCSAN: data-race in blk_mq_run_hw_queue / blk_mq_sched_insert_request read to 0xffff888129e44410 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 find_watchpoint kernel/kcsan/core.c:105 [inline] check_access kernel/kcsan/core.c:446 [inline] __tsan_read4+0x61/0x100 kernel/kcsan/core.c:588 bpf_fd_array_map_clear+0x90/0xd0 kernel/bpf/arraymap.c:662 cgroup_fd_array_free+0x1f/0x30 kernel/bpf/arraymap.c:986 map_create kernel/bpf/syscall.c:721 [inline] __do_sys_bpf+0x1da9/0x3150 kernel/bpf/syscall.c:3012 __se_sys_bpf kernel/bpf/syscall.c:2989 [inline] __x64_sys_bpf+0x4c/0x60 kernel/bpf/syscall.c:2989 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff888129e44410 of 8 bytes by task 2501 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: 2501 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 ==================================================================