================================================================== BUG: KASAN: stack-out-of-bounds in unwind_next_frame+0x1360/0x17d0 arch/x86/kernel/unwind_orc.c:470 Read of size 8 at addr ffff8880ba407ca8 by task syz-executor113/8609 CPU: 0 PID: 8609 Comm: syz-executor113 Not tainted 4.14.228-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/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 unwind_next_frame+0x1360/0x17d0 arch/x86/kernel/unwind_orc.c:470 perf_callchain_kernel+0x38c/0x520 arch/x86/events/core.c:2343 get_perf_callchain+0x2de/0x740 kernel/events/callchain.c:217 perf_callchain+0x147/0x190 kernel/events/callchain.c:190 perf_prepare_sample+0xd77/0x1380 kernel/events/core.c:6164 __perf_event_output kernel/events/core.c:6280 [inline] perf_event_output_forward+0xc9/0x1f0 kernel/events/core.c:6298 __perf_event_overflow+0x113/0x310 kernel/events/core.c:7547 perf_swevent_overflow kernel/events/core.c:7623 [inline] perf_swevent_event+0x3c8/0x460 kernel/events/core.c:7661 perf_tp_event+0x540/0x6e0 kernel/events/core.c:8085 perf_trace_run_bpf_submit+0x119/0x200 kernel/events/core.c:8055 perf_trace_lock_acquire+0x332/0x510 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_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x8c/0xc0 kernel/locking/spinlock.c:160 debug_object_active_state lib/debugobjects.c:687 [inline] debug_object_active_state+0xe7/0x330 lib/debugobjects.c:675 debug_rcu_head_unqueue kernel/rcu/rcu.h:161 [inline] rcu_do_batch kernel/rcu/tree.c:2698 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2962 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2929 [inline] rcu_process_callbacks+0x82d/0x1180 kernel/rcu/tree.c:2946 __do_softirq+0x24d/0x9ff kernel/softirq.c:288 invoke_softirq kernel/softirq.c:368 [inline] irq_exit+0x193/0x240 kernel/softirq.c:409 exiting_irq arch/x86/include/asm/apic.h:638 [inline] smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1106 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:779 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xa3/0xe0 kernel/locking/spinlock.c:192 RSP: 0018:ffff8880a48379c8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff10 RAX: 1ffffffff11e1259 RBX: 0000000000000286 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000286 RBP: ffffffff8c09e788 R08: ffffffff8b997ba8 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808c000000 R13: 0000000000000000 R14: ffffffff8c09e788 R15: 0000000000000000 __debug_check_no_obj_freed lib/debugobjects.c:760 [inline] debug_check_no_obj_freed+0x2c0/0x680 lib/debugobjects.c:776 free_pages_prepare mm/page_alloc.c:1064 [inline] __free_pages_ok+0x215/0xeb0 mm/page_alloc.c:1262 release_pages+0x779/0xbf0 mm/swap.c:788 tlb_flush_mmu_free+0xc1/0x1a0 mm/memory.c:272 tlb_flush_mmu mm/memory.c:281 [inline] arch_tlb_finish_mmu mm/memory.c:296 [inline] tlb_finish_mmu+0xf3/0x1e0 mm/memory.c:448 exit_mmap+0x290/0x4d0 mm/mmap.c:3060 __mmput kernel/fork.c:930 [inline] mmput kernel/fork.c:951 [inline] mmput+0xfa/0x420 kernel/fork.c:946 exit_mm kernel/exit.c:548 [inline] do_exit+0x984/0x2850 kernel/exit.c:855 do_group_exit+0x100/0x2e0 kernel/exit.c:965 SYSC_exit_group kernel/exit.c:976 [inline] SyS_exit_group+0x19/0x20 kernel/exit.c:974 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x43e989 RSP: 002b:00007ffebcf06408 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00000000004b02f0 RCX: 000000000043e989 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000000 R10: 0000000000000800 R11: 0000000000000246 R12: 00000000004b02f0 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 The buggy address belongs to the page: page:ffffea0002e901c0 count:1 mapcount:0 mapping: (null) index:0x0 flags: 0xfff00000000800(reserved) raw: 00fff00000000800 0000000000000000 0000000000000000 00000001ffffffff raw: ffffea0002e901e0 ffffea0002e901e0 0000000000000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880ba407b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880ba407c00: 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 f1 >ffff8880ba407c80: f1 04 f2 00 f3 f3 f3 00 00 00 00 00 00 00 00 00 ^ ffff8880ba407d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880ba407d80: 00 00 00 f1 f1 f1 f1 f1 f1 00 00 00 00 00 f3 f3 ==================================================================