================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folio_add_lru_vma read-write to 0xffff888237c2ac08 of 1 bytes by task 11323 on cpu 0: folio_batch_add include/linux/pagevec.h:77 [inline] folio_batch_add_and_move mm/swap.c:233 [inline] folio_add_lru mm/swap.c:522 [inline] folio_add_lru_vma+0x74/0x170 mm/swap.c:542 wp_page_copy mm/memory.c:3359 [inline] do_wp_page+0x1728/0x22b0 mm/memory.c:3683 handle_pte_fault mm/memory.c:5396 [inline] __handle_mm_fault mm/memory.c:5523 [inline] handle_mm_fault+0xb9b/0x2a80 mm/memory.c:5688 do_user_addr_fault arch/x86/mm/fault.c:1338 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x3b9/0x650 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 read to 0xffff888237c2ac08 of 1 bytes by task 11318 on cpu 1: folio_batch_count include/linux/pagevec.h:56 [inline] cpu_needs_drain mm/swap.c:800 [inline] __lru_add_drain_all+0x12c/0x410 mm/swap.c:894 lru_add_drain_all+0x10/0x20 mm/swap.c:910 invalidate_bdev+0x47/0x70 block/bdev.c:100 ext4_put_super+0x51b/0x7e0 fs/ext4/super.c:1345 generic_shutdown_super+0xde/0x210 fs/super.c:642 kill_block_super+0x2a/0x70 fs/super.c:1676 ext4_kill_sb+0x44/0x80 fs/ext4/super.c:7301 deactivate_locked_super+0x7d/0x1c0 fs/super.c:473 fc_drop_locked+0x50/0x60 fs/fs_context.c:379 vfs_get_tree+0x160/0x1d0 fs/super.c:1807 do_new_mount+0x227/0x690 fs/namespace.c:3352 path_mount+0x49b/0xb30 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3875 __x64_sys_mount+0x67/0x80 fs/namespace.c:3875 x64_sys_call+0x25c9/0x2d70 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0f -> 0x11 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 11318 Comm: syz-executor.4 Not tainted 6.10.0-rc2-syzkaller-00235-g8a92980606e3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 ==================================================================