================================================================== BUG: KASAN: out-of-bounds in ath9k_hif_usb_rx_stream drivers/net/wireless/ath/ath9k/hif_usb.c:580 [inline] BUG: KASAN: out-of-bounds in ath9k_hif_usb_rx_cb+0xc67/0xf80 drivers/net/wireless/ath/ath9k/hif_usb.c:671 Read of size 4 at addr ffff8881cd08c09c by task ksoftirqd/0/9 CPU: 0 PID: 9 Comm: ksoftirqd/0 Not tainted 5.8.0-rc3-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+0xf6/0x16e lib/dump_stack.c:118 print_address_description.constprop.0+0x1a/0x210 mm/kasan/report.c:383 __kasan_report mm/kasan/report.c:513 [inline] kasan_report.cold+0x37/0x7c mm/kasan/report.c:530 ath9k_hif_usb_rx_stream drivers/net/wireless/ath/ath9k/hif_usb.c:580 [inline] ath9k_hif_usb_rx_cb+0xc67/0xf80 drivers/net/wireless/ath/ath9k/hif_usb.c:671 __usb_hcd_giveback_urb+0x32d/0x560 drivers/usb/core/hcd.c:1650 usb_hcd_giveback_urb+0x367/0x410 drivers/usb/core/hcd.c:1716 dummy_timer+0x11f2/0x3240 drivers/usb/gadget/udc/dummy_hcd.c:1967 call_timer_fn+0x1ac/0x6e0 kernel/time/timer.c:1404 expire_timers kernel/time/timer.c:1449 [inline] __run_timers.part.0+0x54c/0x9e0 kernel/time/timer.c:1773 __run_timers kernel/time/timer.c:1745 [inline] run_timer_softirq+0x80/0x120 kernel/time/timer.c:1786 __do_softirq+0x222/0x95b kernel/softirq.c:292 run_ksoftirqd kernel/softirq.c:630 [inline] run_ksoftirqd+0x1f/0x40 kernel/softirq.c:622 smpboot_thread_fn+0x3ec/0x870 kernel/smpboot.c:165 kthread+0x392/0x470 kernel/kthread.c:291 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293 general protection fault, probably for non-canonical address 0xdead000000000400: 0000 [#1] SMP KASAN CPU: 0 PID: 9 Comm: ksoftirqd/0 Not tainted 5.8.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:nearest_obj include/linux/slub_def.h:176 [inline] RIP: 0010:print_address_description.constprop.0+0x18e/0x210 mm/kasan/report.c:388 Code: c4 60 5b 5d 41 5c 41 5d c3 4c 89 e6 48 2b 35 b9 da a3 05 48 89 e8 49 8b 5c 24 18 48 c1 fe 06 48 c1 e6 0c 48 03 35 b2 da a3 05 <8b> 4b 18 48 29 f0 48 99 48 89 cf 48 f7 f9 41 0f b7 44 24 2a 48 89 RSP: 0018:ffff8881da2076b8 EFLAGS: 00010086 RAX: ffff8881cd08c09c RBX: dead000000000400 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffff8881cd08c000 RDI: ffffed103b440ec9 RBP: ffff8881cd08c09c R08: 0000000000000000 R09: ffff8881db21fe8b R10: 0000000000000000 R11: 0000000000000002 R12: ffffea0007342300 R13: ffffffff82e1fd37 R14: ffffffff82e1fd37 R15: ffff8881cc8ab340 FS: 0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbd39b52000 CR3: 00000001c8ccd000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __kasan_report mm/kasan/report.c:513 [inline] kasan_report.cold+0x37/0x7c mm/kasan/report.c:530 ath9k_hif_usb_rx_stream drivers/net/wireless/ath/ath9k/hif_usb.c:580 [inline] ath9k_hif_usb_rx_cb+0xc67/0xf80 drivers/net/wireless/ath/ath9k/hif_usb.c:671 __usb_hcd_giveback_urb+0x32d/0x560 drivers/usb/core/hcd.c:1650 usb_hcd_giveback_urb+0x367/0x410 drivers/usb/core/hcd.c:1716 dummy_timer+0x11f2/0x3240 drivers/usb/gadget/udc/dummy_hcd.c:1967 call_timer_fn+0x1ac/0x6e0 kernel/time/timer.c:1404 expire_timers kernel/time/timer.c:1449 [inline] __run_timers.part.0+0x54c/0x9e0 kernel/time/timer.c:1773 __run_timers kernel/time/timer.c:1745 [inline] run_timer_softirq+0x80/0x120 kernel/time/timer.c:1786 __do_softirq+0x222/0x95b kernel/softirq.c:292 run_ksoftirqd kernel/softirq.c:630 [inline] run_ksoftirqd+0x1f/0x40 kernel/softirq.c:622 smpboot_thread_fn+0x3ec/0x870 kernel/smpboot.c:165 kthread+0x392/0x470 kernel/kthread.c:291 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293 Modules linked in: ---[ end trace 2488d0d8c2b5306b ]--- RIP: 0010:nearest_obj include/linux/slub_def.h:176 [inline] RIP: 0010:print_address_description.constprop.0+0x18e/0x210 mm/kasan/report.c:388 Code: c4 60 5b 5d 41 5c 41 5d c3 4c 89 e6 48 2b 35 b9 da a3 05 48 89 e8 49 8b 5c 24 18 48 c1 fe 06 48 c1 e6 0c 48 03 35 b2 da a3 05 <8b> 4b 18 48 29 f0 48 99 48 89 cf 48 f7 f9 41 0f b7 44 24 2a 48 89 RSP: 0018:ffff8881da2076b8 EFLAGS: 00010086 RAX: ffff8881cd08c09c RBX: dead000000000400 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffff8881cd08c000 RDI: ffffed103b440ec9 RBP: ffff8881cd08c09c R08: 0000000000000000 R09: ffff8881db21fe8b R10: 0000000000000000 R11: 0000000000000002 R12: ffffea0007342300 R13: ffffffff82e1fd37 R14: ffffffff82e1fd37 R15: ffff8881cc8ab340 FS: 0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbd39b52000 CR3: 00000001c8ccd000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400