loop5: detected capacity change from 0 to 512 EXT4-fs (loop5): failed to initialize system zone (-117) EXT4-fs (loop5): mount failed ================================================================== BUG: KCSAN: data-race in mlock_new_folio / need_mlock_drain read-write to 0xffff888237d2b4a8 of 1 bytes by task 11184 on cpu 1: folio_batch_add include/linux/pagevec.h:77 [inline] mlock_new_folio+0x114/0x200 mm/mlock.c:280 folio_add_lru_vma+0x5d/0x60 mm/swap.c:522 do_anonymous_page mm/memory.c:4938 [inline] do_pte_missing mm/memory.c:4057 [inline] handle_pte_fault mm/memory.c:5888 [inline] __handle_mm_fault mm/memory.c:6031 [inline] handle_mm_fault+0x251e/0x2b00 mm/memory.c:6200 faultin_page mm/gup.c:1196 [inline] __get_user_pages+0xf6a/0x2350 mm/gup.c:1491 populate_vma_page_range mm/gup.c:1929 [inline] __mm_populate+0x25b/0x3b0 mm/gup.c:2032 mm_populate include/linux/mm.h:3392 [inline] __do_sys_mlockall mm/mlock.c:769 [inline] __se_sys_mlockall+0x36d/0x3d0 mm/mlock.c:745 __x64_sys_mlockall+0x1f/0x30 mm/mlock.c:745 x64_sys_call+0x2bf8/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:152 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 read to 0xffff888237d2b4a8 of 1 bytes by task 11188 on cpu 0: folio_batch_count include/linux/pagevec.h:56 [inline] need_mlock_drain+0x30/0x50 mm/mlock.c:235 cpu_needs_drain mm/swap.c:779 [inline] __lru_add_drain_all+0x22a/0x3f0 mm/swap.c:867 lru_add_drain_all+0x10/0x20 mm/swap.c:883 invalidate_bdev+0x47/0x70 block/bdev.c:101 __ext4_fill_super fs/ext4/super.c:5697 [inline] ext4_fill_super+0x14e1/0x3630 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: 0x0c -> 0x16 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 11188 Comm: syz.5.2119 Not tainted 6.14.0-rc7-syzkaller-00074-ga7f2e10ecd8f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 ==================================================================