EXT4-fs (loop5): unmounting filesystem 00000000-0000-0000-0000-000000000000. ================================================================== BUG: KCSAN: data-race in folios_put_refs / need_mlock_drain write to 0xffff888237d26a90 of 1 bytes by task 24977 on cpu 1: folio_batch_reinit include/linux/pagevec.h:50 [inline] folios_put_refs+0x285/0x2d0 mm/swap.c:996 folios_put include/linux/mm.h:1484 [inline] mlock_folio_batch+0x1b5a/0x1b90 mm/mlock.c:209 mlock_new_folio+0x1d6/0x240 mm/mlock.c:282 folio_add_lru_vma+0x5f/0x70 mm/swap.c:528 do_anonymous_page mm/memory.c:5229 [inline] do_pte_missing mm/memory.c:4359 [inline] handle_pte_fault mm/memory.c:6177 [inline] __handle_mm_fault mm/memory.c:6318 [inline] handle_mm_fault+0x27e2/0x2be0 mm/memory.c:6487 faultin_page mm/gup.c:1126 [inline] __get_user_pages+0x102a/0x1ed0 mm/gup.c:1428 populate_vma_page_range mm/gup.c:1860 [inline] __mm_populate+0x243/0x3a0 mm/gup.c:1963 mm_populate include/linux/mm.h:3466 [inline] do_mremap mm/mremap.c:1951 [inline] __do_sys_mremap mm/mremap.c:1996 [inline] __se_sys_mremap+0xad4/0xb30 mm/mremap.c:1964 __x64_sys_mremap+0x67/0x80 mm/mremap.c:1964 x64_sys_call+0x2a28/0x3000 arch/x86/include/generated/asm/syscalls_64.h:26 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 0xffff888237d26a90 of 1 bytes by task 22765 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:786 [inline] __lru_add_drain_all+0x273/0x450 mm/swap.c:877 lru_add_drain_all+0x10/0x20 mm/swap.c:893 invalidate_bdev+0x47/0x70 block/bdev.c:101 ext4_put_super+0x624/0x7d0 fs/ext4/super.c:1348 generic_shutdown_super+0xe6/0x210 fs/super.c:642 kill_block_super+0x2a/0x70 fs/super.c:1722 ext4_kill_sb+0x42/0x80 fs/ext4/super.c:7403 deactivate_locked_super+0x75/0x1c0 fs/super.c:473 deactivate_super+0x97/0xa0 fs/super.c:506 cleanup_mnt+0x269/0x2e0 fs/namespace.c:1327 __cleanup_mnt+0x19/0x20 fs/namespace.c:1334 task_work_run+0x131/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: 0x1f -> 0x08 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 22765 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 ==================================================================