================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / folio_mapping write to 0xffffea000460db58 of 8 bytes by task 23718 on cpu 1: page_cache_delete_batch mm/filemap.c:310 [inline] delete_from_page_cache_batch+0x2f6/0x6f0 mm/filemap.c:336 truncate_inode_pages_range+0x1ba/0x780 mm/truncate.c:405 truncate_inode_pages+0x24/0x30 mm/truncate.c:485 kill_bdev block/bdev.c:91 [inline] set_blocksize+0x259/0x310 block/bdev.c:207 sb_set_blocksize+0x93/0x170 block/bdev.c:241 sb_min_blocksize+0x53/0x60 block/bdev.c:256 ext4_load_super fs/ext4/super.c:5091 [inline] __ext4_fill_super fs/ext4/super.c:5312 [inline] ext4_fill_super+0x3a1/0x37a0 fs/ext4/super.c:5777 get_tree_bdev_flags+0x291/0x300 fs/super.c:1691 get_tree_bdev+0x1f/0x30 fs/super.c:1714 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5809 vfs_get_tree+0x57/0x1d0 fs/super.c:1751 fc_mount fs/namespace.c:1199 [inline] do_new_mount_fc fs/namespace.c:3636 [inline] do_new_mount+0x24d/0x6a0 fs/namespace.c:3712 path_mount+0x4ab/0xb80 fs/namespace.c:4022 do_mount fs/namespace.c:4035 [inline] __do_sys_mount fs/namespace.c:4224 [inline] __se_sys_mount+0x28c/0x2e0 fs/namespace.c:4201 __x64_sys_mount+0x67/0x80 fs/namespace.c:4201 x64_sys_call+0x2cca/0x3000 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd8/0x2a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffea000460db58 of 8 bytes by task 23699 on cpu 0: folio_mapping+0xa1/0xe0 mm/util.c:703 folio_evictable mm/internal.h:499 [inline] lru_add+0x8d/0x480 mm/swap.c:136 folio_batch_move_lru+0x1c5/0x280 mm/swap.c:172 __folio_batch_add_and_move mm/swap.c:196 [inline] folio_add_lru+0x14a/0x1f0 mm/swap.c:511 filemap_add_folio+0x26d/0x360 mm/filemap.c:982 __filemap_get_folio_mpol+0x326/0x650 mm/filemap.c:2016 __filemap_get_folio include/linux/pagemap.h:763 [inline] grow_dev_folio fs/buffer.c:1050 [inline] grow_buffers fs/buffer.c:1116 [inline] __getblk_slow fs/buffer.c:1134 [inline] bdev_getblk+0x174/0x3f0 fs/buffer.c:1461 __getblk include/linux/buffer_head.h:380 [inline] sb_getblk include/linux/buffer_head.h:386 [inline] __ext4_get_inode_loc+0x303/0x930 fs/ext4/inode.c:4835 __ext4_get_inode_loc_noinmem fs/ext4/inode.c:4948 [inline] __ext4_iget+0x2ea/0x2350 fs/ext4/inode.c:5209 __ext4_fill_super fs/ext4/super.c:5553 [inline] ext4_fill_super+0x291d/0x37a0 fs/ext4/super.c:5777 get_tree_bdev_flags+0x291/0x300 fs/super.c:1691 get_tree_bdev+0x1f/0x30 fs/super.c:1714 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5809 vfs_get_tree+0x57/0x1d0 fs/super.c:1751 fc_mount fs/namespace.c:1199 [inline] do_new_mount_fc fs/namespace.c:3636 [inline] do_new_mount+0x24d/0x6a0 fs/namespace.c:3712 path_mount+0x4ab/0xb80 fs/namespace.c:4022 do_mount fs/namespace.c:4035 [inline] __do_sys_mount fs/namespace.c:4224 [inline] __se_sys_mount+0x28c/0x2e0 fs/namespace.c:4201 __x64_sys_mount+0x67/0x80 fs/namespace.c:4201 x64_sys_call+0x2cca/0x3000 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd8/0x2a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xffff8881005f30e0 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 23699 Comm: syz.3.5490 Tainted: G W syzkaller #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 ================================================================== EXT4-fs error (device loop3): ext4_orphan_get:1417: comm syz.3.5490: bad orphan inode 11862016 ext4 filesystem being mounted at /314/file1 supports timestamps until 2038-01-19 (0x7fffffff)