loop2: detected capacity change from 0 to 264192 ================================================================== BUG: KCSAN: data-race in xas_create / xas_find write to 0xffff888100453001 of 1 bytes by task 1360 on cpu 0: xas_expand lib/xarray.c:611 [inline] xas_create+0x699/0xb30 lib/xarray.c:652 xas_store+0x70/0xc90 lib/xarray.c:784 __add_to_page_cache_locked+0x200/0x520 mm/filemap.c:881 add_to_page_cache_lru+0xa0/0x1b0 mm/filemap.c:940 page_cache_ra_unbounded+0x272/0x400 mm/readahead.c:222 do_page_cache_ra mm/readahead.c:267 [inline] force_page_cache_ra+0x236/0x270 mm/readahead.c:298 page_cache_sync_ra+0xb5/0xd0 mm/readahead.c:572 page_cache_sync_readahead include/linux/pagemap.h:840 [inline] filemap_get_pages mm/filemap.c:2375 [inline] filemap_read+0x380/0x1210 mm/filemap.c:2458 generic_file_read_iter+0x84/0x3e0 mm/filemap.c:2609 blkdev_read_iter+0xb3/0xc0 fs/block_dev.c:1727 call_read_iter include/linux/fs.h:1971 [inline] new_sync_read fs/read_write.c:415 [inline] vfs_read+0x565/0x5d0 fs/read_write.c:496 ksys_read+0xce/0x180 fs/read_write.c:634 __do_sys_read fs/read_write.c:644 [inline] __se_sys_read fs/read_write.c:642 [inline] __x64_sys_read+0x3e/0x50 fs/read_write.c:642 do_syscall_64+0x34/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888100453001 of 1 bytes by task 2336 on cpu 1: xas_find+0x2d9/0x3c0 lib/xarray.c:1257 find_get_entry mm/filemap.c:1835 [inline] find_lock_entries+0x90/0x520 mm/filemap.c:1949 truncate_inode_pages_range+0x12b/0xac0 mm/truncate.c:324 truncate_inode_pages+0x20/0x30 mm/truncate.c:428 kill_bdev fs/block_dev.c:86 [inline] set_blocksize+0x286/0x2a0 fs/block_dev.c:166 sb_set_blocksize+0x2c/0xa0 fs/block_dev.c:175 isofs_fill_super+0x10d7/0x1940 fs/isofs/inode.c:861 mount_bdev+0x1e8/0x290 fs/super.c:1367 isofs_mount+0x2d/0x40 fs/isofs/inode.c:1566 legacy_get_tree+0x70/0xc0 fs/fs_context.c:592 vfs_get_tree+0x4a/0x1a0 fs/super.c:1497 do_new_mount fs/namespace.c:2903 [inline] path_mount+0x11d6/0x1ce0 fs/namespace.c:3233 do_mount fs/namespace.c:3246 [inline] __do_sys_mount fs/namespace.c:3454 [inline] __se_sys_mount+0x23d/0x2e0 fs/namespace.c:3431 __x64_sys_mount+0x63/0x70 fs/namespace.c:3431 do_syscall_64+0x34/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 2336 Comm: syz-executor.2 Not tainted 5.12.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================