loop0: detected capacity change from 0 to 8 cramfs: bad data blocksize 4294967172 cramfs: bad data blocksize 774609784 ===================================================== BUG: KMSAN: uninit-value in ondemand_readahead+0xddf/0x1720 mm/readahead.c:596 ondemand_readahead+0xddf/0x1720 mm/readahead.c:596 page_cache_sync_ra+0x72b/0x760 mm/readahead.c:709 page_cache_sync_readahead include/linux/pagemap.h:1210 [inline] cramfs_blkdev_read fs/cramfs/inode.c:217 [inline] cramfs_read+0x611/0x1280 fs/cramfs/inode.c:278 cramfs_read_folio+0x441/0x1100 fs/cramfs/inode.c:848 read_pages+0xe72/0x1200 mm/readahead.c:181 page_cache_ra_unbounded+0x89e/0x960 mm/readahead.c:270 do_page_cache_ra mm/readahead.c:300 [inline] page_cache_ra_order+0xfef/0x10a0 mm/readahead.c:560 ondemand_readahead+0x1336/0x1720 mm/readahead.c:682 page_cache_sync_ra+0x72b/0x760 mm/readahead.c:709 page_cache_sync_readahead include/linux/pagemap.h:1210 [inline] filemap_get_pages mm/filemap.c:2601 [inline] filemap_read+0xaa7/0x43a0 mm/filemap.c:2695 generic_file_read_iter+0x12c/0xaa0 mm/filemap.c:2841 __kernel_read+0x3c5/0xaa0 fs/read_write.c:428 integrity_kernel_read+0x84/0xb0 security/integrity/iint.c:199 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:485 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline] ima_calc_file_hash+0x18c3/0x3e70 security/integrity/ima/ima_crypto.c:573 ima_collect_measurement+0x58c/0xb30 security/integrity/ima/ima_api.c:292 process_measurement+0x20ac/0x3680 security/integrity/ima/ima_main.c:339 ima_file_check+0xc0/0x120 security/integrity/ima/ima_main.c:519 do_open fs/namei.c:3559 [inline] path_openat+0x4a03/0x5750 fs/namei.c:3714 do_filp_open+0x24d/0x660 fs/namei.c:3741 do_sys_openat2+0x1f0/0x910 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_compat_sys_openat fs/open.c:1386 [inline] __se_compat_sys_openat fs/open.c:1384 [inline] __ia32_compat_sys_openat+0x2ab/0x330 fs/open.c:1384 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Local variable ra.i created at: cramfs_blkdev_read fs/cramfs/inode.c:186 [inline] cramfs_read+0xc0/0x1280 fs/cramfs/inode.c:278 cramfs_read_folio+0x441/0x1100 fs/cramfs/inode.c:848 CPU: 0 PID: 5242 Comm: syz-executor.0 Not tainted 6.2.0-syzkaller-81157-g944070199c5e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 =====================================================