general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 4423 Comm: syz.0.15 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:ima_post_path_mknod+0x6e/0x160 security/integrity/ima/ima_main.c:676 Code: 0f b6 04 38 84 c0 0f 85 c5 00 00 00 8b 2d 3a 2d d0 12 31 ff 89 ee e8 61 d3 af fd 85 ed 0f 84 8d 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 c0 00 00 00 0f b7 2b 81 e5 00 f0 00 00 RSP: 0018:ffffc90002e67dd8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff96a0b703 RDX: ffff888074628000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff83d08a6f R09: ffffed100efe48fb R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90002e67e80 R13: dffffc0000000000 R14: ffffffff8c7cd520 R15: dffffc0000000000 FS: 00007fdef12e96c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdef12e8f98 CR3: 0000000020c21000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_mknodat+0x41d/0x690 fs/namei.c:3997 __do_sys_mknod fs/namei.c:4027 [inline] __se_sys_mknod fs/namei.c:4025 [inline] __x64_sys_mknod+0x8a/0xa0 fs/namei.c:4025 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fdef2089ff9 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:00007fdef12e9038 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 RAX: ffffffffffffffda RBX: 00007fdef2242058 RCX: 00007fdef2089ff9 RDX: 0000000000000701 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007fdef20fc296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdef2242058 R15: 00007ffe3790b188 Modules linked in: ---[ end trace 64d4502c1db667b3 ]--- RIP: 0010:ima_post_path_mknod+0x6e/0x160 security/integrity/ima/ima_main.c:676 Code: 0f b6 04 38 84 c0 0f 85 c5 00 00 00 8b 2d 3a 2d d0 12 31 ff 89 ee e8 61 d3 af fd 85 ed 0f 84 8d 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 c0 00 00 00 0f b7 2b 81 e5 00 f0 00 00 RSP: 0018:ffffc90002e67dd8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff96a0b703 RDX: ffff888074628000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff83d08a6f R09: ffffed100efe48fb R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90002e67e80 R13: dffffc0000000000 R14: ffffffff8c7cd520 R15: dffffc0000000000 FS: 00007fdef12e96c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200d2000 CR3: 0000000020c21000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 0f b6 04 38 movzbl (%rax,%rdi,1),%eax 4: 84 c0 test %al,%al 6: 0f 85 c5 00 00 00 jne 0xd1 c: 8b 2d 3a 2d d0 12 mov 0x12d02d3a(%rip),%ebp # 0x12d02d4c 12: 31 ff xor %edi,%edi 14: 89 ee mov %ebp,%esi 16: e8 61 d3 af fd call 0xfdafd37c 1b: 85 ed test %ebp,%ebp 1d: 0f 84 8d 00 00 00 je 0xb0 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 c0 00 00 00 jne 0xf7 37: 0f b7 2b movzwl (%rbx),%ebp 3a: 81 e5 00 f0 00 00 and $0xf000,%ebp