================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / folio_mapping write to 0xffffea0004866b58 of 8 bytes by task 10189 on cpu 1: 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+0x24/0x30 mm/truncate.c:407 kill_bdev block/bdev.c:91 [inline] set_blocksize+0x25b/0x270 block/bdev.c:172 sb_set_blocksize block/bdev.c:181 [inline] sb_min_blocksize+0x63/0xe0 block/bdev.c:197 ext4_load_super fs/ext4/super.c:5038 [inline] __ext4_fill_super fs/ext4/super.c:5259 [inline] ext4_fill_super+0x38b/0x3a10 fs/ext4/super.c:5733 get_tree_bdev_flags+0x29f/0x310 fs/super.c:1636 get_tree_bdev+0x1f/0x30 fs/super.c:1659 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5765 vfs_get_tree+0x56/0x1e0 fs/super.c:1814 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 0xffffea0004866b58 of 8 bytes by task 7345 on cpu 0: folio_mapping+0xa0/0x120 mm/util.c:842 folio_evictable mm/internal.h:435 [inline] lru_add+0x89/0x440 mm/swap.c:136 folio_batch_move_lru+0x15f/0x230 mm/swap.c:168 lru_add_drain_cpu+0x7c/0x260 mm/swap.c:616 lru_add_and_bh_lrus_drain mm/swap.c:712 [inline] lru_add_drain_per_cpu+0x26/0x80 mm/swap.c:733 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 kthread+0x1d1/0x210 kernel/kthread.c:389 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0xffff8881004c1e18 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 7345 Comm: kworker/0:10 Not tainted 6.13.0-syzkaller-00918-g95ec54a420b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: mm_percpu_wq lru_add_drain_per_cpu ==================================================================