general protection fault, probably for non-canonical address 0xdffffc00000001f5: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000fa8-0x0000000000000faf]
CPU: 1 PID: 756 Comm: kworker/1:1H Not tainted 5.19.0-syzkaller-02972-g200e340f2196 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
Workqueue: events_highpri snd_vmidi_output_work
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:ffffc900001e0918 EFLAGS: 00010006
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffc90001f31000
RDX: 00000000000001f5 RSI: ffffffff8539a822 RDI: 0000000000000fa8
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000004
R13: 0000000000000000 R14: 0000000000000000 R15: ffff888055e8fc80
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020012000 CR3: 0000000021180000 CR4: 00000000003506e0
Call Trace:
__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: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+0x29b/0x9c2 kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:194
Code: 74 24 10 e8 4a 82 e3 f7 48 89 ef e8 e2 03 e4 f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 93 05 d7 f7 65 8b 05 8c 59 87 76 85 c0 74 0a 5b 5d c3 e8 70 13
RSP: 0018:ffffc90003bcfbe0 EFLAGS: 00000206
RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff20de93e
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff8880272ef820 R08: 0000000000000001 R09: ffffffff9068ea4f
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000007 R14: ffff8880272ef804 R15: ffff8880272ef820
spin_unlock_irqrestore include/linux/spinlock.h:404 [inline]
snd_midi_event_encode_byte sound/core/seq/seq_midi_event.c:239 [inline]
snd_midi_event_encode_byte+0x282/0xdc0 sound/core/seq/seq_midi_event.c:176
snd_vmidi_output_work+0x147/0x380 sound/core/seq/seq_virmidi.c:146
process_one_work+0x996/0x1610 kernel/workqueue.c:2289
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2e9/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:ffffc900001e0918 EFLAGS: 00010006
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffc90001f31000
RDX: 00000000000001f5 RSI: ffffffff8539a822 RDI: 0000000000000fa8
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000004
R13: 0000000000000000 R14: 0000000000000000 R15: ffff888055e8fc80
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020012000 CR3: 0000000021180000 CR4: 00000000003506e0
----------------
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