================================================================== BUG: KASAN: stack-out-of-bounds in deref_stack_regs arch/x86/kernel/unwind_orc.c:312 [inline] BUG: KASAN: stack-out-of-bounds in unwind_next_frame+0x142e/0x17d0 arch/x86/kernel/unwind_orc.c:444 Read of size 8 at addr ffff88808a2efd78 by task syz-executor.0/18277 CPU: 0 PID: 18277 Comm: syz-executor.0 Not tainted 4.14.196-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/0x1d3 mm/kasan/report.c:252 kasan_report_error.cold+0x8a/0x194 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:312 [inline] unwind_next_frame+0x142e/0x17d0 arch/x86/kernel/unwind_orc.c:444 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+0xd77/0x1380 kernel/events/core.c:6162 __perf_event_output kernel/events/core.c:6278 [inline] perf_event_output_forward+0xc9/0x1f0 kernel/events/core.c:6296 __perf_event_overflow+0x113/0x310 kernel/events/core.c:7541 perf_swevent_hrtimer+0x220/0x350 kernel/events/core.c:8751 __run_hrtimer kernel/time/hrtimer.c:1223 [inline] __hrtimer_run_queues+0x30b/0xc80 kernel/time/hrtimer.c:1287 hrtimer_interrupt+0x1e6/0x5e0 kernel/time/hrtimer.c:1321 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1075 [inline] smp_apic_timer_interrupt+0x117/0x5e0 arch/x86/kernel/apic/apic.c:1100 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_is_held_type+0x81/0x210 kernel/locking/lockdep.c:4032 RSP: 0018:ffff88808a2efb48 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff10 RAX: 1ffffffff0fa2d20 RBX: ffff8880874a8000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 00000000ffffffff RDI: ffff8880874a8884 RBP: ffffffff87d84de0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffff8880874a8000 R12: ffffffff82cdc12c R13: 0000000000000000 R14: ffffed10133bfaa2 R15: 0000000000000010 context_destroy security/selinux/ss/context.h:145 [inline] security_compute_sid.part.0+0xa5c/0xfe0 security/selinux/ss/services.c:1743 retint_kernel+0x2d/0x2d RIP: 8789374c:selinux_socket_create+0x358/0x4b0 RSP: 82ca2910:ffffffff878ffbf1 EFLAGS: 41b58ab3 ORIG_RAX: 0000000000000001 RAX: 1ffff1101145dfae RBX: 0000000000000001 RCX: ffff88809f44eec0 RDX: 0000000000000011 RSI: 0000000000000000 RDI: ffff88809f44eec4 RBP: 0000000000000011 R08: 0000000000000001 R09: ffffffff82ce16cb R10: 0000000000000001 R11: 0000000000000001 R12: ffff88808a2efd90 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 The buggy address belongs to the page: page:ffffea000228bbc0 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: ffff88808a2efc00: f1 f1 00 00 00 f2 f2 f2 00 00 00 f2 f2 f2 f2 f2 ffff88808a2efc80: 00 00 00 00 00 00 00 00 00 f3 f3 f3 f3 f3 00 00 >ffff88808a2efd00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 ^ ffff88808a2efd80: f1 f1 04 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 ffff88808a2efe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================