================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / folio_mapping write to 0xffffea00058e1d58 of 8 bytes by task 20995 on cpu 1: page_cache_delete_batch mm/filemap.c:306 [inline] delete_from_page_cache_batch+0x2f6/0x6f0 mm/filemap.c:332 truncate_inode_pages_range+0x1b8/0x690 mm/truncate.c:376 truncate_inode_pages mm/truncate.c:456 [inline] truncate_inode_pages_final+0x55/0x60 mm/truncate.c:491 ext4_evict_inode+0xb2/0xd80 fs/ext4/inode.c:190 evict+0x2e0/0x550 fs/inode.c:810 dispose_list fs/inode.c:852 [inline] evict_inodes+0x3c6/0x430 fs/inode.c:906 generic_shutdown_super+0x6c/0x210 fs/super.c:627 kill_block_super+0x2a/0x70 fs/super.c:1710 ext4_kill_sb+0x42/0x80 fs/ext4/super.c:7393 deactivate_locked_super+0x72/0x1c0 fs/super.c:473 deactivate_super+0x97/0xa0 fs/super.c:506 cleanup_mnt+0x269/0x2e0 fs/namespace.c:1431 __cleanup_mnt+0x19/0x20 fs/namespace.c:1438 task_work_run+0x12e/0x1a0 kernel/task_work.c:227 resume_user_mode_work+0x6a/0x70 include/linux/resume_user_mode.h:50 exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x77/0xb0 kernel/entry/common.c:218 do_syscall_64+0xdd/0x1a0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffea00058e1d58 of 8 bytes by task 21598 on cpu 0: folio_mapping+0xa1/0x120 mm/util.c:701 folio_evictable mm/internal.h:480 [inline] lru_add+0x80/0x430 mm/swap.c:136 folio_batch_move_lru+0x174/0x230 mm/swap.c:168 lru_add_drain_cpu+0x77/0x250 mm/swap.c:642 lru_add_drain+0x25/0x70 mm/swap.c:730 populate_vma_page_range mm/gup.c:1931 [inline] __mm_populate+0x24b/0x3a0 mm/gup.c:2032 mm_populate include/linux/mm.h:3487 [inline] vm_mmap_pgoff+0x232/0x2e0 mm/util.c:584 ksys_mmap_pgoff+0x268/0x310 mm/mmap.c:607 x64_sys_call+0x1602/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:10 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd0/0x1a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xffff8881072198c8 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 21598 Comm: syz.0.6281 Not tainted 6.15.0-rc5-syzkaller-00275-gbec6f00f120e #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 ==================================================================