syzbot


general protection fault in perf_tp_event

Status: auto-closed as invalid on 2019/10/24 06:05
Reported-by: syzbot+15c47138877957ea0c9d@syzkaller.appspotmail.com
First crash: 1825d, last: 1825d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in perf_tp_event (2) perf 109 1149d 1389d 0/26 auto-closed as invalid on 2021/07/02 04:41
linux-4.14 general protection fault in perf_tp_event 2 1391d 1429d 0/1 auto-closed as invalid on 2020/11/01 21:53
linux-4.19 general protection fault in perf_tp_event (2) 4 1445d 1594d 0/1 auto-closed as invalid on 2020/09/08 23:43
upstream general protection fault in perf_tp_event (3) perf 9 853d 937d 0/26 auto-closed as invalid on 2022/04/23 10:36
android-54 general protection fault in perf_tp_event 7 1398d 1565d 0/2 auto-closed as invalid on 2020/10/25 22:42
upstream general protection fault in perf_tp_event perf 423 1760d 2184d 0/26 auto-closed as invalid on 2019/10/25 14:12

Sample crash report:
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f74c214f6d4
R13: 00000000004f6e92 R14: 00000000004d01b8 R15: 0000000000000004
nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based  firewall rule not found. Use the iptables CT target to attach helpers instead.
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
CPU: 1 PID: 15428 Comm: syz-executor.0 Not tainted 4.19.36 #4
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:perf_tp_event_match kernel/events/core.c:8258 [inline]
RIP: 0010:perf_tp_event+0x1e9/0x850 kernel/events/core.c:8309
Code: 85 db 0f 84 dd 00 00 00 e8 44 f6 e8 ff 48 83 eb 60 0f 84 ce 00 00 00 e8 35 f6 e8 ff 48 8d bb d0 01 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 74 08 3c 03 0f 8e ba 05 00 00 44 8b b3 d0 01
RSP: 0018:ffff88805cbcf000 EFLAGS: 00010007
RAX: 000000002000002d RBX: 00000000ffffff9f RCX: ffffc90009293000
RDX: 000000000003b357 RSI: ffffffff81824edb RDI: 000000010000016f
RBP: ffff88805cbcf2f0 R08: ffff8880a5310140 R09: ffff8880ae900000
R10: ffff88805cbcf318 R11: 0000000000000001 R12: dffffc0000000000
R13: ffffe8ffffdbacb0 R14: 00000000000000df R15: 0000000000000044
FS:  00007f12d6399700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004e65e0 CR3: 00000000585a7000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 perf_trace_run_bpf_submit+0x131/0x190 kernel/events/core.c:8284
 perf_trace_sched_switch+0x644/0x9c0 include/trace/events/sched.h:138
 trace_sched_switch include/trace/events/sched.h:138 [inline]
 __schedule+0xb3a/0x1d00 kernel/sched/core.c:3471
 preempt_schedule_irq+0xb5/0x140 kernel/sched/core.c:3701
 retint_kernel+0x1b/0x2d
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:788 [inline]
RIP: 0010:lock_is_held_type+0x17e/0x210 kernel/locking/lockdep.c:3943
Code: 00 00 00 fc ff df 41 c7 85 7c 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 75 63 48 83 3d 71 5c 20 07 00 74 30 48 89 df 57 9d <0f> 1f 44 00 00 48 83 c4 08 44 89 e0 5b 41 5c 41 5d 5d c3 48 83 c4
RSP: 0018:ffff88805cbcf638 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff02
RAX: 1ffffffff10e4661 RBX: 0000000000000286 RCX: 1ffffffff11613cc
RDX: dffffc0000000000 RSI: 00000000ffffffff RDI: 0000000000000286
RBP: ffff88805cbcf658 R08: ffff8880a5310140 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880a5310140 R14: 0000000000000000 R15: 0000000000000000
 lock_is_held include/linux/lockdep.h:344 [inline]
 ___might_sleep+0x1c4/0x280 kernel/sched/core.c:6115
 __might_sleep+0x95/0x190 kernel/sched/core.c:6103
 __might_fault+0xc6/0x1e0 mm/memory.c:4627
 _copy_to_iter+0x414/0x1060 lib/iov_iter.c:564
 copy_to_iter include/linux/uio.h:106 [inline]
 copy_linear_skb include/net/udp.h:381 [inline]
 udp_recvmsg+0xc7d/0x10c0 net/ipv4/udp.c:1690
 inet_recvmsg+0x13b/0x5f0 net/ipv4/af_inet.c:830
 sock_recvmsg_nosec+0x8c/0xb0 net/socket.c:795
 ___sys_recvmsg+0x273/0x580 net/socket.c:2277
 __sys_recvmmsg+0x27e/0x790 net/socket.c:2389
 do_sys_recvmmsg net/socket.c:2465 [inline]
 do_sys_recvmmsg+0x181/0x1a0 net/socket.c:2454
 __do_sys_recvmmsg net/socket.c:2483 [inline]
 __se_sys_recvmmsg net/socket.c:2479 [inline]
 __x64_sys_recvmmsg+0xbe/0x150 net/socket.c:2479
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458da9
Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f12d6398c78 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000458da9
RDX: 00000000000002ba RSI: 00000000200038c0 RDI: 0000000000000005
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000040000002 R11: 0000000000000246 R12: 00007f12d63996d4
R13: 00000000004c5d13 R14: 00000000004da298 R15: 00000000ffffffff
Modules linked in:

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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/04/27 06:04 linux-4.19.y c98875d930e9 b617407b .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.