loop0: detected capacity change from 0 to 4096 process 'syz.0.0' launched './file1' with NULL argv: empty string added BUG: unable to handle page fault for address: ffffff8e7c75c7a8 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD e73a067 P4D e73a067 PUD 0 Oops: Oops: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5314 Comm: syz.0.0 Not tainted 6.13.0-rc2-syzkaller-00031-gf92f4749861b #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:crypto_shash_final+0x70/0x90 crypto/shash.c:58 Code: 3c 20 00 74 08 48 89 df e8 ad 1c 7f fd 48 8b 1b 48 83 c3 a8 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 90 1c 7f fd <4c> 8b 1b 4c 89 ff 4c 89 f6 5b 41 5c 41 5e 41 5f 41 ff e3 cc 90 66 RSP: 0018:ffffc9000d4471b8 EFLAGS: 00010246 RAX: 1ffffff1cf8eb8f5 RBX: ffffff8e7c75c7a8 RCX: 0000000000100000 RDX: ffffc9000e67a000 RSI: 000000000000573a RDI: 000000000000573b RBP: ffffc9000d4475d0 R08: ffffffff942a1937 R09: 1ffffffff2854326 R10: dffffc0000000000 R11: fffffbfff2854327 R12: dffffc0000000000 R13: ffffc9000d4472c0 R14: ffffc9000d447694 R15: ffffc9000d4472c0 FS: 00007ff1e926f6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffff8e7c75c7a8 CR3: 0000000052b64000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:498 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:511 [inline] ima_calc_file_hash+0xd8c/0x1b30 security/integrity/ima/ima_crypto.c:568 ima_collect_measurement+0x520/0xb10 security/integrity/ima/ima_api.c:293 process_measurement+0x1351/0x1fb0 security/integrity/ima/ima_main.c:372 ima_bprm_check+0xfd/0x200 security/integrity/ima/ima_main.c:547 security_bprm_check+0xd2/0x250 security/security.c:1296 search_binary_handler fs/exec.c:1736 [inline] exec_binprm fs/exec.c:1790 [inline] bprm_execve+0xa53/0x17a0 fs/exec.c:1842 do_execveat_common+0x55f/0x6f0 fs/exec.c:1949 do_execveat fs/exec.c:2034 [inline] __do_sys_execveat fs/exec.c:2108 [inline] __se_sys_execveat fs/exec.c:2102 [inline] __x64_sys_execveat+0xc4/0xe0 fs/exec.c:2102 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff1e837ff19 Code: ff ff c3 66 2e 0f 1f 84 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 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff1e926f058 EFLAGS: 00000246 ORIG_RAX: 0000000000000142 RAX: ffffffffffffffda RBX: 00007ff1e8545fa0 RCX: 00007ff1e837ff19 RDX: 0000000000000000 RSI: 0000000020000480 RDI: ffffffffffffff9c RBP: 00007ff1e83f3cc8 R08: 0000000000001000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff1e8545fa0 R15: 00007ffe1ed73de8 Modules linked in: CR2: ffffff8e7c75c7a8 ---[ end trace 0000000000000000 ]--- RIP: 0010:crypto_shash_final+0x70/0x90 crypto/shash.c:58 Code: 3c 20 00 74 08 48 89 df e8 ad 1c 7f fd 48 8b 1b 48 83 c3 a8 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 90 1c 7f fd <4c> 8b 1b 4c 89 ff 4c 89 f6 5b 41 5c 41 5e 41 5f 41 ff e3 cc 90 66 RSP: 0018:ffffc9000d4471b8 EFLAGS: 00010246 RAX: 1ffffff1cf8eb8f5 RBX: ffffff8e7c75c7a8 RCX: 0000000000100000 RDX: ffffc9000e67a000 RSI: 000000000000573a RDI: 000000000000573b RBP: ffffc9000d4475d0 R08: ffffffff942a1937 R09: 1ffffffff2854326 R10: dffffc0000000000 R11: fffffbfff2854327 R12: dffffc0000000000 R13: ffffc9000d4472c0 R14: ffffc9000d447694 R15: ffffc9000d4472c0 FS: 00007ff1e926f6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffff8e7c75c7a8 CR3: 0000000052b64000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 3c 20 cmp $0x20,%al 2: 00 74 08 48 add %dh,0x48(%rax,%rcx,1) 6: 89 df mov %ebx,%edi 8: e8 ad 1c 7f fd call 0xfd7f1cba d: 48 8b 1b mov (%rbx),%rbx 10: 48 83 c3 a8 add $0xffffffffffffffa8,%rbx 14: 48 89 d8 mov %rbx,%rax 17: 48 c1 e8 03 shr $0x3,%rax 1b: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 20: 74 08 je 0x2a 22: 48 89 df mov %rbx,%rdi 25: e8 90 1c 7f fd call 0xfd7f1cba * 2a: 4c 8b 1b mov (%rbx),%r11 <-- trapping instruction 2d: 4c 89 ff mov %r15,%rdi 30: 4c 89 f6 mov %r14,%rsi 33: 5b pop %rbx 34: 41 5c pop %r12 36: 41 5e pop %r14 38: 41 5f pop %r15 3a: 41 ff e3 jmp *%r11 3d: cc int3 3e: 90 nop 3f: 66 data16