================================================================== 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 ffffc900084d7470 by task syz-executor.5/27777 CPU: 1 PID: 27777 Comm: syz-executor.5 Not tainted 5.8.0-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+0x18f/0x20d 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 arch_stack_walk+0x81/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:123 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_set_track+0x1c/0x30 mm/kasan/common.c:56 kasan_set_free_info+0x1b/0x30 mm/kasan/generic.c:355 __kasan_slab_free+0xd8/0x120 mm/kasan/common.c:422 __cache_free mm/slab.c:3418 [inline] kfree+0x103/0x2c0 mm/slab.c:3756 security_cred_free+0xc3/0x130 security/security.c:1625 put_cred_rcu+0x122/0x4a0 kernel/cred.c:114 rcu_do_batch kernel/rcu/tree.c:2428 [inline] rcu_core+0x5c7/0x1190 kernel/rcu/tree.c:2656 __do_softirq+0x2de/0xa24 kernel/softirq.c:298 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:706 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline] do_softirq_own_stack+0x9d/0xd0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x1f3/0x230 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x51/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+0xdf/0x8e0 kernel/locking/lockdep.c:5019 Code: 34 b6 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 05 07 00 00 48 83 3d 48 c5 5b 08 00 0f 84 4d 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:ffffc900084d7218 EFLAGS: 00000286 RAX: 1ffffffff136c690 RBX: ffff8880235dc280 RCX: ffffffff815a218b RDX: dffffc0000000000 RSI: ffffffff81ab0f50 RDI: ffff8880235dcb4c RBP: 1ffff9200109ae46 R08: 0000000000000000 R09: 0000000000000000 R10: fffffbfff18bdf46 R11: 0000000000000000 R12: ffffffff89c85100 R13: ffffffff81ab0f50 R14: 0000000000000000 R15: ffffffff851839f8 kmalloc include/linux/slab.h:559 [inline] kzalloc include/linux/slab.h:666 [inline] rh_call_control drivers/usb/core/hcd.c:514 [inline] rh_urb_enqueue drivers/usb/core/hcd.c:842 [inline] usb_hcd_submit_urb+0x678/0x2220 drivers/usb/core/hcd.c:1543 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 9e13e400:0x1 Code: Bad RIP value. RSP: 815a9c00:ffff888217998000 EFLAGS: ffffffff8518a42e ORIG_RAX: 0000000000000040 RAX: ffff8880235dc280 RBX: ffffffff87f1815f RCX: f97b338be55f3300 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff87f18047 R08: 00000000000027c5 R09: ffff8880235dc280 R10: ffff8880ae720d70 R11: ffff8880ae720d70 R12: ffffffff8151b408 R13: ffffffff8151b408 R14: ffffffff812a6eca R15: ffffffff81331e24 addr ffffc900084d7470 is located in stack of task syz-executor.5/27777 at offset 160 in frame: usb_hcd_submit_urb+0x0/0x2220 drivers/usb/core/hcd.c:2649 this frame has 1 object: [48, 148) 'buf' Memory state around the buggy address: ffffc900084d7300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc900084d7380: 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 f1 f1 >ffffc900084d7400: 00 00 00 00 00 00 00 00 00 00 00 00 04 f3 f3 f3 ^ ffffc900084d7480: f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc900084d7500: 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 ==================================================================