erofs: (device loop2): z_erofs_lz4_decompress_mem: failed to decompress -34 in[48, 4048] out[9000] ===================================================== BUG: KMSAN: uninit-value in hex_dump_to_buffer+0x10d7/0x1980 lib/hexdump.c:194 hex_dump_to_buffer+0x10d7/0x1980 lib/hexdump.c:194 print_hex_dump+0x355/0x710 lib/hexdump.c:276 z_erofs_lz4_decompress_mem fs/erofs/decompressor.c:253 [inline] z_erofs_lz4_decompress+0x2f5e/0x34f0 fs/erofs/decompressor.c:312 z_erofs_decompress+0xad/0xd0 fs/erofs/decompressor.c:390 z_erofs_decompress_pcluster fs/erofs/zdata.c:1054 [inline] z_erofs_decompress_queue+0x3287/0x6200 fs/erofs/zdata.c:1141 z_erofs_decompressqueue_work+0x8c/0xd0 fs/erofs/zdata.c:1153 process_one_work+0xe73/0x18d0 kernel/workqueue.c:2289 worker_thread+0x10fc/0x2230 kernel/workqueue.c:2436 kthread+0x3c7/0x500 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Uninit was created at: __alloc_pages+0x926/0x10a0 mm/page_alloc.c:5572 alloc_pages+0xb4b/0xec0 folio_alloc+0x7f/0x180 mm/mempolicy.c:2297 filemap_alloc_folio+0xf0/0x510 mm/filemap.c:972 page_cache_ra_unbounded+0x38e/0xae0 mm/readahead.c:248 do_page_cache_ra mm/readahead.c:300 [inline] page_cache_ra_order+0x12d4/0x13b0 mm/readahead.c:560 ondemand_readahead+0x1376/0x1a10 mm/readahead.c:682 page_cache_sync_ra+0x899/0x8d0 mm/readahead.c:709 page_cache_sync_readahead include/linux/pagemap.h:1210 [inline] filemap_get_pages mm/filemap.c:2600 [inline] filemap_read+0xb48/0x45f0 mm/filemap.c:2694 generic_file_read_iter+0x198/0xb90 mm/filemap.c:2840 __kernel_read+0x56e/0xdb0 fs/read_write.c:428 integrity_kernel_read+0xfc/0x140 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+0x10d0/0x4000 security/integrity/ima/ima_crypto.c:573 ima_collect_measurement+0x677/0xe90 security/integrity/ima/ima_api.c:292 process_measurement+0x24d7/0x3930 security/integrity/ima/ima_main.c:339 ima_file_check+0x126/0x170 security/integrity/ima/ima_main.c:519 do_open fs/namei.c:3559 [inline] path_openat+0x4ec8/0x5bc0 fs/namei.c:3714 do_filp_open+0x309/0x760 fs/namei.c:3741 do_sys_openat2+0x257/0x8e0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_compat_sys_open fs/open.c:1377 [inline] __se_compat_sys_open fs/open.c:1375 [inline] __ia32_compat_sys_open+0x301/0x360 fs/open.c:1375 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 CPU: 1 PID: 5072 Comm: kworker/u5:4 Not tainted 6.2.0-rc8-syzkaller-80998-g9c866a280876 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Workqueue: erofs_unzipd z_erofs_decompressqueue_work =====================================================