================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folios_put_refs write to 0xffff888237c25ea8 of 1 bytes by task 9214 on cpu 0: folio_batch_reinit include/linux/pagevec.h:50 [inline] folios_put_refs+0x285/0x2d0 mm/swap.c:991 folios_put include/linux/mm.h:1417 [inline] folio_batch_move_lru+0x1fd/0x230 mm/swap.c:175 __folio_batch_add_and_move mm/swap.c:196 [inline] folio_add_lru+0x14a/0x1f0 mm/swap.c:510 folio_add_lru_vma+0x49/0x70 mm/swap.c:529 wp_page_copy mm/memory.c:3620 [inline] do_wp_page+0x1458/0x24e0 mm/memory.c:4013 handle_pte_fault mm/memory.c:6068 [inline] __handle_mm_fault mm/memory.c:6195 [inline] handle_mm_fault+0x77d/0x2c20 mm/memory.c:6364 do_user_addr_fault+0x3fe/0x1090 arch/x86/mm/fault.c:1387 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 __put_user_nocheck_4+0x3/0x10 arch/x86/lib/putuser.S:97 ____sys_recvmsg+0x1a1/0x280 net/socket.c:2847 ___sys_recvmsg+0x11f/0x370 net/socket.c:2876 do_recvmmsg+0x1ef/0x540 net/socket.c:2971 __sys_recvmmsg net/socket.c:3045 [inline] __do_sys_recvmmsg net/socket.c:3068 [inline] __se_sys_recvmmsg net/socket.c:3061 [inline] __x64_sys_recvmmsg+0xe5/0x170 net/socket.c:3061 x64_sys_call+0x27a6/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:300 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 read to 0xffff888237c25ea8 of 1 bytes by task 9272 on cpu 1: folio_batch_count include/linux/pagevec.h:56 [inline] cpu_needs_drain mm/swap.c:778 [inline] __lru_add_drain_all+0x12b/0x3f0 mm/swap.c:872 lru_cache_disable+0x1f/0x30 mm/swap.c:925 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+0x2932/0x2ff0 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: 0x06 -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 9272 Comm: syz.0.2195 Not tainted 6.16.0-syzkaller-11568-gd632ab86aff2 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 ================================================================== netlink: 'syz.0.2195': attribute type 3 has an invalid length.