loop1: detected capacity change from 0 to 16 erofs: (device loop1): mounted with root inode @ nid 36. erofs: (device loop1): z_erofs_lz4_decompress_mem: failed to decompress -2 in[1, 1264] out[4096] ===================================================== 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+0x13d/0x3e0 lib/hexdump.c:276 z_erofs_lz4_decompress_mem fs/erofs/decompressor.c:252 [inline] z_erofs_lz4_decompress+0x257e/0x2a70 fs/erofs/decompressor.c:311 z_erofs_decompress_pcluster fs/erofs/zdata.c:1290 [inline] z_erofs_decompress_queue+0x338c/0x6460 fs/erofs/zdata.c:1372 z_erofs_runqueue+0x367a/0x3830 fs/erofs/zdata.c:1758 z_erofs_read_folio+0x435/0x810 fs/erofs/zdata.c:1843 filemap_read_folio+0xce/0x370 mm/filemap.c:2323 do_read_cache_folio+0x3b4/0x11e0 mm/filemap.c:3691 read_cache_folio+0x60/0x80 mm/filemap.c:3723 erofs_bread+0x286/0x6f0 fs/erofs/data.c:46 erofs_find_target_block fs/erofs/namei.c:103 [inline] erofs_namei+0x2fe/0x1790 fs/erofs/namei.c:177 erofs_lookup+0x100/0x3c0 fs/erofs/namei.c:206 __lookup_slow+0x512/0x6f0 fs/namei.c:1694 lookup_slow+0x6a/0xc0 fs/namei.c:1711 walk_component+0x462/0x650 fs/namei.c:2002 lookup_last fs/namei.c:2459 [inline] path_lookupat+0x27d/0x6f0 fs/namei.c:2483 filename_lookup+0x22e/0x740 fs/namei.c:2512 user_path_at_empty+0x87/0x3b0 fs/namei.c:2911 user_path_at include/linux/namei.h:57 [inline] __do_sys_chdir fs/open.c:551 [inline] __se_sys_chdir+0x5e/0x2e0 fs/open.c:545 __ia32_sys_chdir+0x47/0x60 fs/open.c:545 do_syscall_32_irqs_on arch/x86/entry/common.c:164 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:230 do_fast_syscall_32+0x37/0x70 arch/x86/entry/common.c:255 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:293 entry_SYSENTER_compat_after_hwframe+0x70/0x7a Uninit was created at: __alloc_pages+0x9a4/0xe00 mm/page_alloc.c:4591 alloc_pages_mpol+0x62b/0x9d0 mm/mempolicy.c:2133 alloc_pages mm/mempolicy.c:2204 [inline] folio_alloc+0x1da/0x380 mm/mempolicy.c:2211 filemap_alloc_folio+0xa5/0x430 mm/filemap.c:974 do_read_cache_folio+0x163/0x11e0 mm/filemap.c:3655 read_cache_folio+0x60/0x80 mm/filemap.c:3723 erofs_bread+0x286/0x6f0 fs/erofs/data.c:46 erofs_find_target_block fs/erofs/namei.c:103 [inline] erofs_namei+0x2fe/0x1790 fs/erofs/namei.c:177 erofs_lookup+0x100/0x3c0 fs/erofs/namei.c:206 __lookup_slow+0x512/0x6f0 fs/namei.c:1694 lookup_slow+0x6a/0xc0 fs/namei.c:1711 walk_component+0x462/0x650 fs/namei.c:2002 lookup_last fs/namei.c:2459 [inline] path_lookupat+0x27d/0x6f0 fs/namei.c:2483 filename_lookup+0x22e/0x740 fs/namei.c:2512 user_path_at_empty+0x87/0x3b0 fs/namei.c:2911 user_path_at include/linux/namei.h:57 [inline] __do_sys_chdir fs/open.c:551 [inline] __se_sys_chdir+0x5e/0x2e0 fs/open.c:545 __ia32_sys_chdir+0x47/0x60 fs/open.c:545 do_syscall_32_irqs_on arch/x86/entry/common.c:164 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:230 do_fast_syscall_32+0x37/0x70 arch/x86/entry/common.c:255 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:293 entry_SYSENTER_compat_after_hwframe+0x70/0x7a CPU: 1 PID: 5335 Comm: syz-executor.1 Not tainted 6.6.0-syzkaller-14263-gaea6bf908d73 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 =====================================================