================================================================== BUG: KASAN: stack-out-of-bounds in unwind_next_frame+0x131a/0x1700 arch/x86/kernel/unwind_orc.c:474 Read of size 8 at addr ffff8880952af9a0 by task syz-executor597/7186 CPU: 1 PID: 7186 Comm: syz-executor597 Not tainted 4.14.183-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x283 lib/dump_stack.c:58 print_address_description.cold+0x54/0x1dc mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report mm/kasan/report.c:409 [inline] kasan_report.cold+0xa9/0x2b9 mm/kasan/report.c:393 unwind_next_frame+0x131a/0x1700 arch/x86/kernel/unwind_orc.c:474 perf_callchain_kernel+0x38c/0x520 arch/x86/events/core.c:2343 get_perf_callchain+0x2df/0x740 kernel/events/callchain.c:217 perf_callchain+0x147/0x190 kernel/events/callchain.c:190 perf_prepare_sample+0x75b/0x1350 kernel/events/core.c:6157 __perf_event_output kernel/events/core.c:6273 [inline] perf_event_output_forward+0xc9/0x1f0 kernel/events/core.c:6291 __perf_event_overflow+0x113/0x310 kernel/events/core.c:7536 perf_swevent_overflow+0x17b/0x210 kernel/events/core.c:7612 perf_swevent_event+0x19c/0x270 kernel/events/core.c:7645 perf_tp_event+0x611/0x7d0 kernel/events/core.c:8074 perf_trace_run_bpf_submit kernel/events/core.c:8044 [inline] perf_trace_run_bpf_submit+0x113/0x170 kernel/events/core.c:8030 perf_trace_lock_acquire+0x32c/0x4b0 include/trace/events/lock.h:13 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x2b8/0x3f0 kernel/locking/lockdep.c:3997 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:152 perf_ctx_lock kernel/events/core.c:155 [inline] event_function+0x14d/0x370 kernel/events/core.c:214 remote_function kernel/events/core.c:87 [inline] remote_function+0x10d/0x190 kernel/events/core.c:67 generic_exec_single+0x21e/0x420 kernel/smp.c:153 smp_call_function_single+0x16f/0x380 kernel/smp.c:299 task_function_call+0xb2/0x110 kernel/events/core.c:115 event_function_call+0x1e8/0x3c0 kernel/events/core.c:277 perf_remove_from_context+0x89/0x170 kernel/events/core.c:1951 perf_event_release_kernel+0xd8/0x870 kernel/events/core.c:4352 perf_release+0x33/0x40 kernel/events/core.c:4435 __fput+0x25f/0x7a0 fs/file_table.c:210 task_work_run+0x113/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x4011f0 RSP: 002b:00007ffdabe195c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004011f0 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00000000000191d7 R08: 0000000000000000 R09: 0000000100000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 0000000000402270 R13: 0000000000402300 R14: 0000000000000000 R15: 0000000000000000 The buggy address belongs to the page: page:ffffea000254abc0 count:0 mapcount:0 mapping: (null) index:0x0 flags: 0xfffe0000000000() raw: 00fffe0000000000 0000000000000000 0000000000000000 00000000ffffffff raw: 0000000000000000 0000000100000001 0000000000000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880952af880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880952af900: 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 f1 >ffff8880952af980: f1 04 f2 00 f3 f3 f3 00 00 00 00 00 00 00 00 00 ^ ffff8880952afa00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880952afa80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================