================================================================== BUG: KCSAN: data-race in __wb_update_bandwidth / percpu_counter_add_batch read-write to 0xffff888102418148 of 8 bytes by interrupt on cpu 0: percpu_counter_add_batch+0x110/0x130 lib/percpu_counter.c:107 wb_stat_mod include/linux/backing-dev.h:66 [inline] __wb_writeout_add+0x42/0x1b0 mm/page-writeback.c:585 __folio_end_writeback+0x1a0/0x410 mm/page-writeback.c:3004 folio_end_writeback+0x71/0x3d0 mm/filemap.c:1673 end_buffer_async_write+0x156/0x1f0 fs/buffer.c:419 end_bio_bh_io_sync+0x79/0xa0 fs/buffer.c:2776 bio_endio+0x37b/0x420 block/bio.c:1673 blk_update_request+0x336/0x730 block/blk-mq.c:998 blk_mq_end_request+0x26/0x50 block/blk-mq.c:1160 lo_complete_rq+0x98/0x140 drivers/block/loop.c:314 blk_complete_reqs block/blk-mq.c:1235 [inline] blk_done_softirq+0x77/0xb0 block/blk-mq.c:1240 handle_softirqs+0xb7/0x290 kernel/softirq.c:622 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:1063 smpboot_thread_fn+0x32b/0x530 kernel/smpboot.c:160 kthread+0x486/0x510 kernel/kthread.c:463 ret_from_fork+0x11f/0x1b0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 read to 0xffff888102418148 of 8 bytes by task 3297 on cpu 1: percpu_counter_read include/linux/percpu_counter.h:110 [inline] __wb_update_bandwidth+0x98/0x5d0 mm/page-writeback.c:1509 wb_update_bandwidth mm/page-writeback.c:1536 [inline] do_writepages+0x2dd/0x310 mm/page-writeback.c:2627 filemap_fdatawrite_wbc mm/filemap.c:389 [inline] __filemap_fdatawrite_range mm/filemap.c:422 [inline] __filemap_fdatawrite mm/filemap.c:428 [inline] filemap_flush+0xe4/0x120 mm/filemap.c:473 sync_blockdev_nowait+0x29/0x40 block/bdev.c:248 sync_filesystem+0xe2/0x190 fs/sync.c:60 generic_shutdown_super+0x44/0x210 fs/super.c:622 kill_block_super+0x2a/0x70 fs/super.c:1723 ext4_kill_sb+0x42/0x80 fs/ext4/super.c:7401 deactivate_locked_super+0x75/0x1c0 fs/super.c:474 deactivate_super+0x97/0xa0 fs/super.c:507 cleanup_mnt+0x269/0x2e0 fs/namespace.c:1318 __cleanup_mnt+0x19/0x20 fs/namespace.c:1325 task_work_run+0x12e/0x1a0 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xed/0x110 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x1d6/0x200 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000000030 -> 0x0000000000000040 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3297 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 ================================================================== EXT4-fs (loop0): unmounting filesystem 00000000-0000-0000-0000-000000000000.