ntfs: volume version 3.1. ================================================================== BUG: KCSAN: data-race in wb_timer_fn / wbt_wait write to 0xffff88821a241604 of 4 bytes by interrupt on cpu 1: calc_wb_limits block/blk-wbt.c:304 [inline] scale_down block/blk-wbt.c:323 [inline] wb_timer_fn+0x934/0xa40 block/blk-wbt.c:395 blk_stat_timer_fn+0x3f4/0x410 block/blk-stat.c:99 call_timer_fn+0x30/0x2a0 kernel/time/timer.c:1413 expire_timers+0x116/0x290 kernel/time/timer.c:1458 __run_timers+0x348/0x3e0 kernel/time/timer.c:1755 run_timer_softirq+0x2e/0x60 kernel/time/timer.c:1768 __do_softirq+0x198/0x360 kernel/softirq.c:298 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:706 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline] do_softirq_own_stack+0x5d/0x80 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu+0x115/0x120 kernel/softirq.c:423 sysvec_apic_timer_interrupt+0xba/0xd0 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581 arch_local_irq_restore arch/x86/include/asm/paravirt.h:770 [inline] kcsan_setup_watchpoint+0x44b/0x4a0 kernel/kcsan/core.c:563 ieee802_11_find_bssid_profile net/mac80211/util.c:1320 [inline] ieee802_11_parse_elems_crc+0x197/0x890 net/mac80211/util.c:1391 ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2025 [inline] ieee80211_bss_info_update+0x3e5/0x520 net/mac80211/scan.c:206 ieee80211_rx_bss_info net/mac80211/ibss.c:1125 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1614 [inline] ieee80211_ibss_rx_queued_mgmt+0xf4b/0x12e0 net/mac80211/ibss.c:1641 ieee80211_iface_work+0x43e/0x5c0 net/mac80211/iface.c:1417 process_one_work+0x3e1/0x9a0 kernel/workqueue.c:2269 worker_thread+0x665/0xbe0 kernel/workqueue.c:2415 kthread+0x20d/0x230 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 read to 0xffff88821a241604 of 4 bytes by task 2306 on cpu 0: rwb_enabled block/blk-wbt.c:80 [inline] bio_to_wbt_flags block/blk-wbt.c:543 [inline] wbt_wait+0x36/0x2b0 block/blk-wbt.c:576 __rq_qos_throttle+0x39/0x70 block/blk-rq-qos.c:72 rq_qos_throttle block/blk-rq-qos.h:182 [inline] blk_mq_submit_bio+0x244/0x1130 block/blk-mq.c:2168 __submit_bio_noacct_mq block/blk-core.c:1180 [inline] submit_bio_noacct+0x772/0x950 block/blk-core.c:1213 submit_bio+0x200/0x370 block/blk-core.c:1283 submit_bh_wbc+0x397/0x3d0 fs/buffer.c:3070 submit_bh+0x21/0x30 fs/buffer.c:3076 ntfs_read_block fs/ntfs/aops.c:345 [inline] ntfs_readpage+0x10d6/0x13c0 fs/ntfs/aops.c:435 do_read_cache_page+0x6bd/0x8a0 mm/filemap.c:2967 read_cache_page+0x36/0x40 mm/filemap.c:3066 read_mapping_page include/linux/pagemap.h:437 [inline] ntfs_map_page fs/ntfs/aops.h:75 [inline] ntfs_check_logfile+0x22b/0xa90 fs/ntfs/logfile.c:533 load_and_check_logfile fs/ntfs/super.c:1215 [inline] load_system_files fs/ntfs/super.c:1941 [inline] ntfs_fill_super+0x202f/0x33e0 fs/ntfs/super.c:2894 mount_bdev+0x1e8/0x290 fs/super.c:1417 ntfs_mount+0x2d/0x40 fs/ntfs/super.c:3051 legacy_get_tree+0x70/0xc0 fs/fs_context.c:592 vfs_get_tree+0x4d/0x1a0 fs/super.c:1547 do_new_mount fs/namespace.c:2875 [inline] path_mount+0x118d/0x1c70 fs/namespace.c:3192 do_mount fs/namespace.c:3205 [inline] __do_sys_mount fs/namespace.c:3413 [inline] __se_sys_mount+0x126/0x180 fs/namespace.c:3390 __x64_sys_mount+0x63/0x70 fs/namespace.c:3390 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 2306 Comm: syz-executor.4 Not tainted 5.9.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================