syzbot


WARNING in perf_trace_buf_alloc

Status: closed as invalid on 2017/10/27 08:14
Reported-by: syzbot+f33ed74fc97df9dd4fbab79668778d66ddbeeac9@syzkaller.appspotmail.com
First crash: 2585d, last: 2560d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-414 WARNING in perf_trace_buf_alloc C 10 2147d 2011d 0/1 public: reported C repro on 2019/04/12 00:00
upstream WARNING in perf_trace_buf_alloc (2) trace C 22 2427d 2532d 8/28 fixed on 2018/07/09 18:05

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3005 at kernel/trace/trace_event_perf.c:274 perf_trace_buf_alloc+0x12d/0x160 kernel/trace/trace_event_perf.c:273
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 3005 Comm: syzkaller361563 Not tainted 4.13.0-next-20170914+ #4
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:16 [inline]
 dump_stack+0x194/0x257 lib/dump_stack.c:52
 panic+0x1e4/0x417 kernel/panic.c:181
 __warn+0x1c4/0x1d9 kernel/panic.c:542
 report_bug+0x211/0x2d0 lib/bug.c:183
 fixup_bug+0x40/0x90 arch/x86/kernel/traps.c:178
 do_trap_no_signal arch/x86/kernel/traps.c:212 [inline]
 do_trap+0x260/0x390 arch/x86/kernel/traps.c:261
 do_error_trap+0x120/0x390 arch/x86/kernel/traps.c:298
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:311
 invalid_op+0x18/0x20 arch/x86/entry/entry_64.S:905
RIP: 0010:perf_trace_buf_alloc+0x12d/0x160 kernel/trace/trace_event_perf.c:273
RSP: 0018:ffff88006ca67760 EFLAGS: 00010286
RAX: 000000000000001c RBX: 1ffff1000d94cefe RCX: 0000000000000000
RDX: 000000000000001c RSI: 1ffff1000d94ceac RDI: ffffed000d94cee0
RBP: ffff88006ca67780 R08: ffff88006ca66e50 R09: 0000000000000000
R10: ffff88006ba5c440 R11: 0000000000000000 R12: 0000000000000e54
R13: ffff88006ca67810 R14: ffff88006ca67890 R15: ffff88003d9bccc0
 perf_trace_bpf_map_keyval+0x260/0xbd0 include/trace/events/bpf.h:227
 trace_bpf_map_update_elem include/trace/events/bpf.h:273 [inline]
 map_update_elem kernel/bpf/syscall.c:595 [inline]
 SYSC_bpf kernel/bpf/syscall.c:1476 [inline]
 SyS_bpf+0x33f4/0x46a0 kernel/bpf/syscall.c:1451
 entry_SYSCALL_64_fastpath+0x1f/0xbe
RIP: 0033:0x434fe9
RSP: 002b:00007ffcb22cada8 EFLAGS: 00000207 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000434fe9
RDX: 0000000000000020 RSI: 000000002000b000 RDI: 0000000000000002
RBP: 0000000000000082 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000207 R12: 0000000000000000
R13: 0000000000401960 R14: 00000000004019f0 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/09/14 05:48 linux-next 31fc38c47623 96b8e399 .config console log report syz C skylake-linux-next-kasan-qemu
2017/09/14 05:48 linux-next 31fc38c47623 96b8e399 .config console log report syz C skylake-linux-next-kasan-qemu
2017/09/14 05:34 mmots 720bbe532b7c c26ea367 .config console log report syz C ci-upstream-mmots-kasan-gce
2017/10/02 19:04 upstream 9e66317d3c92 c26ea367 .config console log report syz ci-upstream-kasan-gce-386
2017/10/09 16:21 upstream 8a5776a5f498 c26ea367 .config console log report ci-upstream-kasan-gce-386
2017/09/15 06:09 linux-next 1f183459b514 da1873aa .config console log report skylake-linux-next-kasan-qemu
2017/09/14 22:54 linux-next 31fc38c47623 96b8e399 .config console log report skylake-linux-next-kasan-qemu
2017/09/14 05:11 mmots 720bbe532b7c c26ea367 .config console log report ci-upstream-mmots-kasan-gce
* Struck through repros no longer work on HEAD.