loop4: detected capacity change from 0 to 264192 ================================================================== BUG: KCSAN: data-race in xas_create / xas_find write to 0xffff8881479b4001 of 1 bytes by task 29363 on cpu 0: xas_expand lib/xarray.c:611 [inline] xas_create+0x679/0xb10 lib/xarray.c:652 xas_store+0x70/0xca0 lib/xarray.c:784 __filemap_add_folio+0x1e8/0x4d0 mm/filemap.c:942 filemap_add_folio+0x6b/0x150 mm/filemap.c:999 add_to_page_cache_lru+0x4e/0x70 mm/folio-compat.c:115 page_cache_ra_unbounded+0x274/0x430 mm/readahead.c:221 do_page_cache_ra mm/readahead.c:268 [inline] force_page_cache_ra+0x1e6/0x220 mm/readahead.c:300 page_cache_sync_ra+0xcc/0xe0 mm/readahead.c:574 page_cache_sync_readahead include/linux/pagemap.h:1013 [inline] filemap_get_pages mm/filemap.c:2556 [inline] filemap_read+0x3eb/0x16d0 mm/filemap.c:2642 generic_file_read_iter+0x72/0x2a0 mm/filemap.c:2792 blkdev_read_iter+0x96/0x140 block/fops.c:583 call_read_iter include/linux/fs.h:2156 [inline] new_sync_read fs/read_write.c:400 [inline] vfs_read+0x66c/0x750 fs/read_write.c:481 ksys_read+0xd9/0x190 fs/read_write.c:619 __do_sys_read fs/read_write.c:629 [inline] __se_sys_read fs/read_write.c:627 [inline] __x64_sys_read+0x3e/0x50 fs/read_write.c:627 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 0xffff8881479b4001 of 1 bytes by task 15669 on cpu 1: xas_find+0x2d9/0x3c0 lib/xarray.c:1257 find_get_entry mm/filemap.c:1989 [inline] find_lock_entries+0xa0/0x4f0 mm/filemap.c:2103 truncate_inode_pages_range+0x12b/0xa00 mm/truncate.c:330 truncate_inode_pages+0x20/0x30 mm/truncate.c:435 kill_bdev block/bdev.c:78 [inline] set_blocksize+0x24e/0x270 block/bdev.c:158 sb_set_blocksize+0x2c/0xa0 block/bdev.c:167 ext4_fill_super+0x2287/0x78f0 fs/ext4/super.c:4333 mount_bdev+0x1e8/0x290 fs/super.c:1370 ext4_mount+0x2d/0x40 fs/ext4/super.c:6523 legacy_get_tree+0x70/0xc0 fs/fs_context.c:610 vfs_get_tree+0x4a/0x1a0 fs/super.c:1500 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x11cf/0x1c40 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount+0x24b/0x2f0 fs/namespace.c:3516 __x64_sys_mount+0x63/0x70 fs/namespace.c:3516 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 value changed: 0x0c -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 15669 Comm: syz-executor.4 Tainted: G W 5.16.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== EXT4-fs (loop4): warning: mounting unchecked fs, running e2fsck is recommended [EXT4 FS bs=2048, gc=1, bpg=16384, ipg=32, mo=e000c018, mo2=0002] System zones: 0-2, 18-18, 34-35 EXT4-fs error (device loop4): ext4_orphan_get:1419: comm syz-executor.4: bad orphan inode 2476985514 EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue. Quota mode: none.