================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / folio_mapping write to 0xffffea0004b34f18 of 8 bytes by task 17399 on cpu 1: page_cache_delete_batch mm/filemap.c:318 [inline] delete_from_page_cache_batch+0x33c/0x6e0 mm/filemap.c:348 truncate_inode_pages_range+0x1d5/0xa00 mm/truncate.c:326 truncate_inode_pages+0x20/0x30 mm/truncate.c:425 kill_bdev block/bdev.c:78 [inline] set_blocksize+0x24e/0x270 block/bdev.c:158 sb_set_blocksize block/bdev.c:167 [inline] sb_min_blocksize+0x92/0x110 block/bdev.c:183 ext4_fill_super+0x3a5/0x78f0 fs/ext4/super.c:3931 mount_bdev+0x1e8/0x290 fs/super.c:1370 ext4_mount+0x2d/0x40 fs/ext4/super.c:6522 legacy_get_tree+0x70/0xc0 fs/fs_context.c:610 vfs_get_tree+0x4a/0x1a0 fs/super.c:1500 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x11cf/0x1c40 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount+0x24b/0x2f0 fs/namespace.c:3516 __x64_sys_mount+0x63/0x70 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffffea0004b34f18 of 8 bytes by task 17398 on cpu 0: folio_mapping+0x92/0x120 mm/util.c:722 folio_evictable mm/internal.h:112 [inline] __pagevec_lru_add_fn+0x81/0x380 mm/swap.c:1042 __pagevec_lru_add+0x1c3/0x270 mm/swap.c:1070 folio_add_lru+0x11a/0x160 mm/swap.c:468 lru_cache_add+0x37/0x50 mm/folio-compat.c:108 lru_cache_add_inactive_or_unevictable+0x46/0x140 mm/swap.c:499 wp_page_copy+0x781/0x10e0 mm/memory.c:3047 do_wp_page+0x4fb/0xa80 handle_pte_fault mm/memory.c:4569 [inline] __handle_mm_fault mm/memory.c:4686 [inline] handle_mm_fault+0x975/0x1590 mm/memory.c:4784 do_user_addr_fault+0x609/0xbe0 arch/x86/mm/fault.c:1397 handle_page_fault arch/x86/mm/fault.c:1485 [inline] exc_page_fault+0x91/0x290 arch/x86/mm/fault.c:1541 asm_exc_page_fault+0x1e/0x30 value changed: 0xffff88810108cbf8 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 17398 Comm: syz-executor.5 Tainted: G W 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================