================================================================== BUG: KASAN: stack-out-of-bounds in get_reg arch/x86/kernel/unwind_orc.c:411 [inline] BUG: KASAN: stack-out-of-bounds in unwind_next_frame+0x17b3/0x1f90 arch/x86/kernel/unwind_orc.c:585 Read of size 8 at addr ffffc90006bc6e68 by task syz-executor.0/12632 CPU: 1 PID: 12632 Comm: syz-executor.0 Not tainted 5.9.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x198/0x1fd lib/dump_stack.c:118 print_address_description.constprop.0.cold+0x5/0x497 mm/kasan/report.c:383 __kasan_report mm/kasan/report.c:513 [inline] kasan_report.cold+0x1f/0x37 mm/kasan/report.c:530 get_reg arch/x86/kernel/unwind_orc.c:411 [inline] unwind_next_frame+0x17b3/0x1f90 arch/x86/kernel/unwind_orc.c:585 perf_callchain_kernel+0x444/0x6a0 arch/x86/events/core.c:2449 get_perf_callchain+0x171/0x640 kernel/events/callchain.c:200 perf_callchain+0x165/0x1c0 kernel/events/core.c:6985 perf_prepare_sample+0x8fd/0x1d40 kernel/events/core.c:7012 __perf_event_output kernel/events/core.c:7170 [inline] perf_event_output_forward+0xf3/0x270 kernel/events/core.c:7190 __perf_event_overflow+0x13c/0x370 kernel/events/core.c:8845 perf_swevent_hrtimer+0x37c/0x3f0 kernel/events/core.c:10247 __run_hrtimer kernel/time/hrtimer.c:1524 [inline] __hrtimer_run_queues+0x1d5/0xfc0 kernel/time/hrtimer.c:1588 hrtimer_interrupt+0x334/0x940 kernel/time/hrtimer.c:1650 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline] __sysvec_apic_timer_interrupt+0x147/0x5f0 arch/x86/kernel/apic/apic.c:1097 asm_call_irq_on_stack+0xf/0x20 __run_sysvec_on_irqstack arch/x86/include/asm/irq_stack.h:37 [inline] run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:89 [inline] sysvec_apic_timer_interrupt+0xb2/0xf0 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581 RIP: 0010:arch_local_save_flags arch/x86/include/asm/paravirt.h:765 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/paravirt.h:787 [inline] RIP: 0010:lock_release+0x125/0x8f0 kernel/locking/lockdep.c:5045 Code: 6b fc 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 13 07 00 00 48 83 3d 02 6b a0 08 00 0f 84 15 05 00 00 9c <58> 0f 1f 44 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 04 24 48 c7 RSP: 0018:ffffc90006bc6ca0 EFLAGS: 00000286 RAX: 1ffffffff13f8d7c RBX: ffff888060a24100 RCX: ffffffff815c005f RDX: dffffc0000000000 RSI: ffffffff8a067e80 RDI: ffff888060a249e4 RBP: 1ffff92000d78d97 R08: 0000000000000000 R09: 0000000000000000 R10: fffffbfff16b2fd9 R11: 0000000000000000 R12: ffff8880aa040000 R13: ffffffff8a168ba0 R14: ffffffff81ada980 R15: ffffffff84f02eda kmalloc include/linux/slab.h:559 [inline] kzalloc include/linux/slab.h:666 [inline] team_port_add drivers/net/team/team.c:1185 [inline] team_add_slave+0x7ca/0x1a40 drivers/net/team/team.c:1967 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581 RIP: 5d6dc000:team_add_slave+0x0/0x1a40 Code: 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 fd e8 97 17 86 fc 48 89 ef 5d e9 be fa ff ff 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 <41> 57 41 56 41 55 41 54 49 bc 00 00 00 00 00 fc ff df 55 48 89 f5 RSP: 86714ea8:ffffc90006bc78c0 EFLAGS: ffffc90006bc7460 ORIG_RAX: ffff888060b72000 RAX: dffffc0000000000 RBX: ffff8880a86db020 RCX: ffffc90006099000 RDX: 1ffff1100badb8b3 RSI: ace2b3e621812c00 RDI: ffff8880a86db020 RBP: ffffffff84f02710 R08: 0000000000000000 R09: ffffffff8b14f0a7 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff89c029b9 R13: 0000000041b58ab3 R14: ffffc90006bc7460 R15: ffffc90006bc78c0 addr ffffc90006bc6e68 is located in stack of task syz-executor.0/12632 at offset 16 in frame: team_add_slave+0x0/0x1a40 drivers/net/team/team.c:387 this frame has 1 object: [32, 40) 'lag_upper_info' Memory state around the buggy address: ffffc90006bc6d00: f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90006bc6d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc90006bc6e00: 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 ^ ffffc90006bc6e80: f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90006bc6f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================