erofs: (device loop2): z_erofs_lz4_decompress: failed to decompress -29 in[58, 4038] out[3537] ================================================================== BUG: KASAN: vmalloc-out-of-bounds in hex_dump_to_buffer+0x3c0/0xd50 lib/hexdump.c:193 Read of size 1 at addr ffffc90001497000 by task syz.2.1024/8102 CPU: 1 PID: 8102 Comm: syz.2.1024 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 hex_dump_to_buffer+0x3c0/0xd50 lib/hexdump.c:193 print_hex_dump+0x136/0x260 lib/hexdump.c:276 z_erofs_lz4_decompress+0xc7f/0x1180 fs/erofs/decompressor.c:243 z_erofs_decompress_generic fs/erofs/decompressor.c:332 [inline] z_erofs_decompress+0x767/0xde0 fs/erofs/decompressor.c:410 z_erofs_decompress_pcluster fs/erofs/zdata.c:980 [inline] z_erofs_decompress_queue+0x11a6/0x1990 fs/erofs/zdata.c:1058 z_erofs_runqueue+0x1769/0x1890 fs/erofs/zdata.c:1380 z_erofs_readpage+0x2a9/0x6c0 fs/erofs/zdata.c:1398 do_read_cache_page+0x8a1/0x1030 mm/filemap.c:-1 read_mapping_page include/linux/pagemap.h:515 [inline] find_target_block_classic fs/erofs/namei.c:104 [inline] erofs_namei+0x121/0x1750 fs/erofs/namei.c:184 erofs_lookup+0x139/0x330 fs/erofs/namei.c:228 __lookup_slow+0x27d/0x3d0 fs/namei.c:1663 lookup_slow+0x53/0x70 fs/namei.c:1680 walk_component+0x319/0x460 fs/namei.c:1976 link_path_walk+0x662/0xd40 fs/namei.c:-1 path_openat+0x27d/0x2f30 fs/namei.c:3738 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x4a0 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1280 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f8210befbe9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f820ea57038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f8210e16fa0 RCX: 00007f8210befbe9 RDX: 0000000000000000 RSI: 0000200000000380 RDI: ffffffffffffff9c RBP: 00007f8210c72e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8210e17038 R14: 00007f8210e16fa0 R15: 00007ffca64b5428 Memory state around the buggy address: ffffc90001496f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90001496f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc90001497000: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc90001497080: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc90001497100: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==================================================================