================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / folio_mapping write to 0xffffea00043fa858 of 8 bytes by task 4849 on cpu 1: page_cache_delete_batch mm/filemap.c:317 [inline] delete_from_page_cache_batch+0x308/0x700 mm/filemap.c:343 truncate_inode_pages_range+0x1c5/0x6b0 mm/truncate.c:343 truncate_inode_pages+0x24/0x30 mm/truncate.c:423 kill_bdev block/bdev.c:90 [inline] set_blocksize+0x267/0x280 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:4991 [inline] __ext4_fill_super fs/ext4/super.c:5188 [inline] ext4_fill_super+0x38b/0x39e0 fs/ext4/super.c:5664 get_tree_bdev+0x256/0x2e0 fs/super.c:1635 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5696 vfs_get_tree+0x56/0x1e0 fs/super.c:1800 do_new_mount+0x227/0x690 fs/namespace.c:3472 path_mount+0x49b/0xb30 fs/namespace.c:3799 do_mount fs/namespace.c:3812 [inline] __do_sys_mount fs/namespace.c:4020 [inline] __se_sys_mount+0x27c/0x2d0 fs/namespace.c:3997 __x64_sys_mount+0x67/0x80 fs/namespace.c:3997 x64_sys_call+0x203e/0x2d60 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 0xffffea00043fa858 of 8 bytes by task 4851 on cpu 0: folio_mapping+0x97/0x110 mm/util.c:815 folio_evictable mm/internal.h:370 [inline] lru_add_fn+0x89/0x440 mm/swap.c:183 folio_batch_move_lru+0x15f/0x230 mm/swap.c:215 lru_add_drain_cpu+0x77/0x260 mm/swap.c:661 lru_add_drain+0x26/0x80 mm/swap.c:775 exit_mmap+0x15d/0x710 mm/mmap.c:3407 __mmput+0x28/0x1b0 kernel/fork.c:1345 mmput+0x4c/0x60 kernel/fork.c:1367 exit_mm+0xe4/0x190 kernel/exit.c:571 do_exit+0x55e/0x1720 kernel/exit.c:869 do_group_exit+0x142/0x150 kernel/exit.c:1031 __do_sys_exit_group kernel/exit.c:1042 [inline] __se_sys_exit_group kernel/exit.c:1040 [inline] __x64_sys_exit_group+0x1f/0x20 kernel/exit.c:1040 x64_sys_call+0x2d5d/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:232 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 value changed: 0xffff8881004c1198 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 4851 Comm: modprobe Not tainted 6.11.0-rc6-syzkaller-00070-gc763c4339688 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 ==================================================================