syzbot


KASAN: out-of-bounds Read in perf_assign_events

Status: auto-closed as invalid on 2020/07/22 17:29
Subsystems: perf
[Documentation on labels]
Reported-by: syzbot+d8f8bd5ce70ffd4f605a@syzkaller.appspotmail.com
First crash: 1741d, last: 1741d

Sample crash report:
==================================================================
BUG: KASAN: out-of-bounds in __perf_sched_find_counter arch/x86/events/core.c:784 [inline]
BUG: KASAN: out-of-bounds in perf_sched_find_counter arch/x86/events/core.c:833 [inline]
BUG: KASAN: out-of-bounds in perf_assign_events+0xb94/0x1040 arch/x86/events/core.c:881
Read of size 4 at addr ffffc90000f57fcc by task syz-fuzzer/7014

CPU: 1 PID: 7014 Comm: syz-fuzzer Not tainted 5.7.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1e9/0x30e lib/dump_stack.c:118
 print_address_description+0x74/0x5c0 mm/kasan/report.c:382
 __kasan_report+0x103/0x1a0 mm/kasan/report.c:511
 kasan_report+0x4d/0x80 mm/kasan/common.c:625


Memory state around the buggy address:
 ffffc90000f57e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffffc90000f57f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffffc90000f57f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                                                 ^
 ffffc90000f58000: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9
 ffffc90000f58080: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9
==================================================================
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 7014 Comm: syz-fuzzer Tainted: G    B             5.7.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1e9/0x30e lib/dump_stack.c:118
 panic+0x264/0x7a0 kernel/panic.c:221
 end_report mm/kasan/report.c:103 [inline]
 __kasan_report+0x191/0x1a0 mm/kasan/report.c:518
 kasan_report+0x4d/0x80 mm/kasan/common.c:625
Shutting down cpus with NMI
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/04/23 17:29 upstream c578ddb39e56 2e44d63e .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.