================================================================== BUG: KCSAN: data-race in lru_add_drain_all / mark_page_accessed read-write to 0xffff88813bc27b70 of 1 bytes by task 15266 on cpu 0: pagevec_add include/linux/pagevec.h:78 [inline] activate_page mm/swap.c:349 [inline] mark_page_accessed+0x37e/0x5e0 mm/swap.c:434 follow_page_pte+0x8a1/0xb90 mm/gup.c:478 follow_pmd_mask+0x4b0/0xeb0 mm/gup.c:573 follow_pud_mask mm/gup.c:668 [inline] follow_p4d_mask mm/gup.c:694 [inline] follow_page_mask+0x382/0x540 mm/gup.c:753 __get_user_pages+0x9eb/0xff0 mm/gup.c:1068 populate_vma_page_range mm/gup.c:1403 [inline] __mm_populate+0x24d/0x380 mm/gup.c:1451 mm_populate include/linux/mm.h:2591 [inline] vm_mmap_pgoff+0x14c/0x1d0 mm/util.c:524 ksys_mmap_pgoff+0x2a8/0x380 mm/mmap.c:1634 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88813bc27b70 of 1 bytes by task 15255 on cpu 1: pagevec_count include/linux/pagevec.h:65 [inline] need_activate_page_drain mm/swap.c:337 [inline] lru_add_drain_all+0x216/0x3c0 mm/swap.c:828 migrate_prep+0xa/0x10 mm/migrate.c:73 do_mbind+0x431/0x1070 mm/mempolicy.c:1316 kernel_mbind mm/mempolicy.c:1468 [inline] __do_sys_mbind mm/mempolicy.c:1475 [inline] __se_sys_mbind mm/mempolicy.c:1471 [inline] __x64_sys_mbind+0x142/0x170 mm/mempolicy.c:1471 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 15255 Comm: syz-executor.5 Not tainted 5.11.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================