================================================================== BUG: KCSAN: data-race in lru_add_drain_all / pagevec_lru_move_fn write to 0xffff88812c129860 of 1 bytes by task 8952 on cpu 1: pagevec_reinit include/linux/pagevec.h:63 [inline] pagevec_lru_move_fn+0x163/0x180 mm/swap.c:216 activate_page+0x2b3/0x380 mm/swap.c:315 mark_page_accessed+0x2ba/0x520 mm/swap.c:393 zap_pte_range mm/memory.c:1077 [inline] zap_pmd_range mm/memory.c:1184 [inline] zap_pud_range mm/memory.c:1213 [inline] zap_p4d_range mm/memory.c:1234 [inline] unmap_page_range+0xb14/0x1b20 mm/memory.c:1255 unmap_single_vma+0x144/0x200 mm/memory.c:1300 unmap_vmas+0xda/0x1a0 mm/memory.c:1332 exit_mmap+0x13e/0x300 mm/mmap.c:3140 __mmput kernel/fork.c:1082 [inline] mmput+0xea/0x280 kernel/fork.c:1103 exit_mm kernel/exit.c:485 [inline] do_exit+0x4ac/0x18c0 kernel/exit.c:784 do_group_exit+0xb4/0x1c0 kernel/exit.c:895 get_signal+0x2a2/0x1320 kernel/signal.c:2734 do_signal+0x2f/0x6c0 arch/x86/kernel/signal.c:815 exit_to_usermode_loop+0x250/0x2c0 arch/x86/entry/common.c:160 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath+0x231/0x250 arch/x86/entry/common.c:278 ret_from_fork+0x15/0x30 arch/x86/entry/entry_64.S:344 read to 0xffff88812c129860 of 1 bytes by task 8726 on cpu 0: need_activate_page_drain mm/swap.c:304 [inline] lru_add_drain_all+0x3a2/0x3d0 mm/swap.c:751 migrate_prep+0x17/0x20 mm/migrate.c:72 do_mbind+0x1da/0xa40 mm/mempolicy.c:1282 kernel_mbind+0x111/0x130 mm/mempolicy.c:1438 __do_sys_mbind mm/mempolicy.c:1445 [inline] __se_sys_mbind mm/mempolicy.c:1441 [inline] __x64_sys_mbind+0x89/0xb0 mm/mempolicy.c:1441 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 8726 Comm: syz-executor.3 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================