loop4: detected capacity change from 0 to 2048 ================================================================== BUG: KCSAN: data-race in xas_create / xas_find write to 0xffff888140e5b919 of 1 bytes by task 21827 on cpu 0: xas_expand lib/xarray.c:612 [inline] xas_create+0x656/0xbb0 lib/xarray.c:653 xas_store+0x78/0xc90 lib/xarray.c:787 __filemap_add_folio+0x45e/0x730 mm/filemap.c:898 filemap_add_folio+0x70/0x160 mm/filemap.c:937 page_cache_ra_unbounded+0x15e/0x2e0 mm/readahead.c:250 do_page_cache_ra mm/readahead.c:299 [inline] force_page_cache_ra mm/readahead.c:330 [inline] page_cache_sync_ra+0x24b/0x2a0 mm/readahead.c:691 page_cache_sync_readahead include/linux/pagemap.h:1283 [inline] filemap_get_pages+0x251/0xf90 mm/filemap.c:2497 filemap_read+0x214/0x680 mm/filemap.c:2593 blkdev_read_iter+0x217/0x2c0 block/fops.c:742 call_read_iter include/linux/fs.h:2014 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x3c0/0x590 fs/read_write.c:470 ksys_read+0xeb/0x1a0 fs/read_write.c:613 __do_sys_read fs/read_write.c:623 [inline] __se_sys_read fs/read_write.c:621 [inline] __x64_sys_read+0x42/0x50 fs/read_write.c:621 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff888140e5b919 of 1 bytes by task 15693 on cpu 1: xas_find+0x372/0x3f0 lib/xarray.c:1262 find_get_entry mm/filemap.c:1958 [inline] find_lock_entries+0xb1/0x680 mm/filemap.c:2059 truncate_inode_pages_range+0x130/0x6a0 mm/truncate.c:363 truncate_inode_pages+0x24/0x30 mm/truncate.c:448 kill_bdev block/bdev.c:76 [inline] set_blocksize+0x26c/0x290 block/bdev.c:152 sb_set_blocksize+0x2d/0xb0 block/bdev.c:161 fat_fill_super+0x15d6/0x28e0 fs/fat/inode.c:1685 msdos_fill_super+0x2d/0x40 fs/fat/namei_msdos.c:655 mount_bdev+0x185/0x1f0 fs/super.c:1650 msdos_mount+0x31/0x40 fs/fat/namei_msdos.c:662 legacy_get_tree+0x74/0xd0 fs/fs_context.c:662 vfs_get_tree+0x51/0x1b0 fs/super.c:1771 do_new_mount+0x203/0x660 fs/namespace.c:3337 path_mount+0x496/0xb30 fs/namespace.c:3664 do_mount fs/namespace.c:3677 [inline] __do_sys_mount fs/namespace.c:3886 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3863 __x64_sys_mount+0x67/0x80 fs/namespace.c:3863 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b value changed: 0x18 -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 15693 Comm: syz-executor.4 Not tainted 6.7.0-rc7-syzkaller-00049-g453f5db0619e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ================================================================== msdos filesystem being mounted at /root/syzkaller-testdir2553321465/syzkaller.8JeL27/1479/file0 supports timestamps until 2107-12-31 (0x10391447e)