loop4: detected capacity change from 0 to 512 EXT4-fs (loop4): corrupt root inode, run e2fsck EXT4-fs (loop4): mount failed ================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folios_put_refs write to 0xffff888237c2a8e8 of 1 bytes by task 5815 on cpu 0: folio_batch_reinit include/linux/pagevec.h:50 [inline] folios_put_refs+0x26d/0x2b0 mm/swap.c:956 folios_put include/linux/mm.h:1548 [inline] folio_batch_move_lru+0x202/0x230 mm/swap.c:175 lru_add_drain_cpu+0x7c/0x260 mm/swap.c:616 lru_add_drain+0x26/0x80 mm/swap.c:698 exit_mmap+0x181/0x6e0 mm/mmap.c:1667 __mmput+0x28/0x1d0 kernel/fork.c:1345 mmput+0x4c/0x60 kernel/fork.c:1367 exit_mm+0xe4/0x190 kernel/exit.c:570 do_exit+0x559/0x17f0 kernel/exit.c:925 do_group_exit+0x102/0x150 kernel/exit.c:1087 get_signal+0xeb9/0x1000 kernel/signal.c:3036 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x62/0x120 kernel/entry/common.c:218 do_syscall_64+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888237c2a8e8 of 1 bytes by task 5802 on cpu 1: folio_batch_count include/linux/pagevec.h:56 [inline] cpu_needs_drain mm/swap.c:741 [inline] __lru_add_drain_all+0x136/0x3f0 mm/swap.c:835 lru_add_drain_all+0x10/0x20 mm/swap.c:851 invalidate_bdev+0x47/0x70 block/bdev.c:101 __ext4_fill_super fs/ext4/super.c:5697 [inline] ext4_fill_super+0x14df/0x3650 fs/ext4/super.c:5722 get_tree_bdev_flags+0x29f/0x310 fs/super.c:1636 get_tree_bdev+0x1f/0x30 fs/super.c:1659 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5754 vfs_get_tree+0x56/0x1e0 fs/super.c:1814 do_new_mount+0x227/0x690 fs/namespace.c:3560 path_mount+0x49b/0xb30 fs/namespace.c:3887 do_mount fs/namespace.c:3900 [inline] __do_sys_mount fs/namespace.c:4111 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:4088 __x64_sys_mount+0x67/0x80 fs/namespace.c:4088 x64_sys_call+0x2c84/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x01 -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 5802 Comm: syz.4.1123 Not tainted 6.13.0-syzkaller-07078-gb46c89c08f41 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 ==================================================================