EXT4-fs (loop4): unmounting filesystem 00000000-0000-0000-0000-000000000000. ================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folios_put_refs write to 0xffff888237d25ea8 of 1 bytes by task 8175 on cpu 1: folio_batch_reinit include/linux/pagevec.h:50 [inline] folios_put_refs+0x285/0x2d0 mm/swap.c:991 folios_put include/linux/mm.h:1419 [inline] folio_batch_move_lru+0x1fd/0x230 mm/swap.c:175 lru_add_drain_cpu+0x77/0x250 mm/swap.c:647 lru_add_drain mm/swap.c:735 [inline] __folio_batch_release+0x44/0xb0 mm/swap.c:1054 folio_batch_release include/linux/pagevec.h:101 [inline] mpage_prepare_extent_to_map+0xb83/0xc00 fs/ext4/inode.c:2751 ext4_do_writepages+0x708/0x2750 fs/ext4/inode.c:2877 ext4_writepages+0x176/0x300 fs/ext4/inode.c:3025 do_writepages+0x1c6/0x310 mm/page-writeback.c:2634 __writeback_single_inode+0x80/0x7c0 fs/fs-writeback.c:1680 writeback_single_inode+0x167/0x3e0 fs/fs-writeback.c:1801 write_inode_now+0xd3/0x100 fs/fs-writeback.c:2863 iput_final fs/inode.c:1884 [inline] iput+0x341/0x5b0 fs/inode.c:1923 ext4_process_orphan+0x1a9/0x1c0 fs/ext4/orphan.c:360 ext4_orphan_cleanup+0x6a8/0xa00 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5605 [inline] ext4_fill_super+0x3171/0x34e0 fs/ext4/super.c:5724 get_tree_bdev_flags+0x28e/0x300 fs/super.c:1692 get_tree_bdev+0x1f/0x30 fs/super.c:1715 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5756 vfs_get_tree+0x57/0x1d0 fs/super.c:1815 do_new_mount+0x207/0x5e0 fs/namespace.c:3805 path_mount+0x4a4/0xb20 fs/namespace.c:4120 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount+0x28f/0x2e0 fs/namespace.c:4321 __x64_sys_mount+0x67/0x80 fs/namespace.c:4321 x64_sys_call+0x2b4d/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888237d25ea8 of 1 bytes by task 3301 on cpu 0: folio_batch_count include/linux/pagevec.h:56 [inline] cpu_needs_drain mm/swap.c:778 [inline] __lru_add_drain_all+0x12b/0x3f0 mm/swap.c:872 lru_add_drain_all+0x10/0x20 mm/swap.c:888 invalidate_bdev+0x47/0x70 block/bdev.c:101 ext4_put_super+0x624/0x7d0 fs/ext4/super.c:1339 generic_shutdown_super+0xe3/0x210 fs/super.c:643 kill_block_super+0x2a/0x70 fs/super.c:1766 ext4_kill_sb+0x42/0x80 fs/ext4/super.c:7391 deactivate_locked_super+0x75/0x1c0 fs/super.c:474 deactivate_super+0x97/0xa0 fs/super.c:507 cleanup_mnt+0x269/0x2e0 fs/namespace.c:1378 __cleanup_mnt+0x19/0x20 fs/namespace.c:1385 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+0xe4/0x100 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: 0x01 -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 3301 Comm: syz-executor Not tainted 6.17.0-rc1-syzkaller-00211-g90d970cade8e #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 ==================================================================