================================================================== BUG: KCSAN: data-race in __filemap_remove_folio / folio_mapping write to 0xffffea0004f50e98 of 8 bytes by task 7445 on cpu 1: page_cache_delete mm/filemap.c:143 [inline] __filemap_remove_folio+0x1b7/0x2c0 mm/filemap.c:219 filemap_remove_folio+0x69/0x210 mm/filemap.c:251 truncate_inode_folio+0x14c/0x160 mm/truncate.c:223 truncate_inode_pages_range+0x6a2/0x8b0 mm/truncate.c:435 truncate_inode_pages+0x20/0x30 mm/truncate.c:461 kill_bdev block/bdev.c:77 [inline] set_blocksize+0x24e/0x270 block/bdev.c:153 sb_set_blocksize+0x2c/0xa0 block/bdev.c:162 __ext4_fill_super+0x1b64/0x59b0 fs/ext4/super.c:4789 ext4_fill_super+0x10b/0x2f0 fs/ext4/super.c:5554 get_tree_bdev+0x2c2/0x3d0 fs/super.c:1292 vfs_get_tree+0x4a/0x1a0 fs/super.c:1497 do_new_mount fs/namespace.c:3024 [inline] path_mount+0x11cf/0x1c40 fs/namespace.c:3354 do_mount fs/namespace.c:3367 [inline] __do_sys_mount fs/namespace.c:3575 [inline] __se_sys_mount+0x24b/0x2f0 fs/namespace.c:3552 __x64_sys_mount+0x63/0x70 fs/namespace.c:3552 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffffea0004f50e98 of 8 bytes by task 7449 on cpu 0: folio_mapping+0x92/0x120 mm/util.c:715 folio_evictable mm/internal.h:121 [inline] __pagevec_lru_add_fn+0x81/0x380 mm/swap.c:1043 __pagevec_lru_add+0x1c3/0x270 mm/swap.c:1071 folio_add_lru+0x11a/0x160 mm/swap.c:469 lru_cache_add+0x37/0x50 mm/folio-compat.c:108 lru_cache_add_inactive_or_unevictable+0x46/0x140 mm/swap.c:500 wp_page_copy+0x779/0x10e0 mm/memory.c:3070 do_wp_page+0x4fb/0xa80 handle_pte_fault mm/memory.c:4588 [inline] __handle_mm_fault mm/memory.c:4705 [inline] handle_mm_fault+0x975/0x1590 mm/memory.c:4803 do_user_addr_fault+0x617/0xb90 arch/x86/mm/fault.c:1397 handle_page_fault arch/x86/mm/fault.c:1484 [inline] exc_page_fault+0x91/0x290 arch/x86/mm/fault.c:1540 asm_exc_page_fault+0x1e/0x30 value changed: 0xffff888101b93b70 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 7449 Comm: udevd Not tainted 5.17.0-rc4-syzkaller-00241-g7f25f0412c9e-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================