general protection fault, probably for non-canonical address 0xe000080ff25c1576: 0000 [#1] SMP KASAN NOPTI KASAN: probably user-memory-access in range [0x0000607f92e0abb0-0x0000607f92e0abb7] CPU: 1 PID: 5982 Comm: syz-executor.7 Not tainted 5.10.90 #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:ffff88803dbdf950 EFLAGS: 00010212 RAX: 00000c0ff25c1576 RBX: dffffc0000000000 RCX: ffffc9000640d000 RDX: 0000000000040000 RSI: ffffffff813fa5f6 RDI: 0000607f92e0abb0 RBP: ffffffff8100002b R08: ffffffff81fa8fc0 R09: ffff88803dbdfa68 R10: 0000000000000005 R11: 0000000000000001 R12: 0000607f92e0ab88 R13: dffffc0000000000 R14: ffffffff8100002d R15: ffff88803dbdfaf8 FS: 00007fecc4953700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001d80 CR3: 000000004300a000 CR4: 0000000000350ee0 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 Zero length message leads to an empty skb EXT4-fs warning (device sda): ext4_group_extend:1792: need to use ext2online to resize further 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:1837 perf_kprobe_init+0x18c/0x280 kernel/trace/trace_event_perf.c:272 perf_kprobe_event_init+0xf8/0x1c0 kernel/events/core.c:9602 perf_try_init_event+0x130/0x570 kernel/events/core.c:10980 perf_init_event kernel/events/core.c:11032 [inline] perf_event_alloc.part.0+0xd96/0x2b30 kernel/events/core.c:11310 perf_event_alloc kernel/events/core.c:11689 [inline] __do_sys_perf_event_open+0x57c/0x2d00 kernel/events/core.c:11787 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fecc73ddb19 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:00007fecc4953188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007fecc74f0f60 RCX: 00007fecc73ddb19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020001d80 RBP: 00007fecc7437f6d R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffedcc9b53f R14: 00007fecc4953300 R15: 0000000000022000 Modules linked in: ---[ end trace 70c03ed850c31810 ]--- 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:ffff88803dbdf950 EFLAGS: 00010212 RAX: 00000c0ff25c1576 RBX: dffffc0000000000 RCX: ffffc9000640d000 RDX: 0000000000040000 RSI: ffffffff813fa5f6 RDI: 0000607f92e0abb0 RBP: ffffffff8100002b R08: ffffffff81fa8fc0 R09: ffff88803dbdfa68 R10: 0000000000000005 R11: 0000000000000001 R12: 0000607f92e0ab88 R13: dffffc0000000000 R14: ffffffff8100002d R15: ffff88803dbdfaf8 FS: 00007fecc4953700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001d80 CR3: 000000004300a000 CR4: 0000000000350ee0 FAT-fs (loop0): Unrecognized mount option "appraise_type=imasig" or missing value audit: type=1400 audit(1642281968.918:32): avc: denied { relabelto } for pid=6002 comm="syz-executor.0" name="file1" dev="sda" ino=16030 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:removable_device_t:s0 tclass=file permissive=1 EXT4-fs warning (device sda): ext4_group_extend:1792: need to use ext2online to resize further audit: type=1400 audit(1642281968.925:33): avc: denied { ioctl } for pid=6002 comm="syz-executor.0" path="/syzkaller-testdir037316959/syzkaller.4uT0CX/43/file1" dev="sda" ino=16030 ioctlcmd=0x5820 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:removable_device_t:s0 tclass=file permissive=1 audit: type=1400 audit(1642281968.927:34): avc: denied { read write } for pid=6002 comm="syz-executor.0" name="file1" dev="sda" ino=16030 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:removable_device_t:s0 tclass=file permissive=1 audit: type=1400 audit(1642281968.949:35): avc: denied { open } for pid=6002 comm="syz-executor.0" path="/syzkaller-testdir037316959/syzkaller.4uT0CX/43/file1" dev="sda" ino=16030 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:removable_device_t:s0 tclass=file permissive=1 EXT4-fs (loop7): VFS: Can't find ext4 filesystem audit: type=1400 audit(1642281969.728:36): avc: denied { setattr } for pid=6002 comm="syz-executor.0" name="file1" dev="sda" ino=16030 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:removable_device_t:s0 tclass=file permissive=1 audit: type=1400 audit(1642281969.735:37): avc: denied { mounton } for pid=6002 comm="syz-executor.0" path="/syzkaller-testdir037316959/syzkaller.4uT0CX/43/file1" dev="sda" ino=16030 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:removable_device_t:s0 tclass=file permissive=1 FAT-fs (loop0): Unrecognized mount option "appraise_type=imasig" or missing value audit: type=1400 audit(1642281969.745:38): avc: denied { relabelfrom } for pid=6002 comm="syz-executor.0" name="file1" dev="sda" ino=16030 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:removable_device_t:s0 tclass=file permissive=1 ---------------- 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