================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folio_add_lru read-write to 0xffff888237d25e68 of 1 bytes by task 6734 on cpu 1: folio_batch_add include/linux/pagevec.h:77 [inline] __folio_batch_add_and_move mm/swap.c:194 [inline] folio_add_lru+0xa5/0x1f0 mm/swap.c:505 folio_add_lru_vma+0x49/0x70 mm/swap.c:524 wp_page_copy mm/memory.c:3637 [inline] do_wp_page+0x132b/0x2400 mm/memory.c:4030 handle_pte_fault mm/memory.c:6105 [inline] __handle_mm_fault mm/memory.c:6232 [inline] handle_mm_fault+0x77d/0x2be0 mm/memory.c:6401 do_user_addr_fault+0x636/0x1090 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 0xffff888237d25e68 of 1 bytes by task 6729 on cpu 0: folio_batch_count include/linux/pagevec.h:56 [inline] cpu_needs_drain mm/swap.c:773 [inline] __lru_add_drain_all+0x12b/0x3f0 mm/swap.c:867 lru_cache_disable+0x1f/0x30 mm/swap.c:920 do_pages_move mm/migrate.c:2266 [inline] kernel_move_pages mm/migrate.c:2520 [inline] __do_sys_move_pages mm/migrate.c:2534 [inline] __se_sys_move_pages+0x2a2/0x1340 mm/migrate.c:2529 __x64_sys_move_pages+0x78/0x90 mm/migrate.c:2529 x64_sys_call+0x2eab/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:280 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: 0x00 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 6729 Comm: syz.3.1363 Not tainted 6.16.0-rc2-syzkaller-00278-g3f75bfff44be #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 ==================================================================