================================================================== BUG: KCSAN: data-race in dd_has_work / dd_insert_request write to 0xffff888103075888 of 8 bytes by task 12133 on cpu 0: __list_add include/linux/list.h:72 [inline] list_add_tail include/linux/list.h:102 [inline] dd_insert_request+0x415/0x550 block/mq-deadline.c:758 dd_insert_requests+0xfc/0x140 block/mq-deadline.c:777 blk_mq_sched_insert_request+0x203/0x220 block/blk-mq-sched.c:449 blk_mq_submit_bio+0xba1/0xe40 block/blk-mq.c:2853 __submit_bio+0x130/0x330 block/blk-core.c:662 __submit_bio_noacct_mq block/blk-core.c:739 [inline] submit_bio_noacct_nocheck+0x3cb/0x480 block/blk-core.c:756 submit_bio_noacct+0x6c4/0x820 block/blk-core.c:863 submit_bio+0x139/0x150 submit_bh_wbc+0x2a8/0x2f0 fs/buffer.c:3045 submit_bh+0x1e/0x30 fs/buffer.c:3051 __ext4_read_bh fs/ext4/super.c:174 [inline] ext4_read_bh+0xf1/0x170 fs/ext4/super.c:198 mext_page_mkuptodate+0x4bc/0x870 fs/ext4/move_extent.c:218 move_extent_per_page+0x433/0xf10 fs/ext4/move_extent.c:348 ext4_move_extents+0x60d/0x7d0 fs/ext4/move_extent.c:672 __ext4_ioctl fs/ext4/ioctl.c:1285 [inline] ext4_ioctl+0x1812/0x2750 fs/ext4/ioctl.c:1578 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:856 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:856 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 read to 0xffff888103075888 of 8 bytes by task 154 on cpu 1: list_empty_careful include/linux/list.h:329 [inline] dd_has_work_for_prio block/mq-deadline.c:836 [inline] dd_has_work+0x144/0x260 block/mq-deadline.c:846 __blk_mq_do_dispatch_sched block/blk-mq-sched.c:109 [inline] blk_mq_do_dispatch_sched+0x148/0x780 block/blk-mq-sched.c:187 __blk_mq_sched_dispatch_requests+0x1ca/0x270 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_run_work_fn+0x3d/0x50 block/blk-mq.c:2312 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 value changed: 0xffff888103075880 -> 0xffff8881031ca608 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 154 Comm: kworker/1:1H Not tainted 5.18.0-rc5-syzkaller-00207-g379c72654524 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: kblockd blk_mq_run_work_fn ==================================================================