======================================================= loop0: unable to read partition table loop0: partition table beyond EOD, truncated SQUASHFS error: Failed to read block 0x6fc: -5 SQUASHFS error: Unable to read metadata cache entry [6fa] SQUASHFS error: Unable to read metadata cache entry [6fa] SQUASHFS error: Unable to read metadata cache entry [6fa] SQUASHFS error: Unable to read metadata cache entry [6fa] general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 1 PID: 3277 Comm: syz-executor.0 Not tainted 5.19.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:squashfs_page_actor_init_special+0x11b/0x330 fs/squashfs/page_actor.c:129 Code: 00 00 00 00 49 8d 6d 40 48 89 e8 48 c1 e8 03 42 0f b6 04 30 84 c0 0f 85 ae 01 00 00 c7 45 00 00 00 00 00 4c 89 f8 48 c1 e8 03 <42> 80 3c 30 00 74 08 4c 89 ff e8 36 b2 95 ff 49 8b 2f 48 83 c5 20 RSP: 0018:ffffc90001e3e6c0 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000000 RCX: ffff88807dd90000 RDX: ffff88807dd90000 RSI: 0000000000000000 RDI: ffff8880187702b8 RBP: ffff8880187702c0 R08: ffffffff82085618 R09: fffffbfff10bcba7 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff888018770280 R14: dffffc0000000000 R15: 0000000000000010 FS: 00007f2940e7e6c0(0000) GS:ffff8880ba900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff5e1a4d98 CR3: 000000006764e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: squashfs_readpage_block+0xbb1/0x19b0 fs/squashfs/file_direct.c:88 squashfs_read_folio+0x25f8/0x3510 fs/squashfs/file.c:477 filemap_read_folio+0xcc/0x560 mm/filemap.c:2422 filemap_create_folio mm/filemap.c:2547 [inline] filemap_get_pages mm/filemap.c:2599 [inline] filemap_read+0x10bd/0x2e40 mm/filemap.c:2679 __kernel_read+0x605/0xaa0 fs/read_write.c:440 integrity_kernel_read+0xb0/0xf0 security/integrity/iint.c:199 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:484 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:515 [inline] ima_calc_file_hash+0x18e3/0x1fd0 security/integrity/ima/ima_crypto.c:572 ima_collect_measurement+0x34d/0x660 security/integrity/ima/ima_api.c:292 process_measurement+0xeef/0x1ab0 security/integrity/ima/ima_main.c:337 ima_file_check+0xec/0x170 security/integrity/ima/ima_main.c:517 do_open fs/namei.c:3522 [inline] path_openat+0x270e/0x2ee0 fs/namei.c:3653 do_filp_open+0x220/0x460 fs/namei.c:3680 do_sys_openat2+0x13f/0x500 fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_open fs/open.c:1302 [inline] __se_sys_open fs/open.c:1298 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1298 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f294007cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2940e7e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f294019bf80 RCX: 00007f294007cae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 00007f29400c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f294019bf80 R15: 00007ffea830c308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:squashfs_page_actor_init_special+0x11b/0x330 fs/squashfs/page_actor.c:129 Code: 00 00 00 00 49 8d 6d 40 48 89 e8 48 c1 e8 03 42 0f b6 04 30 84 c0 0f 85 ae 01 00 00 c7 45 00 00 00 00 00 4c 89 f8 48 c1 e8 03 <42> 80 3c 30 00 74 08 4c 89 ff e8 36 b2 95 ff 49 8b 2f 48 83 c5 20 RSP: 0018:ffffc90001e3e6c0 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000000 RCX: ffff88807dd90000 RDX: ffff88807dd90000 RSI: 0000000000000000 RDI: ffff8880187702b8 RBP: ffff8880187702c0 R08: ffffffff82085618 R09: fffffbfff10bcba7 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff888018770280 R14: dffffc0000000000 R15: 0000000000000010 FS: 00007f2940e7e6c0(0000) GS:ffff8880ba900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff5e1a4d98 CR3: 000000006764e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: 49 8d 6d 40 lea 0x40(%r13),%rbp 8: 48 89 e8 mov %rbp,%rax b: 48 c1 e8 03 shr $0x3,%rax f: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax 14: 84 c0 test %al,%al 16: 0f 85 ae 01 00 00 jne 0x1ca 1c: c7 45 00 00 00 00 00 movl $0x0,0x0(%rbp) 23: 4c 89 f8 mov %r15,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ff mov %r15,%rdi 34: e8 36 b2 95 ff call 0xff95b26f 39: 49 8b 2f mov (%r15),%rbp 3c: 48 83 c5 20 add $0x20,%rbp