================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / folio_mapping write to 0xffffea0004b3c9d8 of 8 bytes by task 8872 on cpu 1: page_cache_delete_batch mm/filemap.c:310 [inline] delete_from_page_cache_batch+0x310/0x720 mm/filemap.c:336 truncate_inode_pages_range+0x1f3/0x7d0 mm/truncate.c:405 truncate_inode_pages+0x24/0x30 mm/truncate.c:485 kill_bdev block/bdev.c:90 [inline] set_blocksize+0x1ed/0x270 block/bdev.c:206 sb_set_blocksize+0x93/0x170 block/bdev.c:239 sb_min_blocksize+0x53/0x60 block/bdev.c:254 ext4_load_super fs/ext4/super.c:5154 [inline] __ext4_fill_super fs/ext4/super.c:5377 [inline] ext4_fill_super+0x39c/0x37b0 fs/ext4/super.c:5855 get_tree_bdev_flags+0x291/0x300 fs/super.c:1872 get_tree_bdev+0x1f/0x30 fs/super.c:1895 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5887 vfs_get_tree+0x57/0x1d0 fs/super.c:1932 fc_mount fs/namespace.c:1198 [inline] do_new_mount_fc fs/namespace.c:3772 [inline] do_new_mount+0x288/0x8d0 fs/namespace.c:3848 path_mount+0x4ad/0xb90 fs/namespace.c:4168 do_mount fs/namespace.c:4181 [inline] __do_sys_mount fs/namespace.c:4397 [inline] __se_sys_mount+0x28c/0x2e0 fs/namespace.c:4374 __x64_sys_mount+0x67/0x80 fs/namespace.c:4374 x64_sys_call+0xc3b/0x2550 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffea0004b3c9d8 of 8 bytes by task 32207 on cpu 0: folio_mapping+0xa1/0xe0 mm/util.c:732 folio_evictable mm/internal.h:650 [inline] lru_add+0x80/0x420 mm/folio.c:130 folio_batch_move_lru+0x2d6/0x3d0 mm/folio.c:194 lru_add_drain_cpu+0x65/0x2a0 mm/folio.c:627 lru_add_drain mm/folio.c:718 [inline] __folio_batch_release+0x45/0xb0 mm/folio.c:1093 folio_batch_release include/linux/folio_batch.h:101 [inline] shmem_undo_range+0x346/0xb60 mm/shmem.c:1161 shmem_truncate_range mm/shmem.c:1289 [inline] shmem_evict_inode+0x12d/0x580 mm/shmem.c:1420 evict+0x2a5/0x510 fs/inode.c:822 iput_final fs/inode.c:2014 [inline] iput+0x430/0x5a0 fs/inode.c:2063 dentry_unlink_inode+0x24a/0x260 fs/dcache.c:479 dentry_kill+0x184/0x500 fs/dcache.c:826 finish_dput+0x16/0x1d0 fs/dcache.c:1001 dput+0x48/0x50 fs/dcache.c:1042 end_renaming fs/namei.c:4122 [inline] filename_renameat2+0x478/0x6a0 fs/namei.c:6328 __do_sys_rename fs/namei.c:6370 [inline] __se_sys_rename+0x4a/0x1c0 fs/namei.c:6366 __x64_sys_rename+0x31/0x40 fs/namei.c:6366 x64_sys_call+0x20fe/0x2550 arch/x86/include/generated/asm/syscalls_64.h:83 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xffff888100630528 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 32207 Comm: udevd Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 ==================================================================