================================================================== BUG: KCSAN: data-race in rq_depth_calc_max_depth / wbt_inflight_cb write to 0xffff8881290b4de0 of 4 bytes by interrupt on cpu 1: rq_depth_calc_max_depth+0xa5/0x160 block/blk-rq-qos.c:157 rq_depth_scale_up+0x71/0xa0 block/blk-rq-qos.c:174 scale_up+0x40/0x250 block/blk-wbt.c:311 wb_timer_fn+0x2cd/0xad0 block/blk-wbt.c:393 blk_stat_timer_fn+0x3b0/0x3d0 block/blk-stat.c:99 call_timer_fn+0x5f/0x2f0 kernel/time/timer.c:1404 expire_timers kernel/time/timer.c:1449 [inline] __run_timers kernel/time/timer.c:1773 [inline] __run_timers kernel/time/timer.c:1740 [inline] run_timer_softirq+0xc0c/0xcd0 kernel/time/timer.c:1786 __do_softirq+0x115/0x33f kernel/softirq.c:292 run_ksoftirqd+0x46/0x60 kernel/softirq.c:603 smpboot_thread_fn+0x37d/0x4a0 kernel/smpboot.c:165 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 read to 0xffff8881290b4de0 of 4 bytes by task 29853 on cpu 0: get_limit block/blk-wbt.c:481 [inline] wbt_inflight_cb+0xc0/0x230 block/blk-wbt.c:503 rq_qos_wait+0x283/0x320 block/blk-rq-qos.c:266 __wbt_wait block/blk-wbt.c:526 [inline] wbt_wait+0x161/0x250 block/blk-wbt.c:591 __rq_qos_throttle+0x47/0x70 block/blk-rq-qos.c:72 rq_qos_throttle block/blk-rq-qos.h:182 [inline] blk_mq_make_request+0x29c/0xf60 block/blk-mq.c:1932 generic_make_request block/blk-core.c:1066 [inline] generic_make_request+0x196/0x700 block/blk-core.c:1008 submit_bio+0x96/0x3c0 block/blk-core.c:1192 submit_bio_wait+0xb8/0x100 block/bio.c:975 blkdev_issue_flush+0x163/0x1c0 block/blk-flush.c:472 ext4_sync_file+0x6a8/0xaf0 fs/ext4/fsync.c:179 vfs_fsync_range+0x82/0x150 fs/sync.c:197 generic_write_sync include/linux/fs.h:2856 [inline] ext4_buffered_write_iter+0x222/0x290 fs/ext4/file.c:259 ext4_file_write_iter+0xf4/0xd40 fs/ext4/file.c:547 call_write_iter include/linux/fs.h:1902 [inline] new_sync_write+0x388/0x4a0 fs/read_write.c:483 __vfs_write+0xb1/0xc0 fs/read_write.c:496 __kernel_write+0xb8/0x240 fs/read_write.c:515 do_acct_process+0x9d9/0xba0 kernel/acct.c:520 slow_acct_process kernel/acct.c:579 [inline] acct_process+0x1d7/0x1ee kernel/acct.c:605 do_exit+0x1136/0x18c0 kernel/exit.c:787 do_group_exit+0xb4/0x1c0 kernel/exit.c:895 get_signal+0x2a2/0x1320 kernel/signal.c:2734 do_signal+0x2f/0x6c0 arch/x86/kernel/signal.c:815 exit_to_usermode_loop+0x250/0x2c0 arch/x86/entry/common.c:160 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x384/0x3a0 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 29853 Comm: syz-executor.5 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================