==================================================================
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..