================================================================== BUG: KASAN: slab-out-of-bounds in ath9k_hif_usb_rx_stream drivers/net/wireless/ath/ath9k/hif_usb.c:643 [inline] BUG: KASAN: slab-out-of-bounds in ath9k_hif_usb_rx_cb+0xea7/0x10d0 drivers/net/wireless/ath/ath9k/hif_usb.c:687 Read of size 4 at addr ffff8880161c4348 by task swapper/0/0 CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 5.17.0-syzkaller-12817-gcffb2b72d3ed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 print_address_description.constprop.0.cold+0xeb/0x495 mm/kasan/report.c:313 print_report mm/kasan/report.c:429 [inline] kasan_report.cold+0xf4/0x1c6 mm/kasan/report.c:491 ath9k_hif_usb_rx_stream drivers/net/wireless/ath/ath9k/hif_usb.c:643 [inline] ath9k_hif_usb_rx_cb+0xea7/0x10d0 drivers/net/wireless/ath/ath9k/hif_usb.c:687 __usb_hcd_giveback_urb+0x2b0/0x5c0 drivers/usb/core/hcd.c:1670 usb_hcd_giveback_urb+0x367/0x410 drivers/usb/core/hcd.c:1747 dummy_timer+0x11f9/0x32b0 drivers/usb/gadget/udc/dummy_hcd.c:1988 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x67c/0xa30 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:116 [inline] RIP: 0010:acpi_idle_do_entry+0x1c6/0x250 drivers/acpi/processor_idle.c:556 Code: 89 de e8 1d e3 17 f8 84 db 75 ac e8 34 df 17 f8 e8 af 26 1e f8 eb 0c e8 28 df 17 f8 0f 00 2d 11 60 d1 00 e8 1c df 17 f8 fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 97 e1 17 f8 48 85 db RSP: 0018:ffffffff8ba07d60 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffffffff8babc700 RSI: ffffffff8960bc54 RDI: ffffffff8960bc41 RBP: ffff888145b8c864 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817ee328 R11: 0000000000000000 R12: 0000000000000001 R13: ffff888145b8c800 R14: ffff888145b8c864 R15: ffff888146187804 ---------------- Code disassembly (best guess): 0: 89 de mov %ebx,%esi 2: e8 1d e3 17 f8 callq 0xf817e324 7: 84 db test %bl,%bl 9: 75 ac jne 0xffffffb7 b: e8 34 df 17 f8 callq 0xf817df44 10: e8 af 26 1e f8 callq 0xf81e26c4 15: eb 0c jmp 0x23 17: e8 28 df 17 f8 callq 0xf817df44 1c: 0f 00 2d 11 60 d1 00 verw 0xd16011(%rip) # 0xd16034 23: e8 1c df 17 f8 callq 0xf817df44 28: fb sti 29: f4 hlt * 2a: 9c pushfq <-- trapping instruction 2b: 5b pop %rbx 2c: 81 e3 00 02 00 00 and $0x200,%ebx 32: fa cli 33: 31 ff xor %edi,%edi 35: 48 89 de mov %rbx,%rsi 38: e8 97 e1 17 f8 callq 0xf817e1d4 3d: 48 85 db test %rbx,%rbx