BFS-fs: bfs_fill_super(): loop1 is unclean, continuing ================================================================== BUG: KCSAN: data-race in calc_wb_limits.part.0 / wbt_track write to 0xffff88821aa64d04 of 4 bytes by interrupt on cpu 1: calc_wb_limits.part.0+0x7b/0xb0 block/blk-wbt.c:304 calc_wb_limits block/blk-wbt.c:298 [inline] scale_up block/blk-wbt.c:313 [inline] scale_up+0x7f/0x250 block/blk-wbt.c:309 wb_timer_fn+0x2cd/0xad0 block/blk-wbt.c:393 blk_stat_timer_fn+0x3b0/0x3d0 block/blk-stat.c:98 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+0xcb8/0xd20 kernel/time/timer.c:1786 __do_softirq+0x115/0x33f kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0xbb/0xe0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0xe6/0x280 arch/x86/kernel/apic/apic.c:1137 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:830 __read_once_size include/linux/compiler.h:227 [inline] check_kcov_mode kernel/kcov.c:70 [inline] write_comp_data+0x1e/0x70 kernel/kcov.c:123 PageCompound include/linux/page-flags.h:188 [inline] page_mapcount include/linux/mm.h:726 [inline] zap_pte_range mm/memory.c:1063 [inline] zap_pmd_range mm/memory.c:1166 [inline] zap_pud_range mm/memory.c:1195 [inline] zap_p4d_range mm/memory.c:1216 [inline] unmap_page_range+0x1289/0x18d0 mm/memory.c:1237 unmap_single_vma+0x144/0x200 mm/memory.c:1282 unmap_vmas+0xda/0x1a0 mm/memory.c:1314 read to 0xffff88821aa64d04 of 4 bytes by task 7561 on cpu 0: rwb_enabled block/blk-wbt.c:80 [inline] bio_to_wbt_flags block/blk-wbt.c:551 [inline] wbt_track+0x39/0xa0 block/blk-wbt.c:600 __rq_qos_track+0x52/0x80 block/blk-rq-qos.c:81 rq_qos_track block/blk-rq-qos.h:192 [inline] blk_mq_make_request+0x32e/0xf60 block/blk-mq.c:1984 generic_make_request block/blk-core.c:1064 [inline] generic_make_request+0x196/0x740 block/blk-core.c:1006 submit_bio+0x96/0x3c0 block/blk-core.c:1190 submit_bh_wbc+0x40f/0x460 fs/buffer.c:3095 submit_bh fs/buffer.c:3101 [inline] __bread_slow fs/buffer.c:1177 [inline] __bread_gfp+0xe7/0x1e0 fs/buffer.c:1359 sb_bread include/linux/buffer_head.h:307 [inline] bfs_fill_super+0x477/0x800 fs/bfs/inode.c:380 mount_bdev+0x262/0x2d0 fs/super.c:1415 bfs_mount+0x3e/0x60 fs/bfs/inode.c:456 legacy_get_tree+0x7e/0xf0 fs/fs_context.c:647 vfs_get_tree+0x56/0x1a0 fs/super.c:1545 do_new_mount fs/namespace.c:2823 [inline] do_mount+0x1071/0x15a0 fs/namespace.c:3143 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 7561 Comm: syz-executor.1 Not tainted 5.4.0-rc3+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================