================================================================== 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 ffff88806a6dfc00 by task syz-executor.5/10338 CPU: 0 PID: 10338 Comm: syz-executor.5 Not tainted 4.14.294-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 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 __save_stack_trace+0x90/0x160 arch/x86/kernel/stacktrace.c:44 save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0xc3/0x1a0 mm/kasan/kasan.c:524 __cache_free mm/slab.c:3496 [inline] kmem_cache_free+0x7c/0x2b0 mm/slab.c:3758 __rcu_reclaim kernel/rcu/rcu.h:195 [inline] rcu_do_batch kernel/rcu/tree.c:2699 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2962 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2929 [inline] rcu_process_callbacks+0x780/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_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:ffff88806a6dfae0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff10 RAX: 1ffffffff11e1358 RBX: ffff88809e9ec440 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff88809e9eccc4 RBP: ffff8880ba430b08 R08: 0000000000000001 R09: 0000000000000000 R10: ffff88809e9ecd18 R11: ffff88809e9ec440 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 swevent_hlist_get_cpu kernel/events/core.c:7902 [inline] swevent_hlist_get kernel/events/core.c:7927 [inline] perf_swevent_init+0x1ff/0x4b0 kernel/events/core.c:7985 retint_kernel+0x2d/0x2d RIP: 0000:0xffff88809e9ecc94 RSP: 0002:0000000000000000 EFLAGS: ffffffff87400976 ORIG_RAX: ffffffff831a48b5 RAX: ffff88823fff700f RBX: ffffffff88b5e058 RCX: ffff88823fff7018 RDX: ffff88806a6dfc18 RSI: 1ffffffff11991ac RDI: 0000000000000000 RBP: 0000000041b58ab3 R08: ffff88823fff7017 R09: 000000157640a3c2 R10: ffffffff81001bbe R11: ffffffff8723a460 R12: ffffffff81417cd0 R13: ffffffff88b5e260 R14: ffffffff81634e6f R15: ffff8880ba430b08 The buggy address belongs to the page: page:ffffea0001a9b7c0 count:0 mapcount:0 mapping: (null) index:0x0 flags: 0xfff00000000000() raw: 00fff00000000000 0000000000000000 0000000000000000 00000000ffffffff raw: 0000000000000000 ffffea0001a9b7e0 0000000000000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88806a6dfb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88806a6dfb80: 00 00 00 00 f1 f1 f1 f1 00 00 00 f2 00 00 00 f2 >ffff88806a6dfc00: f2 f2 00 00 00 00 00 f3 f3 f3 f3 f3 00 00 00 00 ^ ffff88806a6dfc80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88806a6dfd00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================