erofs: (device loop2): z_erofs_lz4_decompress_mem: failed to decompress -32 in[46, 4050] out[9000] ===================================================== BUG: KMSAN: uninit-value in hex_dump_to_buffer+0xae9/0x10f0 lib/hexdump.c:194 hex_dump_to_buffer+0xae9/0x10f0 lib/hexdump.c:194 print_hex_dump+0x14e/0x400 lib/hexdump.c:276 z_erofs_lz4_decompress_mem fs/erofs/decompressor.c:253 [inline] z_erofs_lz4_decompress+0x2b85/0x30b0 fs/erofs/decompressor.c:312 z_erofs_decompress+0x61/0x80 fs/erofs/decompressor.c:390 z_erofs_decompress_pcluster fs/erofs/zdata.c:1334 [inline] z_erofs_decompress_queue+0x3210/0x61e0 fs/erofs/zdata.c:1421 z_erofs_decompressqueue_work+0x67/0xa0 fs/erofs/zdata.c:1433 process_one_work+0xb0d/0x1410 kernel/workqueue.c:2390 worker_thread+0x107e/0x1d60 kernel/workqueue.c:2537 kthread+0x31f/0x430 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Uninit was created at: __alloc_pages+0x9f6/0xe90 mm/page_alloc.c:5614 alloc_pages+0xab0/0xd80 mm/mempolicy.c:2283 folio_alloc+0x42/0x120 mm/mempolicy.c:2293 filemap_alloc_folio+0xb2/0x460 mm/filemap.c:976 page_cache_ra_unbounded+0x2cc/0x960 mm/readahead.c:248 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:1214 [inline] filemap_get_pages+0x4ca/0x2bc0 mm/filemap.c:2598 filemap_read+0x640/0x1710 mm/filemap.c:2693 generic_file_read_iter+0x12c/0xaa0 mm/filemap.c:2840 __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+0x2b3/0xa30 security/integrity/ima/ima_api.c:293 process_measurement+0x20e2/0x36f0 security/integrity/ima/ima_main.c:341 ima_file_check+0xc0/0x120 security/integrity/ima/ima_main.c:539 do_open fs/namei.c:3562 [inline] path_openat+0x4d4c/0x5b40 fs/namei.c:3715 do_filp_open+0x24d/0x660 fs/namei.c:3742 do_sys_openat2+0x1f0/0x910 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_compat_sys_open fs/open.c:1415 [inline] __se_compat_sys_open fs/open.c:1413 [inline] __ia32_compat_sys_open+0x279/0x2f0 fs/open.c:1413 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: 5070 Comm: kworker/u5:4 Not tainted 6.3.0-rc3-syzkaller-g90ea0df61c98 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: erofs_worker z_erofs_decompressqueue_work =====================================================