syzbot


general protection fault in perf_tp_event_match

Status: auto-closed as invalid on 2021/03/14 23:53
Reported-by: syzbot+243f17adc878b3392acd@syzkaller.appspotmail.com
First crash: 1305d, last: 1257d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in perf_tp_event_match (2) perf 356 1393d 1721d 0/26 auto-closed as invalid on 2020/10/18 21:16
upstream general protection fault in perf_tp_event_match perf 1 2115d 2115d 0/26 auto-closed as invalid on 2019/02/22 10:29

Sample crash report:
RBP: 00007f6d4f4b3ca0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000002
R13: 00007ffce9a6daff R14: 00007f6d4f4b49c0 R15: 000000000118bf2c
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 18722 Comm: syz-executor.2 Not tainted 4.14.206-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880503a86c0 task.stack: ffff888057f08000
RIP: 0010:perf_tp_event_match.constprop.0+0x29/0x1d0 kernel/events/core.c:8022
RSP: 0018:ffff888057f0f618 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: 0000492203010072 RCX: ffffc90007331000
RDX: 0000092440602046 RSI: ffffffff816573a1 RDI: 0000492203010232
RBP: ffff888057f0f700 R08: ffff8880ba426b80 R09: ffff8880ba400000
R10: ffff888057f0f920 R11: 0000000000000000 R12: ffff8880ba400000
R13: ffff888057f0f700 R14: dffffc0000000000 R15: ffff88805587e540
FS:  00007f6d4f493700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fef947c6000 CR3: 000000009c9ee000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 perf_tp_event+0x51e/0x6e0 kernel/events/core.c:8079
 perf_trace_run_bpf_submit+0x119/0x200 kernel/events/core.c:8050
 perf_trace_sched_wakeup_template+0x331/0x470 include/trace/events/sched.h:57
 trace_sched_wakeup include/trace/events/sched.h:96 [inline]
 ttwu_do_wakeup+0x37c/0x560 kernel/sched/core.c:1686
 ttwu_queue kernel/sched/core.c:1874 [inline]
 try_to_wake_up+0x6d3/0x1100 kernel/sched/core.c:2087
 wake_up_process kernel/sched/core.c:2160 [inline]
 wake_up_q+0x82/0xd0 kernel/sched/core.c:468
 futex_wake+0x328/0x3c0 kernel/futex.c:1716
 do_futex+0x287/0x1980 kernel/futex.c:3938
 SYSC_futex kernel/futex.c:3994 [inline]
 SyS_futex+0x1da/0x290 kernel/futex.c:3962
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45deb9
RSP: 002b:00007f6d4f492cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 000000000118bfd0 RCX: 000000000045deb9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 000000000118bfd4
RBP: 000000000118bfc8 R08: 0000000000000009 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 000000000118bfd4
R13: 00007ffce9a6daff R14: 00007f6d4f4939c0 R15: 000000000118bfd4
Code: 00 00 41 55 41 54 55 48 89 f5 53 48 89 fb e8 4f cb f1 ff 48 8d bb c0 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 51 01 00 00 f6 83 c0 01 00 
RIP: perf_tp_event_match.constprop.0+0x29/0x1d0 kernel/events/core.c:8022 RSP: ffff888057f0f618

======================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/14 23:52 linux-4.14.y 27ce4f2a6817 1bf9a662 .config console log report info ci2-linux-4-14
2020/09/28 01:30 linux-4.14.y cbfa1702aaf6 5dd8aee8 .config console log report info ci2-linux-4-14
* Struck through repros no longer work on HEAD.