================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / folio_mapping write to 0xffffea0004704ad8 of 8 bytes by task 3660 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:380 truncate_inode_pages+0x24/0x30 mm/truncate.c:460 kill_bdev block/bdev.c:91 [inline] set_blocksize+0x259/0x310 block/bdev.c:207 sb_set_blocksize block/bdev.c:224 [inline] sb_min_blocksize+0xb8/0x140 block/bdev.c:239 ext4_load_super fs/ext4/super.c:5041 [inline] __ext4_fill_super fs/ext4/super.c:5262 [inline] ext4_fill_super+0x390/0x34e0 fs/ext4/super.c:5724 get_tree_bdev_flags+0x291/0x300 fs/super.c:1679 get_tree_bdev+0x1f/0x30 fs/super.c:1702 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5756 vfs_get_tree+0x54/0x1d0 fs/super.c:1802 do_new_mount+0x207/0x680 fs/namespace.c:3856 path_mount+0x4a4/0xb20 fs/namespace.c:4180 do_mount fs/namespace.c:4193 [inline] __do_sys_mount fs/namespace.c:4404 [inline] __se_sys_mount+0x28f/0x2e0 fs/namespace.c:4381 __x64_sys_mount+0x67/0x80 fs/namespace.c:4381 x64_sys_call+0xd36/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffea0004704ad8 of 8 bytes by task 3633 on cpu 0: folio_mapping+0xa1/0x120 mm/util.c:701 folio_evictable mm/internal.h:478 [inline] lru_add+0x80/0x430 mm/swap.c:136 folio_batch_move_lru+0x174/0x230 mm/swap.c:168 __folio_batch_add_and_move mm/swap.c:196 [inline] folio_add_lru+0x14a/0x1f0 mm/swap.c:505 folio_add_lru_vma+0x49/0x70 mm/swap.c:524 do_anonymous_page mm/memory.c:5138 [inline] do_pte_missing mm/memory.c:4249 [inline] handle_pte_fault mm/memory.c:6089 [inline] __handle_mm_fault mm/memory.c:6232 [inline] handle_mm_fault+0x27e0/0x2be0 mm/memory.c:6401 do_user_addr_fault+0x636/0x1090 arch/x86/mm/fault.c:1336 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x62/0xa0 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 value changed: 0xffff888100630518 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 3633 Comm: syz.3.32 Not tainted 6.15.0-syzkaller-12426-ge271ed52b344 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 ==================================================================