================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / folio_mapping write to 0xffffea00046fe718 of 8 bytes by task 10311 on cpu 0: page_cache_delete_batch mm/filemap.c:308 [inline] delete_from_page_cache_batch+0x308/0x700 mm/filemap.c:334 truncate_inode_pages_range+0x1c5/0x6b0 mm/truncate.c:327 truncate_inode_pages mm/truncate.c:407 [inline] truncate_inode_pages_final+0x55/0x60 mm/truncate.c:442 ext4_evict_inode+0xb3/0xdd0 fs/ext4/inode.c:187 evict+0x2f0/0x570 fs/inode.c:796 iput_final fs/inode.c:1946 [inline] iput+0x42a/0x5b0 fs/inode.c:1972 ext4_mb_release+0x540/0x750 fs/ext4/mballoc.c:3819 ext4_put_super+0x1bc/0x810 fs/ext4/super.c:1325 generic_shutdown_super+0xe5/0x220 fs/super.c:642 kill_block_super+0x2a/0x70 fs/super.c:1710 ext4_kill_sb+0x44/0x80 fs/ext4/super.c:7368 deactivate_locked_super+0x7d/0x1c0 fs/super.c:473 fc_drop_locked+0x50/0x60 fs/fs_context.c:379 vfs_get_tree+0x160/0x1e0 fs/super.c:1841 do_new_mount+0x227/0x690 fs/namespace.c:3560 path_mount+0x49b/0xb30 fs/namespace.c:3887 do_mount fs/namespace.c:3900 [inline] __do_sys_mount fs/namespace.c:4111 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:4088 __x64_sys_mount+0x67/0x80 fs/namespace.c:4088 x64_sys_call+0x2c84/0x2dc0 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 read to 0xffffea00046fe718 of 8 bytes by task 10328 on cpu 1: folio_mapping+0xa0/0x120 mm/util.c:862 folio_evictable mm/internal.h:437 [inline] lru_add+0x89/0x440 mm/swap.c:136 folio_batch_move_lru+0x15f/0x230 mm/swap.c:168 __folio_batch_add_and_move mm/swap.c:196 [inline] folio_add_lru+0x145/0x1f0 mm/swap.c:505 folio_add_lru_vma+0x48/0x60 mm/swap.c:524 wp_page_copy mm/memory.c:3515 [inline] do_wp_page+0x17a2/0x2340 mm/memory.c:3839 handle_pte_fault mm/memory.c:5904 [inline] __handle_mm_fault mm/memory.c:6031 [inline] handle_mm_fault+0xc63/0x2b00 mm/memory.c:6200 do_user_addr_fault arch/x86/mm/fault.c:1337 [inline] handle_page_fault arch/x86/mm/fault.c:1480 [inline] exc_page_fault+0x3b9/0x650 arch/x86/mm/fault.c:1538 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 value changed: 0xffff888117012f98 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 10328 Comm: syz.2.3337 Not tainted 6.14.0-rc7-syzkaller-00069-g81e4f8d68c66 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 ==================================================================