syzbot


WARNING in __perf_event_overflow

Status: fixed on 2023/02/24 13:50
Subsystems: perf
[Documentation on labels]
Reported-by: syzbot+589d998651a580e6135d@syzkaller.appspotmail.com
Fix commit: bb88f9695460 perf: Improve missing SIGTRAP checking
First crash: 489d, last: 459d
Cause bisection: introduced by (bisect log) :
commit c1d050b0d169fd60c8acef157db53bd4e3141799
Author: Yishai Hadas <yishaih@nvidia.com>
Date: Thu Sep 8 18:34:45 2022 +0000

  vfio/mlx5: Create and destroy page tracker object

Crash: SYZFATAL: executor failed NUM times: executor NUM: exit status NUM (log)
Repro: C syz .config
  
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] perf: Improve missing SIGTRAP checking 2 (2) 2022/11/08 09:49
[syzbot] WARNING in __perf_event_overflow 2 (4) 2022/11/03 07:26

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3640 at kernel/events/core.c:9313 __perf_event_overflow+0x498/0x540 kernel/events/core.c:9313
Modules linked in:
CPU: 1 PID: 3640 Comm: syz-executor259 Not tainted 6.1.0-rc4-syzkaller-00204-g8be602dadb2f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:__perf_event_overflow+0x498/0x540 kernel/events/core.c:9313
Code: 80 3c 02 00 0f 85 b2 00 00 00 48 8b 83 20 02 00 00 48 ff 80 b8 01 00 00 e9 5b fe ff ff 45 31 f6 e9 a2 fd ff ff e8 58 6e dd ff <0f> 0b e9 47 fe ff ff 4c 89 e7 e8 c9 32 2a 00 e9 b2 fb ff ff e8 7f
RSP: 0000:ffffc90003c8fb00 EFLAGS: 00010046
RAX: 0000000080010000 RBX: ffff8880777417c0 RCX: 0000000000000000
RDX: ffff8880224d57c0 RSI: ffffffff81a2ab28 RDI: 0000000000000001
RBP: ffffc90003c8fb80 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000020 R11: 0000000000000001 R12: 0000000000000020
R13: ffff888077741be4 R14: 0000000000000000 R15: 0000000000000000
FS:  0000555555ab2300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9019e62d88 CR3: 000000007331d000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 perf_swevent_hrtimer+0x353/0x3c0 kernel/events/core.c:10730
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x1c6/0xfb0 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x320/0x790 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline]
 __sysvec_apic_timer_interrupt+0x180/0x640 arch/x86/kernel/apic/apic.c:1113
 sysvec_apic_timer_interrupt+0x44/0xc0 arch/x86/kernel/apic/apic.c:1107
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0033:0x7f9019db8e25
Code: 0a 00 00 74 08 84 c9 0f 85 46 02 00 00 45 31 e4 0f 1f 44 00 00 64 8b 04 25 18 00 00 00 ba 01 00 00 00 85 c0 0f 85 d5 01 00 00 <0f> b1 15 5c 9f 0a 00 4c 8b 33 4d 85 f6 75 3b e9 72 01 00 00 0f 1f
RSP: 002b:00007ffc89a1df20 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00007f9019e60138 RCX: 0000000000000001
RDX: 0000000000000001 RSI: 00007f9019e60138 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000001 R09: 00007ffc89a1e108
R10: 00000000ffffffff R11: 0000000000000286 R12: 0000000000000000
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/27 10:33 bpf 8be602dadb2f 74a66371 .config strace log report syz C ci-upstream-bpf-kasan-gce WARNING in __perf_event_overflow
2022/10/28 09:51 bpf 88619e77b33d 86777b7f .config strace log report syz C ci-upstream-bpf-kasan-gce WARNING in __perf_event_overflow
2022/11/27 10:24 bpf-next 2b3e8f6f5b93 74a66371 .config strace log report syz C ci-upstream-bpf-next-kasan-gce WARNING in __perf_event_overflow
2022/11/02 06:10 bpf 42378a9ca553 edac4fd1 .config console log report info ci-upstream-bpf-kasan-gce WARNING in __perf_event_overflow
2022/11/01 23:52 bpf 42378a9ca553 edac4fd1 .config console log report info ci-upstream-bpf-kasan-gce WARNING in __perf_event_overflow
2022/10/28 09:39 bpf 88619e77b33d 86777b7f .config console log report info ci-upstream-bpf-kasan-gce WARNING in __perf_event_overflow
2022/11/21 23:54 bpf-next 35ffb1d9bff0 1c576c23 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in __perf_event_overflow
2022/11/19 07:49 bpf-next db6bf999544c 5bb70014 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in __perf_event_overflow
2022/11/19 02:48 bpf-next db6bf999544c 5bb70014 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in __perf_event_overflow
* Struck through repros no longer work on HEAD.