================================================================== BUG: KCSAN: data-race in blk_mq_run_hw_queue / blk_mq_sched_insert_request write to 0xffff88812aec3810 of 8 bytes by task 2517 on cpu 0: __list_add include/linux/list.h:70 [inline] list_add include/linux/list.h:86 [inline] blk_mq_sched_bypass_insert block/blk-mq-sched.c:367 [inline] blk_mq_sched_insert_request+0x2f2/0x3e0 block/blk-mq-sched.c:394 blk_mq_requeue_work+0x347/0x440 block/blk-mq.c:746 process_one_work+0x424/0x930 kernel/workqueue.c:2264 worker_thread+0x9a/0x7e0 kernel/workqueue.c:2410 kthread+0x1cb/0x1f0 kernel/kthread.c:255 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 read to 0xffff88812aec3810 of 8 bytes by interrupt on cpu 1: list_empty_careful include/linux/list.h:301 [inline] blk_mq_hctx_has_pending block/blk-mq.c:69 [inline] blk_mq_run_hw_queue+0x10a/0x1b0 block/blk-mq.c:1508 blk_mq_run_hw_queues+0xa2/0xe0 block/blk-mq.c:1530 scsi_end_request+0x338/0x350 drivers/scsi/scsi_lib.c:616 scsi_io_completion+0x11e/0xcc0 drivers/scsi/scsi_lib.c:960 scsi_finish_command+0x283/0x390 drivers/scsi/scsi.c:228 scsi_softirq_done+0x249/0x270 drivers/scsi/scsi_lib.c:1476 blk_done_softirq+0x1e6/0x250 block/blk-softirq.c:37 __do_softirq+0x118/0x34a kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0xb5/0xd0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:546 [inline] do_IRQ+0x7b/0x120 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+0x25a/0x440 kernel/kcsan/core.c:530 tomoyo_path_matches_pattern+0x102/0x140 security/tomoyo/util.c:924 tomoyo_compare_name_union security/tomoyo/file.c:87 [inline] tomoyo_compare_name_union+0x6b/0x90 security/tomoyo/file.c:82 tomoyo_check_path_acl security/tomoyo/file.c:260 [inline] tomoyo_check_path_acl+0x7d/0xa0 security/tomoyo/file.c:252 tomoyo_check_acl+0xf8/0x280 security/tomoyo/domain.c:175 tomoyo_path_permission security/tomoyo/file.c:586 [inline] tomoyo_path_permission+0xda/0x150 security/tomoyo/file.c:573 tomoyo_path_perm+0x215/0x350 security/tomoyo/file.c:838 tomoyo_inode_getattr+0x23/0x40 security/tomoyo/tomoyo.c:129 security_inode_getattr+0x97/0xc0 security/security.c:1254 vfs_getattr+0x2c/0x70 fs/stat.c:117 vfs_statx_fd+0x74/0xc0 fs/stat.c:147 vfs_fstat include/linux/fs.h:3287 [inline] __do_sys_newfstat+0x46/0xa0 fs/stat.c:388 __se_sys_newfstat fs/stat.c:385 [inline] __x64_sys_newfstat+0x37/0x50 fs/stat.c:385 do_syscall_64+0xc7/0x390 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 12582 Comm: blkid Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================