================================================================== BUG: KCSAN: data-race in folio_mapping / page_cache_delete_batch write to 0xffffea0004d13fd8 of 8 bytes by task 21333 on cpu 1: page_cache_delete_batch+0x1a7/0x470 mm/filemap.c:308 delete_from_page_cache_batch+0x18f/0x2a0 mm/filemap.c:334 truncate_inode_pages_range+0x3ca/0xae0 mm/truncate.c:370 truncate_inode_pages+0x20/0x30 mm/truncate.c:452 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 fs/ext4/super.c:4829 [inline] ext4_fill_super+0x16f7/0x3a90 fs/ext4/super.c:5603 get_tree_bdev+0x2b4/0x3b0 fs/super.c:1292 vfs_get_tree+0x49/0x190 fs/super.c:1497 do_new_mount+0x200/0x650 fs/namespace.c:3040 path_mount+0x4b1/0xb60 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x281/0x2d0 fs/namespace.c:3568 __x64_sys_mount+0x63/0x70 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffffea0004d13fd8 of 8 bytes by task 21324 on cpu 0: folio_mapping+0x92/0x120 mm/util.c:773 folio_evictable mm/internal.h:121 [inline] __pagevec_lru_add_fn+0x134/0x520 mm/swap.c:1024 __pagevec_lru_add+0x1c6/0x320 mm/swap.c:1060 folio_add_lru+0x112/0x160 mm/swap.c:467 filemap_add_folio+0xf8/0x150 mm/filemap.c:974 page_cache_ra_unbounded+0x19e/0x2e0 mm/readahead.c:243 do_page_cache_ra mm/readahead.c:291 [inline] force_page_cache_ra+0x1c6/0x200 mm/readahead.c:322 page_cache_sync_ra+0x190/0x1b0 mm/readahead.c:688 page_cache_sync_readahead include/linux/pagemap.h:1185 [inline] filemap_get_pages mm/filemap.c:2592 [inline] filemap_read+0x3e5/0x1400 mm/filemap.c:2679 blkdev_read_iter+0x2c6/0x370 block/fops.c:611 call_read_iter include/linux/fs.h:2044 [inline] new_sync_read fs/read_write.c:401 [inline] vfs_read+0x5a5/0x6a0 fs/read_write.c:482 ksys_read+0xe8/0x1a0 fs/read_write.c:620 __do_sys_read fs/read_write.c:630 [inline] __se_sys_read fs/read_write.c:628 [inline] __x64_sys_read+0x3e/0x50 fs/read_write.c:628 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0xffff888101bb6c00 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 21324 Comm: udevd Not tainted 5.18.0-rc5-syzkaller-00028-ga7391ad35724-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================