================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folio_add_lru_vma read-write to 0xffff888237d2ac08 of 1 bytes by task 12055 on cpu 1: folio_batch_add include/linux/pagevec.h:77 [inline] folio_batch_add_and_move mm/swap.c:246 [inline] folio_add_lru mm/swap.c:532 [inline] folio_add_lru_vma+0x74/0x170 mm/swap.c:552 wp_page_copy mm/memory.c:3331 [inline] do_wp_page+0x1556/0x1e70 mm/memory.c:3660 handle_pte_fault mm/memory.c:5316 [inline] __handle_mm_fault mm/memory.c:5441 [inline] handle_mm_fault+0xb7f/0x27e0 mm/memory.c:5606 do_user_addr_fault arch/x86/mm/fault.c:1413 [inline] handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x2f5/0x6d0 arch/x86/mm/fault.c:1563 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 __put_user_nocheck_4+0x7/0x20 arch/x86/lib/putuser.S:95 ____sys_recvmsg+0x1a3/0x280 net/socket.c:2816 ___sys_recvmsg net/socket.c:2845 [inline] do_recvmmsg+0x2eb/0x720 net/socket.c:2939 __sys_recvmmsg net/socket.c:3018 [inline] __do_sys_recvmmsg net/socket.c:3041 [inline] __se_sys_recvmmsg net/socket.c:3034 [inline] __x64_sys_recvmmsg+0xe2/0x170 net/socket.c:3034 x64_sys_call+0xda3/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:300 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888237d2ac08 of 1 bytes by task 10642 on cpu 0: folio_batch_count include/linux/pagevec.h:56 [inline] cpu_needs_drain mm/swap.c:810 [inline] __lru_add_drain_all+0x137/0x420 mm/swap.c:904 lru_add_drain_all+0x10/0x20 mm/swap.c:920 invalidate_bdev+0x54/0x80 block/bdev.c:95 ext4_put_super+0x51b/0x7e0 fs/ext4/super.c:1361 generic_shutdown_super+0xde/0x210 fs/super.c:641 kill_block_super+0x2a/0x70 fs/super.c:1675 ext4_kill_sb+0x44/0x80 fs/ext4/super.c:7327 deactivate_locked_super+0x7d/0x1c0 fs/super.c:472 deactivate_super+0x9f/0xb0 fs/super.c:505 cleanup_mnt+0x272/0x2e0 fs/namespace.c:1267 __cleanup_mnt+0x19/0x20 fs/namespace.c:1274 task_work_run+0x13a/0x1a0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xbe/0x130 kernel/entry/common.c:218 do_syscall_64+0xda/0x1d0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x05 -> 0x06 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 10642 Comm: syz-executor.2 Tainted: G W 6.9.0-rc3-syzkaller-00286-g5939d45155bb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 ==================================================================