================================================================== 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 ffff88809032fca8 by task syz-executor.3/10070 CPU: 0 PID: 10070 Comm: syz-executor.3 Not tainted 4.14.303-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 unwind_next_frame+0x1360/0x17d0 arch/x86/kernel/unwind_orc.c:470 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:ffff88809032fbd0 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff10 RAX: 1ffffffff11e13d8 RBX: ffff888057c54640 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff888057c54ec4 RBP: ffff8880b5037888 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffff888057c54640 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 perf_remove_from_owner kernel/events/core.c:4310 [inline] perf_event_release_kernel+0x4b4/0x8a0 kernel/events/core.c:4356 retint_kernel+0x2d/0x2d RIP: 41b58ab3:lock_acquire+0x170/0x3f0 RSP: 0282:ffffffff8141e030 EFLAGS: ffffffff88b61314 ORIG_RAX: ffff888057c54ec0 RAX: ffffffff8bed0dc0 RBX: 1ffff11012065fa9 RCX: ffff888057c54640 RDX: 0000000000000001 RSI: 0000000000000282 RDI: 0000000000000282 RBP: ffff88808e987460 R08: ffffffff8165a9ea R09: ffffffff88f785c0 BTRFS info (device loop0): clearing free space tree R10: 1ffff11012065fa2 R11: 0000000000000000 R12: ffffffff872433b0 R13: ffffffff88b60fd8 R14: 0000000041b58ab3 R15: 0000000000000000 BTRFS info (device loop0): clearing 1 ro feature flag BTRFS info (device loop0): clearing 2 ro feature flag The buggy address belongs to the page: page:ffffea000240cbc0 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: ffff88809032fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88809032fc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 BTRFS info (device loop0): checking UUID tree >ffff88809032fc80: 00 00 f1 f1 f1 f1 00 00 00 f2 00 00 00 f2 f2 f2 ^ ffff88809032fd00: 00 00 00 00 00 f3 f3 f3 f3 f3 00 00 00 00 00 00 ffff88809032fd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================