================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / folio_mapping write to 0xffffea0004372d98 of 8 bytes by task 18865 on cpu 1: page_cache_delete_batch mm/filemap.c:309 [inline] delete_from_page_cache_batch+0x2f6/0x6f0 mm/filemap.c:335 truncate_inode_pages_range+0x1ba/0x780 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:5054 [inline] __ext4_fill_super fs/ext4/super.c:5275 [inline] ext4_fill_super+0x3a1/0x3810 fs/ext4/super.c:5736 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:5768 vfs_get_tree+0x57/0x1d0 fs/super.c:1751 fc_mount fs/namespace.c:1208 [inline] do_new_mount_fc fs/namespace.c:3651 [inline] do_new_mount+0x24d/0x660 fs/namespace.c:3727 path_mount+0x4a5/0xb70 fs/namespace.c:4037 do_mount fs/namespace.c:4050 [inline] __do_sys_mount fs/namespace.c:4238 [inline] __se_sys_mount+0x28c/0x2e0 fs/namespace.c:4215 __x64_sys_mount+0x67/0x80 fs/namespace.c:4215 x64_sys_call+0x2b51/0x3000 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 0xffffea0004372d98 of 8 bytes by task 11889 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 lru_add_drain_cpu+0x77/0x250 mm/swap.c:648 lru_add_and_bh_lrus_drain mm/swap.c:751 [inline] lru_add_drain_per_cpu+0x25/0x70 mm/swap.c:772 process_one_work kernel/workqueue.c:3263 [inline] process_scheduled_works+0x4ce/0x9d0 kernel/workqueue.c:3346 worker_thread+0x582/0x770 kernel/workqueue.c:3427 kthread+0x489/0x510 kernel/kthread.c:463 ret_from_fork+0x122/0x1b0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 value changed: 0xffff8881004830e0 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 11889 Comm: kworker/0:7 Tainted: G W syzkaller #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: mm_percpu_wq lru_add_drain_per_cpu ==================================================================