================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folios_put_refs write to 0xffff888237c25ee8 of 1 bytes by task 10290 on cpu 0: folio_batch_reinit include/linux/pagevec.h:50 [inline] folios_put_refs+0x285/0x2d0 mm/swap.c:996 folios_put include/linux/mm.h:1484 [inline] folio_batch_move_lru+0x24b/0x280 mm/swap.c:179 __folio_batch_add_and_move mm/swap.c:196 [inline] folio_add_lru+0x14a/0x1f0 mm/swap.c:511 folio_add_lru_vma+0x49/0x70 mm/swap.c:530 do_anonymous_page mm/memory.c:5229 [inline] do_pte_missing mm/memory.c:4359 [inline] handle_pte_fault mm/memory.c:6177 [inline] __handle_mm_fault mm/memory.c:6318 [inline] handle_mm_fault+0x27e2/0x2be0 mm/memory.c:6487 do_user_addr_fault+0x630/0x1080 arch/x86/mm/fault.c:1336 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x62/0xa0 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 read to 0xffff888237c25ee8 of 1 bytes by task 10289 on cpu 1: folio_batch_count include/linux/pagevec.h:56 [inline] cpu_needs_drain mm/swap.c:780 [inline] __lru_add_drain_all+0x17e/0x450 mm/swap.c:877 lru_cache_disable+0x1f/0x30 mm/swap.c:930 do_mbind mm/mempolicy.c:1456 [inline] kernel_mbind mm/mempolicy.c:1682 [inline] __do_sys_mbind mm/mempolicy.c:1756 [inline] __se_sys_mbind+0x496/0xac0 mm/mempolicy.c:1752 __x64_sys_mbind+0x78/0x90 mm/mempolicy.c:1752 x64_sys_call+0x2936/0x3000 arch/x86/include/generated/asm/syscalls_64.h:238 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x01 -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 10289 Comm: syz.0.2255 Not tainted syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 ==================================================================