================================================================== BUG: KCSAN: data-race in __blk_mq_sched_dispatch_requests / blk_mq_request_bypass_insert write to 0xffff888100bd4c10 of 8 bytes by task 26630 on cpu 0: __list_add include/linux/list.h:70 [inline] list_add_tail include/linux/list.h:100 [inline] blk_mq_request_bypass_insert+0xc5/0x150 block/blk-mq.c:1861 blk_mq_sched_insert_request+0xfc/0x250 block/blk-mq-sched.c:462 blk_execute_rq_nowait block/blk-exec.c:62 [inline] blk_execute_rq+0x13a/0x2d0 block/blk-exec.c:96 sg_scsi_ioctl drivers/scsi/scsi_ioctl.c:621 [inline] scsi_ioctl+0x1205/0x1390 drivers/scsi/scsi_ioctl.c:930 sg_ioctl_common drivers/scsi/sg.c:1111 [inline] sg_ioctl+0xfef/0x18e0 drivers/scsi/sg.c:1164 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:860 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:860 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 read to 0xffff888100bd4c10 of 8 bytes by task 343 on cpu 1: list_empty_careful include/linux/list.h:319 [inline] __blk_mq_sched_dispatch_requests+0x80/0x290 block/blk-mq-sched.c:305 blk_mq_sched_dispatch_requests+0x9f/0x110 block/blk-mq-sched.c:360 __blk_mq_run_hw_queue+0xbc/0x140 block/blk-mq.c:1480 __blk_mq_delay_run_hw_queue+0x163/0x2f0 block/blk-mq.c:1557 blk_mq_run_hw_queue+0x22c/0x250 block/blk-mq.c:1610 blk_mq_sched_insert_requests+0x12b/0x1f0 block/blk-mq-sched.c:513 blk_mq_flush_plug_list+0x302/0x3d0 block/blk-mq.c:1935 blk_flush_plug_list+0x235/0x260 block/blk-core.c:1718 blk_finish_plug+0x44/0x60 block/blk-core.c:1735 jbd2_journal_commit_transaction+0x1bac/0x3430 fs/jbd2/commit.c:838 kjournald2+0x268/0x490 fs/jbd2/journal.c:213 kthread+0x262/0x280 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 value changed: 0xffff888100bd4c08 -> 0xffff888102883888 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 343 Comm: jbd2/sda1-8 Not tainted 5.15.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================