================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / folio_mapping write to 0xffffea0004541758 of 8 bytes by task 3759 on cpu 0: 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 fat_fill_super+0x33a/0x1bf0 fs/fat/inode.c:1598 vfat_fill_super+0x24/0x30 fs/fat/namei_vfat.c:1200 get_tree_bdev+0x256/0x2e0 fs/super.c:1635 vfat_get_tree+0x1c/0x30 fs/fat/namei_vfat.c:1205 vfs_get_tree+0x56/0x1d0 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 0xffffea0004541758 of 8 bytes by task 3443 on cpu 1: 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 folio_batch_add_and_move mm/swap.c:231 [inline] folio_add_lru+0x13e/0x1f0 mm/swap.c:526 folio_add_lru_vma+0x48/0x60 mm/swap.c:546 wp_page_copy mm/memory.c:3403 [inline] do_wp_page+0x172d/0x22c0 mm/memory.c:3727 handle_pte_fault mm/memory.c:5538 [inline] __handle_mm_fault mm/memory.c:5665 [inline] handle_mm_fault+0xbf0/0x2940 mm/memory.c:5833 do_user_addr_fault arch/x86/mm/fault.c:1338 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x3b9/0x650 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 value changed: 0xffff8881004c17d8 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3443 Comm: udevd Not tainted 6.11.0-rc2-syzkaller-00315-g7006fe2f7f78 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 ==================================================================