erofs: (device loop3): z_erofs_lz4_decompress_mem: failed to decompress -35 in[38, 4058] out[9000] ===================================================== BUG: KMSAN: uninit-value in hex_dump_to_buffer+0xb72/0x1140 lib/hexdump.c:194 hex_dump_to_buffer+0xb72/0x1140 lib/hexdump.c:194 print_hex_dump+0x14a/0x400 lib/hexdump.c:276 z_erofs_lz4_decompress_mem fs/erofs/decompressor.c:253 [inline] z_erofs_lz4_decompress+0x1d98/0x2760 fs/erofs/decompressor.c:312 z_erofs_decompress+0x5d/0x70 fs/erofs/decompressor.c:381 z_erofs_decompress_pcluster+0x302d/0x3580 fs/erofs/zdata.c:1018 z_erofs_decompress_queue fs/erofs/zdata.c:1105 [inline] z_erofs_decompressqueue_work+0x223/0x370 fs/erofs/zdata.c:1117 process_one_work+0xb27/0x13e0 kernel/workqueue.c:2289 worker_thread+0x1076/0x1d60 kernel/workqueue.c:2436 kthread+0x31b/0x430 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Uninit was created at: __alloc_pages+0x9f1/0xe80 mm/page_alloc.c:5556 alloc_pages+0xaae/0xd80 mm/mempolicy.c:2270 folio_alloc+0x3e/0x120 mm/mempolicy.c:2280 filemap_alloc_folio+0xa0/0x250 mm/filemap.c:970 page_cache_ra_unbounded+0x2ba/0x880 mm/readahead.c:242 do_page_cache_ra mm/readahead.c:293 [inline] page_cache_ra_order+0xf50/0x1000 mm/readahead.c:550 ondemand_readahead+0x10f3/0x1930 mm/readahead.c:672 page_cache_sync_ra+0x733/0x770 mm/readahead.c:699 page_cache_sync_readahead include/linux/pagemap.h:1215 [inline] filemap_get_pages mm/filemap.c:2566 [inline] filemap_read+0xa07/0x3f80 mm/filemap.c:2660 generic_file_read_iter+0x128/0xaa0 mm/filemap.c:2806 __kernel_read+0x3c1/0xaa0 fs/read_write.c:428 integrity_kernel_read+0x80/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+0x18b6/0x3e30 security/integrity/ima/ima_crypto.c:573 ima_collect_measurement+0x42f/0xb50 security/integrity/ima/ima_api.c:292 process_measurement+0x208a/0x3680 security/integrity/ima/ima_main.c:337 ima_file_check+0xbc/0x120 security/integrity/ima/ima_main.c:517 do_open fs/namei.c:3559 [inline] path_openat+0x497c/0x5600 fs/namei.c:3691 do_filp_open+0x249/0x660 fs/namei.c:3718 do_sys_openat2+0x1f0/0x910 fs/open.c:1313 do_sys_open fs/open.c:1329 [inline] __do_compat_sys_open fs/open.c:1380 [inline] __se_compat_sys_open fs/open.c:1378 [inline] __ia32_compat_sys_open+0x275/0x2e0 fs/open.c:1378 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+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 CPU: 0 PID: 3528 Comm: kworker/u5:3 Not tainted 6.0.0-rc5-syzkaller-48543-g968c2729e576 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Workqueue: erofs_unzipd z_erofs_decompressqueue_work =====================================================