erofs: (device loop1): 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 ffffc900012fd000 by task syz.1.79/4578 CPU: 1 PID: 4578 Comm: syz.1.79 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/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_open fs/namei.c:3448 [inline] open_last_lookups fs/namei.c:3540 [inline] path_openat+0x1003/0x2f30 fs/namei.c:3747 do_filp_open+0x1b3/0x3e0 fs/namei.c:3777 file_open_name fs/open.c:1198 [inline] filp_open+0x173/0x1d0 fs/open.c:1218 do_coredump+0x1af4/0x2960 fs/coredump.c:835 get_signal+0x40a/0x12c0 kernel/signal.c:2886 arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:320 exc_page_fault+0x88/0x100 arch/x86/mm/fault.c:1504 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606 RIP: 0033:0x7fac68474fd1 Code: 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 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f RSP: 002b:fffffffffffffe70 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007fac686cc090 RCX: 00007fac68474fc9 RDX: 0000000000000000 RSI: fffffffffffffe70 RDI: 0000000000008000 RBP: 00007fac684f7f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 00007fac686cc128 R14: 00007fac686cc090 R15: 00007ffc7a9807b8 Memory state around the buggy address: ffffc900012fcf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc900012fcf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc900012fd000: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc900012fd080: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc900012fd100: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==================================================================