general protection fault, probably for non-canonical address 0xdffffc00000001f5: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000fa8-0x0000000000000faf] CPU: 0 PID: 10292 Comm: kworker/0:0 Not tainted 5.19.0-rc7-syzkaller-00199-g8288c99fc263 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Workqueue: usb_hub_wq hub_event RIP: 0010:ath9k_hif_usb_rx_stream drivers/net/wireless/ath/ath9k/hif_usb.c:642 [inline] RIP: 0010:ath9k_hif_usb_rx_cb+0x87a/0x10d0 drivers/net/wireless/ath/ath9k/hif_usb.c:686 Code: 00 00 00 48 8d 78 08 48 89 fa 48 c1 ea 03 80 3c 1a 00 0f 85 b8 05 00 00 48 8b 40 08 48 8d b8 a8 0f 00 00 48 89 fa 48 c1 ea 03 <0f> b6 14 1a 84 d2 74 09 80 fa 03 0f 8e 0f 06 00 00 83 80 a8 0f 00 RSP: 0018:ffffc90000007920 EFLAGS: 00010006 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffc90000c01000 RDX: 00000000000001f5 RSI: ffffffff8329e212 RDI: 0000000000000fa8 RBP: 00000000000000c3 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 00000000000000c8 R13: 0000000000000000 R14: 00000000000000c3 R15: ffff88810eba6a00 FS: 0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5a99ac2718 CR3: 0000000136344000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __usb_hcd_giveback_urb+0x2b0/0x5c0 drivers/usb/core/hcd.c:1670 usb_hcd_giveback_urb+0x380/0x430 drivers/usb/core/hcd.c:1753 dummy_timer+0x11f9/0x32b0 drivers/usb/gadget/udc/dummy_hcd.c:1988 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1474 expire_timers kernel/time/timer.c:1519 [inline] __run_timers.part.0+0x679/0xa80 kernel/time/timer.c:1790 __run_timers kernel/time/timer.c:1768 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1803 __do_softirq+0x288/0x9a5 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x113/0x170 kernel/softirq.c:650 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:200 Code: 48 89 ef 5d e9 11 56 34 00 5d be 03 00 00 00 e9 c6 49 d0 00 66 0f 1f 44 00 00 48 8b be a8 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 <65> 8b 05 89 45 bd 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b RSP: 0018:ffffc9000d126560 EFLAGS: 00000246 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc9000c7fc000 RDX: 0000000000040000 RSI: ffffffff812bdfc5 RDI: 0000000000000007 RBP: ffffc9000d126708 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000200 R11: 0000000000000001 R12: 0000000000000001 R13: ffffffff8b8d8ae0 R14: 0000000000000200 R15: ffffffff87ec7f38 console_emit_next_record.constprop.0+0x4fb/0x840 arch/x86/include/asm/irqflags.h:45 console_flush_all kernel/printk/printk.c:2794 [inline] console_unlock+0x37a/0x5a0 kernel/printk/printk.c:2861 vprintk_emit+0x1b9/0x5f0 kernel/printk/printk.c:2271 dev_vprintk_emit+0x36e/0x3b2 drivers/base/core.c:4627 dev_printk_emit+0xba/0xf1 drivers/base/core.c:4638 __dev_printk+0xcf/0xf5 drivers/base/core.c:4650 _dev_info+0xd7/0x109 drivers/base/core.c:4696 hid_connect.cold+0x84/0xfd drivers/hid/hid-core.c:2238 hid_hw_start drivers/hid/hid-core.c:2277 [inline] hid_hw_start+0xa2/0x130 drivers/hid/hid-core.c:2268 ms_probe+0x159/0x4c0 drivers/hid/hid-microsoft.c:391 hid_device_probe+0x2bd/0x3f0 drivers/hid/hid-core.c:2598 call_driver_probe drivers/base/dd.c:555 [inline] really_probe+0x23e/0xb90 drivers/base/dd.c:634 __driver_probe_device+0x338/0x4d0 drivers/base/dd.c:764 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:794 __device_attach_driver+0x20b/0x2f0 drivers/base/dd.c:917 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:427 __device_attach+0x1e4/0x530 drivers/base/dd.c:989 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:487 device_add+0xbda/0x1ea0 drivers/base/core.c:3428 hid_add_device+0x344/0x9d0 drivers/hid/hid-core.c:2748 usbhid_probe+0xb49/0x1040 drivers/hid/usbhid/hid-core.c:1424 usb_probe_interface+0x315/0x7f0 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:555 [inline] really_probe+0x23e/0xb90 drivers/base/dd.c:634 __driver_probe_device+0x338/0x4d0 drivers/base/dd.c:764 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:794 __device_attach_driver+0x20b/0x2f0 drivers/base/dd.c:917 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:427 __device_attach+0x1e4/0x530 drivers/base/dd.c:989 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:487 device_add+0xbda/0x1ea0 drivers/base/core.c:3428 usb_set_configuration+0x101e/0x1900 drivers/usb/core/message.c:2170 usb_generic_driver_probe+0xba/0x100 drivers/usb/core/generic.c:238 usb_probe_device+0xd9/0x2c0 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:555 [inline] really_probe+0x23e/0xb90 drivers/base/dd.c:634 __driver_probe_device+0x338/0x4d0 drivers/base/dd.c:764 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:794 __device_attach_driver+0x20b/0x2f0 drivers/base/dd.c:917 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:427 __device_attach+0x1e4/0x530 drivers/base/dd.c:989 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:487 device_add+0xbda/0x1ea0 drivers/base/core.c:3428 usb_new_device.cold+0x641/0x1091 drivers/usb/core/hub.c:2573 hub_port_connect drivers/usb/core/hub.c:5353 [inline] hub_port_connect_change drivers/usb/core/hub.c:5497 [inline] port_event drivers/usb/core/hub.c:5653 [inline] hub_event+0x25d5/0x4690 drivers/usb/core/hub.c:5735 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2ef/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ath9k_hif_usb_rx_stream drivers/net/wireless/ath/ath9k/hif_usb.c:642 [inline] RIP: 0010:ath9k_hif_usb_rx_cb+0x87a/0x10d0 drivers/net/wireless/ath/ath9k/hif_usb.c:686 Code: 00 00 00 48 8d 78 08 48 89 fa 48 c1 ea 03 80 3c 1a 00 0f 85 b8 05 00 00 48 8b 40 08 48 8d b8 a8 0f 00 00 48 89 fa 48 c1 ea 03 <0f> b6 14 1a 84 d2 74 09 80 fa 03 0f 8e 0f 06 00 00 83 80 a8 0f 00 RSP: 0018:ffffc90000007920 EFLAGS: 00010006 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffc90000c01000 RDX: 00000000000001f5 RSI: ffffffff8329e212 RDI: 0000000000000fa8 RBP: 00000000000000c3 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 00000000000000c8 R13: 0000000000000000 R14: 00000000000000c3 R15: ffff88810eba6a00 FS: 0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5a99ac2718 CR3: 0000000136344000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 48 8d add %cl,-0x73(%rax) 5: 78 08 js 0xf 7: 48 89 fa mov %rdi,%rdx a: 48 c1 ea 03 shr $0x3,%rdx e: 80 3c 1a 00 cmpb $0x0,(%rdx,%rbx,1) 12: 0f 85 b8 05 00 00 jne 0x5d0 18: 48 8b 40 08 mov 0x8(%rax),%rax 1c: 48 8d b8 a8 0f 00 00 lea 0xfa8(%rax),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 14 1a movzbl (%rdx,%rbx,1),%edx <-- trapping instruction 2e: 84 d2 test %dl,%dl 30: 74 09 je 0x3b 32: 80 fa 03 cmp $0x3,%dl 35: 0f 8e 0f 06 00 00 jle 0x64a 3b: 83 .byte 0x83 3c: 80 .byte 0x80 3d: a8 0f test $0xf,%al