loop0: detected capacity change from 0 to 1024 ================================================================== BUG: KCSAN: data-race in munlock_folio / need_mlock_drain read-write to 0xffff888237d2b370 of 1 bytes by task 8966 on cpu 1: folio_batch_add include/linux/pagevec.h:77 [inline] munlock_folio+0x42/0x130 mm/mlock.c:301 munlock_vma_folio mm/internal.h:912 [inline] __folio_remove_rmap mm/rmap.c:1582 [inline] folio_remove_rmap_ptes+0x214/0x220 mm/rmap.c:1599 zap_present_folio_ptes mm/memory.c:1517 [inline] zap_present_ptes mm/memory.c:1576 [inline] zap_pte_range mm/memory.c:1618 [inline] zap_pmd_range mm/memory.c:1736 [inline] zap_pud_range mm/memory.c:1765 [inline] zap_p4d_range mm/memory.c:1786 [inline] unmap_page_range+0x1028/0x2210 mm/memory.c:1807 unmap_single_vma+0x142/0x1d0 mm/memory.c:1853 unmap_vmas+0x18d/0x2b0 mm/memory.c:1897 exit_mmap+0x18f/0x710 mm/mmap.c:3412 __mmput+0x28/0x1b0 kernel/fork.c:1345 mmput+0x4c/0x60 kernel/fork.c:1367 exit_mm+0xe4/0x190 kernel/exit.c:571 do_exit+0x55e/0x1720 kernel/exit.c:869 do_group_exit+0x102/0x150 kernel/exit.c:1031 get_signal+0xf2f/0x1080 kernel/signal.c:2917 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [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+0x59/0x130 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 0xffff888237d2b370 of 1 bytes by task 9008 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:824 [inline] __lru_add_drain_all+0x235/0x410 mm/swap.c:912 lru_add_drain_all+0x10/0x20 mm/swap.c:928 invalidate_bdev+0x47/0x70 block/bdev.c:100 __ext4_fill_super fs/ext4/super.c:5639 [inline] ext4_fill_super+0x6f3/0x39e0 fs/ext4/super.c:5664 get_tree_bdev+0x256/0x2e0 fs/super.c:1635 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5696 vfs_get_tree+0x56/0x1e0 fs/super.c:1800 do_new_mount+0x227/0x690 fs/namespace.c:3472 path_mount+0x49b/0xb30 fs/namespace.c:3799 do_mount fs/namespace.c:3812 [inline] __do_sys_mount fs/namespace.c:4020 [inline] __se_sys_mount+0x27c/0x2d0 fs/namespace.c:3997 __x64_sys_mount+0x67/0x80 fs/namespace.c:3997 x64_sys_call+0x203e/0x2d60 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: 0x12 -> 0x1f Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 9008 Comm: syz.0.1565 Not tainted 6.11.0-rc6-syzkaller-00048-gc7fb1692dc01 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 ================================================================== x_tables: eb_tables: nflog.0 target: invalid size 80 (kernel) != (user) 0