EXT4-fs (loop3): unmounting filesystem 00000000-0000-0000-0000-000000d40000. ================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folios_put_refs write to 0xffff888237c2ac68 of 1 bytes by task 3360 on cpu 0: folio_batch_reinit include/linux/pagevec.h:50 [inline] folios_put_refs+0x26d/0x2b0 mm/swap.c:1001 folios_put include/linux/mm.h:1537 [inline] folio_batch_move_lru+0x202/0x230 mm/swap.c:220 lru_add_drain_cpu+0x7c/0x260 mm/swap.c:661 lru_add_drain mm/swap.c:743 [inline] __folio_batch_release+0x51/0xc0 mm/swap.c:1064 folio_batch_release include/linux/pagevec.h:101 [inline] mpage_prepare_extent_to_map+0xaf2/0xb80 fs/ext4/inode.c:2550 ext4_do_writepages+0x6ea/0x2130 fs/ext4/inode.c:2677 ext4_writepages+0x159/0x2e0 fs/ext4/inode.c:2813 do_writepages+0x1d8/0x480 mm/page-writeback.c:2683 __writeback_single_inode+0x89/0x850 fs/fs-writeback.c:1658 writeback_sb_inodes+0x461/0xa30 fs/fs-writeback.c:1954 wb_writeback+0x262/0x640 fs/fs-writeback.c:2134 wb_do_writeback fs/fs-writeback.c:2281 [inline] wb_workfn+0x1a8/0x940 fs/fs-writeback.c:2321 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3310 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3391 kthread+0x1d1/0x210 kernel/kthread.c:389 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read to 0xffff888237c2ac68 of 1 bytes by task 2437 on cpu 1: folio_batch_count include/linux/pagevec.h:56 [inline] cpu_needs_drain mm/swap.c:786 [inline] __lru_add_drain_all+0x136/0x3f0 mm/swap.c:880 lru_add_drain_all+0x10/0x20 mm/swap.c:896 invalidate_bdev+0x47/0x70 block/bdev.c:101 ext4_put_super+0x571/0x840 fs/ext4/super.c:1349 generic_shutdown_super+0xe5/0x220 fs/super.c:642 kill_block_super+0x2a/0x70 fs/super.c:1696 ext4_kill_sb+0x44/0x80 fs/ext4/super.c:7320 deactivate_locked_super+0x7d/0x1c0 fs/super.c:473 deactivate_super+0x9f/0xb0 fs/super.c:506 cleanup_mnt+0x268/0x2e0 fs/namespace.c:1373 __cleanup_mnt+0x19/0x20 fs/namespace.c:1380 task_work_run+0x13a/0x1a0 kernel/task_work.c:228 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xbe/0x130 kernel/entry/common.c:218 do_syscall_64+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x09 -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 2437 Comm: syz-executor Tainted: G W 6.12.0-rc2-syzkaller-00305-g7234e2ea0edd #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================