================================================================== BUG: KCSAN: data-race in dd_has_work / dd_insert_request write to 0xffff8881034d5c88 of 8 bytes by task 8691 on cpu 1: __list_add include/linux/list.h:72 [inline] list_add_tail include/linux/list.h:102 [inline] dd_insert_request+0x438/0x570 block/mq-deadline.c:759 dd_insert_requests+0xfc/0x140 block/mq-deadline.c:778 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+0xc7/0x130 fs/ext4/super.c:198 mext_page_mkuptodate+0x43a/0x760 fs/ext4/move_extent.c:218 move_extent_per_page+0x37d/0xd10 fs/ext4/move_extent.c:348 ext4_move_extents+0x4b6/0x610 fs/ext4/move_extent.c:672 __ext4_ioctl fs/ext4/ioctl.c:1285 [inline] ext4_ioctl+0x14fa/0x20a0 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 0xffff8881034d5c88 of 8 bytes by task 9 on cpu 0: list_empty_careful include/linux/list.h:329 [inline] dd_has_work_for_prio block/mq-deadline.c:837 [inline] dd_has_work+0x144/0x260 block/mq-deadline.c:847 __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: 0xffff8881034d5c80 -> 0xffff888103588c08 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 9 Comm: kworker/0:1H Not tainted 5.18.0-rc7-syzkaller-00164-g6c3f5bec9b40-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: kblockd blk_mq_run_work_fn ==================================================================