general protection fault, probably for non-canonical address 0xfbd5a5d5a0000005: 0000 [#1] SMP KASAN NOPTI KASAN: maybe wild-memory-access in range [0xdead4ead00000028-0xdead4ead0000002f] CPU: 0 PID: 5661 Comm: syz-executor.1 Not tainted 5.10.109 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:get_kprobe+0x82/0xc0 kernel/kprobes.c:372 Code: f3 ff ff 4c 89 e0 48 c1 e8 03 80 3c 18 00 75 3b 4d 8b 24 24 4d 85 e4 74 1e e8 ba f3 ff ff 49 8d 7c 24 28 48 89 f8 48 c1 e8 03 <80> 3c 18 00 75 14 49 39 6c 24 28 75 c7 e8 9c f3 ff ff 4c 89 e0 5b RSP: 0018:ffff888044c2f950 EFLAGS: 00010216 RAX: 1bd5a9d5a0000005 RBX: dffffc0000000000 RCX: ffffc900007df000 RDX: 0000000000040000 RSI: ffffffff813fbb56 RDI: dead4ead00000028 RBP: ffffffff8100002b R08: ffffffff81fac090 R09: ffff888044c2fa68 R10: 0000000000000005 R11: 0000000000000001 R12: dead4ead00000000 R13: dffffc0000000000 R14: ffffffff8100002d R15: ffff888044c2faf8 FS: 00007f8051bb9700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8054753000 CR3: 0000000044d7e000 CR4: 0000000000350ef0 Call Trace: __recover_optprobed_insn+0x31/0x220 arch/x86/kernel/kprobes/opt.c:44 recover_probed_instruction+0x1c/0xf0 arch/x86/kernel/kprobes/core.c:275 can_optimize+0x231/0x400 arch/x86/kernel/kprobes/opt.c:321 arch_prepare_optimized_kprobe+0x3e/0x5f0 arch/x86/kernel/kprobes/opt.c:406 __prepare_optimized_kprobe kernel/kprobes.c:805 [inline] alloc_aggr_kprobe+0x140/0x190 kernel/kprobes.c:828 try_to_optimize_kprobe kernel/kprobes.c:853 [inline] register_kprobe kernel/kprobes.c:1740 [inline] register_kprobe+0xb78/0x1330 kernel/kprobes.c:1682 __register_trace_kprobe kernel/trace/trace_kprobe.c:514 [inline] __register_trace_kprobe+0x262/0x2d0 kernel/trace/trace_kprobe.c:482 create_local_trace_kprobe+0x1e6/0x3b0 kernel/trace/trace_kprobe.c:1840 perf_kprobe_init+0x18c/0x280 kernel/trace/trace_event_perf.c:272 perf_kprobe_event_init+0xf8/0x1c0 kernel/events/core.c:9663 perf_try_init_event+0x130/0x570 kernel/events/core.c:11041 perf_init_event kernel/events/core.c:11093 [inline] perf_event_alloc.part.0+0xd96/0x2b30 kernel/events/core.c:11371 perf_event_alloc kernel/events/core.c:11750 [inline] __do_sys_perf_event_open+0x57c/0x2d00 kernel/events/core.c:11848 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f8054643b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8051bb9188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007f8054756f60 RCX: 00007f8054643b19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020001d80 RBP: 00007f805469df6d R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffefb54755f R14: 00007f8051bb9300 R15: 0000000000022000 Modules linked in: ---[ end trace 8eea69db973e0272 ]--- RIP: 0010:get_kprobe+0x82/0xc0 kernel/kprobes.c:372 Code: f3 ff ff 4c 89 e0 48 c1 e8 03 80 3c 18 00 75 3b 4d 8b 24 24 4d 85 e4 74 1e e8 ba f3 ff ff 49 8d 7c 24 28 48 89 f8 48 c1 e8 03 <80> 3c 18 00 75 14 49 39 6c 24 28 75 c7 e8 9c f3 ff ff 4c 89 e0 5b RSP: 0018:ffff888044c2f950 EFLAGS: 00010216 RAX: 1bd5a9d5a0000005 RBX: dffffc0000000000 RCX: ffffc900007df000 RDX: 0000000000040000 RSI: ffffffff813fbb56 RDI: dead4ead00000028 RBP: ffffffff8100002b R08: ffffffff81fac090 R09: ffff888044c2fa68 R10: 0000000000000005 R11: 0000000000000001 R12: dead4ead00000000 R13: dffffc0000000000 R14: ffffffff8100002d R15: ffff888044c2faf8 FS: 00007f8051bb9700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8054753000 CR3: 0000000044d7e000 CR4: 0000000000350ef0 tmpfs: Unknown parameter ' ' ---------------- Code disassembly (best guess): 0: f3 ff repz (bad) 2: ff 4c 89 e0 decl -0x20(%rcx,%rcx,4) 6: 48 c1 e8 03 shr $0x3,%rax a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) e: 75 3b jne 0x4b 10: 4d 8b 24 24 mov (%r12),%r12 14: 4d 85 e4 test %r12,%r12 17: 74 1e je 0x37 19: e8 ba f3 ff ff callq 0xfffff3d8 1e: 49 8d 7c 24 28 lea 0x28(%r12),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) <-- trapping instruction 2e: 75 14 jne 0x44 30: 49 39 6c 24 28 cmp %rbp,0x28(%r12) 35: 75 c7 jne 0xfffffffe 37: e8 9c f3 ff ff callq 0xfffff3d8 3c: 4c 89 e0 mov %r12,%rax 3f: 5b pop %rbx