================================================================== BUG: KCSAN: data-race in lru_add_drain_all / lru_cache_add write to 0xffff88813bd27550 of 1 bytes by task 28957 on cpu 1: pagevec_add include/linux/pagevec.h:74 [inline] lru_cache_add+0x7c/0x160 mm/swap.c:461 shmem_getpage_gfp+0x8c4/0x1980 mm/shmem.c:1934 shmem_fault+0x16c/0x450 mm/shmem.c:2116 __do_fault mm/memory.c:3637 [inline] do_read_fault+0x2e1/0x530 mm/memory.c:3939 do_fault mm/memory.c:4067 [inline] handle_pte_fault mm/memory.c:4318 [inline] __handle_mm_fault mm/memory.c:4453 [inline] handle_mm_fault+0x1019/0x1840 mm/memory.c:4551 faultin_page mm/gup.c:850 [inline] __get_user_pages+0xa47/0x1000 mm/gup.c:1069 populate_vma_page_range mm/gup.c:1402 [inline] __mm_populate+0x24d/0x380 mm/gup.c:1450 mm_populate include/linux/mm.h:2570 [inline] vm_mmap_pgoff+0x14c/0x1d0 mm/util.c:524 ksys_mmap_pgoff+0xe1/0x380 mm/mmap.c:1632 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88813bd27550 of 1 bytes by task 28995 on cpu 0: pagevec_count include/linux/pagevec.h:61 [inline] lru_add_drain_all+0x108/0x3c0 mm/swap.c:813 migrate_prep+0xa/0x10 mm/migrate.c:73 do_mbind+0x417/0x1030 mm/mempolicy.c:1326 kernel_mbind mm/mempolicy.c:1478 [inline] __do_sys_mbind mm/mempolicy.c:1485 [inline] __se_sys_mbind mm/mempolicy.c:1481 [inline] __x64_sys_mbind+0x142/0x170 mm/mempolicy.c:1481 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 28995 Comm: syz-executor.1 Not tainted 5.12.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================