================================================================== BUG: KASAN: stack-out-of-bounds in deref_stack_regs arch/x86/kernel/unwind_orc.c:304 [inline] BUG: KASAN: stack-out-of-bounds in unwind_next_frame+0x146f/0x17d0 arch/x86/kernel/unwind_orc.c:437 Read of size 8 at addr ffff888099587a70 by task syz-executor.4/11079 CPU: 0 PID: 11079 Comm: syz-executor.4 Not tainted 4.14.304-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 print_address_description.cold+0x54/0x1d3 mm/kasan/report.c:252 kasan_report_error.cold+0x8a/0x191 mm/kasan/report.c:351 kasan_report mm/kasan/report.c:409 [inline] __asan_report_load8_noabort+0x68/0x70 mm/kasan/report.c:430 deref_stack_regs arch/x86/kernel/unwind_orc.c:304 [inline] unwind_next_frame+0x146f/0x17d0 arch/x86/kernel/unwind_orc.c:437 perf_callchain_kernel+0x38c/0x520 arch/x86/events/core.c:2344 get_perf_callchain+0x2de/0x740 kernel/events/callchain.c:217 perf_callchain+0x147/0x190 kernel/events/callchain.c:190 perf_prepare_sample+0x6a0/0x13a0 kernel/events/core.c:6171 __perf_event_output kernel/events/core.c:6287 [inline] perf_event_output_forward+0xc9/0x1f0 kernel/events/core.c:6305 __perf_event_overflow+0x113/0x310 kernel/events/core.c:7554 perf_swevent_hrtimer+0x229/0x360 kernel/events/core.c:8762 __run_hrtimer kernel/time/hrtimer.c:1223 [inline] __hrtimer_run_queues+0x2fe/0xc70 kernel/time/hrtimer.c:1287 hrtimer_interrupt+0x1b9/0x470 kernel/time/hrtimer.c:1321 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1079 [inline] smp_apic_timer_interrupt+0x117/0x5e0 arch/x86/kernel/apic/apic.c:1104 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:796 RIP: 0010:arch_local_save_flags arch/x86/include/asm/paravirt.h:774 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/paravirt.h:796 [inline] RIP: 0010:lock_acquire+0x97/0x3f0 kernel/locking/lockdep.c:3993 RSP: 0018:ffff888099587910 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff10 RAX: 1ffffffff11e13d8 RBX: ffff8880a8952180 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff8880a8952a04 RBP: ffffffff88fec6e0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffff8880a8952180 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 pcpu_alloc+0x8e8/0xf50 mm/percpu.c:1380 retint_kernel+0x2d/0x2d RIP: 0002:0xffff8880a8952180 RSP: 14000c0:0000000000000000 EFLAGS: ffffffff00000282 ORIG_RAX: ffffffff8bed0dc0 RAX: ffff88823fff700f RBX: 0000000000000000 RCX: ffff88823fff7018 RDX: 1ffff110132b0f54 RSI: ffffffff88fd8840 RDI: ffffffff816a12e0 RBP: ffffffff81418c18 R08: ffff88823fff7017 R09: 0000002e2db8bdb4 R10: ffffffff81001bbe R11: ffff888099587a78 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 The buggy address belongs to the page: page:ffffea00026561c0 count:0 mapcount:0 mapping: (null) index:0x0 flags: 0xfff00000000000() raw: 00fff00000000000 0000000000000000 0000000000000000 00000000ffffffff raw: 0000000000000000 0000000100000001 0000000000000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888099587900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888099587980: 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 >ffff888099587a00: 00 f2 00 00 00 f2 f2 f2 00 00 00 00 00 f3 f3 f3 ^ ffff888099587a80: f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888099587b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================