================================================================== BUG: KCSAN: data-race in mprotect_fixup / page_vma_mapped_walk write to 0xffff88811eb46d40 of 8 bytes by task 10285 on cpu 1: vm_flags_init include/linux/mm.h:874 [inline] vm_flags_reset include/linux/mm.h:886 [inline] mprotect_fixup+0x419/0x5e0 mm/mprotect.c:679 do_mprotect_pkey+0x653/0x960 mm/mprotect.c:840 __do_sys_mprotect mm/mprotect.c:861 [inline] __se_sys_mprotect mm/mprotect.c:858 [inline] __x64_sys_mprotect+0x48/0x60 mm/mprotect.c:858 x64_sys_call+0x2770/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:11 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 0xffff88811eb46d40 of 8 bytes by task 10277 on cpu 0: is_vm_hugetlb_page include/linux/hugetlb_inline.h:11 [inline] page_vma_mapped_walk+0xb6/0xb90 mm/page_vma_mapped.c:195 remove_migration_pte+0xf7/0x9c0 mm/migrate.c:253 rmap_walk_anon+0x28f/0x440 mm/rmap.c:2646 rmap_walk+0x5b/0x70 mm/rmap.c:2724 remove_migration_ptes mm/migrate.c:373 [inline] migrate_folio_move mm/migrate.c:1389 [inline] migrate_pages_batch+0x1374/0x1910 mm/migrate.c:1899 migrate_pages_sync mm/migrate.c:1965 [inline] migrate_pages+0xff1/0x1820 mm/migrate.c:2074 do_mbind mm/mempolicy.c:1390 [inline] kernel_mbind mm/mempolicy.c:1533 [inline] __do_sys_mbind mm/mempolicy.c:1607 [inline] __se_sys_mbind+0xf79/0x1160 mm/mempolicy.c:1603 __x64_sys_mbind+0x78/0x90 mm/mempolicy.c:1603 x64_sys_call+0x2662/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:238 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: 0x0000000000100077 -> 0x0000000000100070 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 10277 Comm: syz.4.2447 Not tainted 6.12.0-syzkaller-09435-g2c22dc1ee3a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================