================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / folio_activate read-write to 0xffff888237d27b88 of 1 bytes by task 24602 on cpu 1: folio_batch_add include/linux/pagevec.h:129 [inline] folio_batch_add_and_move mm/swap.c:260 [inline] folio_activate+0xce/0x1c0 mm/swap.c:378 folio_mark_accessed+0x138/0x1a0 mm/swap.c:498 mark_page_accessed+0x3b/0xe0 mm/folio-compat.c:50 zap_pte_range+0x5f6/0x15a0 mm/memory.c:1451 zap_pmd_range mm/memory.c:1575 [inline] zap_pud_range mm/memory.c:1604 [inline] zap_p4d_range mm/memory.c:1625 [inline] unmap_page_range+0x3ac/0x730 mm/memory.c:1646 unmap_single_vma+0x151/0x1d0 mm/memory.c:1692 unmap_vmas+0x135/0x1e0 mm/memory.c:1731 exit_mmap+0x13d/0x4d0 mm/mmap.c:3090 __mmput+0x27/0x1b0 kernel/fork.c:1186 mmput+0x3d/0x50 kernel/fork.c:1208 exit_mm+0xdb/0x170 kernel/exit.c:512 do_exit+0x541/0x1740 kernel/exit.c:803 do_group_exit+0xfe/0x140 kernel/exit.c:946 get_signal+0xb40/0xc60 kernel/signal.c:2858 arch_do_signal_or_restart+0x87/0x2d0 arch/x86/kernel/signal.c:869 exit_to_user_mode_loop+0x78/0x130 kernel/entry/common.c:168 exit_to_user_mode_prepare kernel/entry/common.c:203 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:296 do_syscall_64+0x37/0x70 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888237d27b88 of 1 bytes by task 3845 on cpu 0: folio_batch_count include/linux/pagevec.h:108 [inline] cpu_needs_drain mm/swap.c:821 [inline] __lru_add_drain_all+0x22a/0x3c0 mm/swap.c:910 lru_add_drain_all+0xc/0x10 mm/swap.c:926 invalidate_bdev+0x56/0x80 block/bdev.c:86 ext4_put_super+0x510/0x810 fs/ext4/super.c:1273 generic_shutdown_super+0xd5/0x240 fs/super.c:491 kill_block_super+0x4a/0x90 fs/super.c:1427 deactivate_locked_super+0x6a/0xb0 fs/super.c:331 deactivate_super+0x85/0x90 fs/super.c:362 cleanup_mnt+0x267/0x2d0 fs/namespace.c:1186 __cleanup_mnt+0x15/0x20 fs/namespace.c:1193 task_work_run+0x8e/0x110 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x124/0x130 kernel/entry/common.c:171 exit_to_user_mode_prepare kernel/entry/common.c:203 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:296 do_syscall_64+0x37/0x70 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x04 -> 0x09 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 3845 Comm: syz-executor.2 Not tainted 6.0.0-syzkaller-11414-g49da07006239-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 ==================================================================