loop2: rw=0, want=32, limit=16 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+0x36c/0xda4 lib/hexdump.c:193 Read of size 1 at addr ffff80001b3cf000 by task syz.2.48/4425 CPU: 0 PID: 4425 Comm: syz.2.48 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Call trace: dump_backtrace+0x0/0x43c arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf8/0x160 lib/dump_stack.c:106 print_address_description+0x78/0x30c mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xec/0x15c mm/kasan/report.c:451 __asan_report_load1_noabort+0x44/0x50 mm/kasan/report_generic.c:306 hex_dump_to_buffer+0x36c/0xda4 lib/hexdump.c:193 print_hex_dump+0x11c/0x230 lib/hexdump.c:276 z_erofs_lz4_decompress+0xa40/0xe90 fs/erofs/decompressor.c:243 z_erofs_decompress_generic fs/erofs/decompressor.c:332 [inline] z_erofs_decompress+0x820/0xe78 fs/erofs/decompressor.c:410 z_erofs_decompress_pcluster fs/erofs/zdata.c:980 [inline] z_erofs_decompress_queue+0x1038/0x1994 fs/erofs/zdata.c:1058 z_erofs_runqueue+0x1110/0x12fc fs/erofs/zdata.c:1370 z_erofs_readpage+0x27c/0x4e8 fs/erofs/zdata.c:1398 do_read_cache_page+0x5f4/0x8f8 mm/filemap.c:-1 read_cache_page+0x68/0x88 mm/filemap.c:3574 read_mapping_page include/linux/pagemap.h:515 [inline] find_target_block_classic fs/erofs/namei.c:104 [inline] erofs_namei+0x16c/0xc20 fs/erofs/namei.c:184 erofs_lookup+0x13c/0x3e0 fs/erofs/namei.c:228 lookup_open fs/namei.c:3440 [inline] open_last_lookups fs/namei.c:3532 [inline] path_openat+0xfbc/0x26e4 fs/namei.c:3739 do_filp_open+0x164/0x330 fs/namei.c:3769 do_open_execat+0x124/0x5fc fs/exec.c:918 bprm_execve+0x468/0x1508 fs/exec.c:1827 do_execveat_common+0x648/0x7dc fs/exec.c:1957 do_execveat fs/exec.c:2038 [inline] __do_sys_execveat fs/exec.c:2112 [inline] __se_sys_execveat fs/exec.c:2106 [inline] __arm64_sys_execveat+0xd0/0xec fs/exec.c:2106 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Memory state around the buggy address: ffff80001b3cef00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff80001b3cef80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff80001b3cf000: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffff80001b3cf080: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffff80001b3cf100: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ================================================================== Unable to handle kernel paging request at virtual address ffff80001b3cf000 Mem abort info: ESR = 0x0000000096000007 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x07: level 3 translation fault Data abort info: ISV = 0, ISS = 0x00000007 CM = 0, WnR = 0 swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000002113bb000 [ffff80001b3cf000] pgd=100000023ffff003, p4d=100000023ffff003, pud=100000023fffe003, pmd=100000023fff8003, pte=0000000000000000 Internal error: Oops: 0000000096000007 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 4425 Comm: syz.2.48 Tainted: G B 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : hex_dump_to_buffer+0x250/0xda4 lib/hexdump.c:193 lr : hex_dump_to_buffer+0x36c/0xda4 lib/hexdump.c:193 sp : ffff80001faf6640 x29: ffff80001faf6680 x28: 0000000000000023 x27: 000000000000000c x26: 0000000000000010 x25: ffff80001faf6740 x24: 0000000000000021 x23: 000000000000000b x22: 0000000000000021 x21: 0000000000000010 x20: dfff800000000000 x19: ffff80001b3cf000 x18: 0000000000000005 x17: 0000000000000002 x16: ffff8000082d6448 x15: 00000000ffffffff x14: 0000000000ff0100 x13: 0000000000000001 x12: 0000000000080000 x11: 000000000007ffff x10: ffff800025d39000 x9 : 0000000000000000 x8 : ffff0000d559d1c0 x7 : 0000000000000000 x6 : 0000000000000001 x5 : ffff80001faf5e58 x4 : 0000000000000000 x3 : ffff800008185e38 x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000001 Call trace: hex_dump_to_buffer+0x250/0xda4 lib/hexdump.c:193 print_hex_dump+0x11c/0x230 lib/hexdump.c:276 z_erofs_lz4_decompress+0xa40/0xe90 fs/erofs/decompressor.c:243 z_erofs_decompress_generic fs/erofs/decompressor.c:332 [inline] z_erofs_decompress+0x820/0xe78 fs/erofs/decompressor.c:410 z_erofs_decompress_pcluster fs/erofs/zdata.c:980 [inline] z_erofs_decompress_queue+0x1038/0x1994 fs/erofs/zdata.c:1058 z_erofs_runqueue+0x1110/0x12fc fs/erofs/zdata.c:1370 z_erofs_readpage+0x27c/0x4e8 fs/erofs/zdata.c:1398 do_read_cache_page+0x5f4/0x8f8 mm/filemap.c:-1 read_cache_page+0x68/0x88 mm/filemap.c:3574 read_mapping_page include/linux/pagemap.h:515 [inline] find_target_block_classic fs/erofs/namei.c:104 [inline] erofs_namei+0x16c/0xc20 fs/erofs/namei.c:184 erofs_lookup+0x13c/0x3e0 fs/erofs/namei.c:228 lookup_open fs/namei.c:3440 [inline] open_last_lookups fs/namei.c:3532 [inline] path_openat+0xfbc/0x26e4 fs/namei.c:3739 do_filp_open+0x164/0x330 fs/namei.c:3769 do_open_execat+0x124/0x5fc fs/exec.c:918 bprm_execve+0x468/0x1508 fs/exec.c:1827 do_execveat_common+0x648/0x7dc fs/exec.c:1957 do_execveat fs/exec.c:2038 [inline] __do_sys_execveat fs/exec.c:2112 [inline] __se_sys_execveat fs/exec.c:2106 [inline] __arm64_sys_execveat+0xd0/0xec fs/exec.c:2106 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: 8b170113 d343fe68 38f46908 35000868 (3940027a) ---[ end trace 28bdfdd69e5cd8f0 ]--- ---------------- Code disassembly (best guess): 0: 8b170113 add x19, x8, x23 4: d343fe68 lsr x8, x19, #3 8: 38f46908 ldrsb w8, [x8, x20] c: 35000868 cbnz w8, 0x118 * 10: 3940027a ldrb w26, [x19] <-- trapping instruction