loop0: detected capacity change from 0 to 16 erofs: (device loop0): mounted with root inode @ nid 36. erofs: (device loop0): 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_open fs/namei.c:3455 [inline] open_last_lookups fs/namei.c:3546 [inline] path_openat+0x27d3/0x5c70 fs/namei.c:3776 do_filp_open+0x20d/0x590 fs/namei.c:3809 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_compat_sys_open fs/open.c:1506 [inline] __se_compat_sys_open fs/open.c:1504 [inline] __ia32_compat_sys_open+0x26c/0x2c0 fs/open.c:1504 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_open fs/namei.c:3455 [inline] open_last_lookups fs/namei.c:3546 [inline] path_openat+0x27d3/0x5c70 fs/namei.c:3776 do_filp_open+0x20d/0x590 fs/namei.c:3809 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_compat_sys_open fs/open.c:1506 [inline] __se_compat_sys_open fs/open.c:1504 [inline] __ia32_compat_sys_open+0x26c/0x2c0 fs/open.c:1504 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: 6080 Comm: syz-executor.0 Not tainted 6.6.0-syzkaller-12401-g8f6f76a6a29f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 =====================================================