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: 16396 Comm: syz-executor.3 Not tainted 5.19.0-rc4-next-20220628-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
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:ffffc90000007918 EFLAGS: 00010006
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffc90001ca2000
RDX: 00000000000001f5 RSI: ffffffff853b0212 RDI: 0000000000000fa8
RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000008
R13: 0000000000000000 R14: 0000000000000001 R15: ffff88803c8e2640
FS: 00007f21b89dd700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020235030 CR3: 000000008603a000 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+0x367/0x410 drivers/usb/core/hcd.c:1747
dummy_timer+0x11ff/0x32c0 drivers/usb/gadget/udc/dummy_hcd.c:1988
call_timer_fn+0x1a0/0x6b0 kernel/time/timer.c:1474
expire_timers kernel/time/timer.c:1519 [inline]
__run_timers.part.0+0x674/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+0x1b/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__might_fault+0x2/0x170 mm/memory.c:5587
Code: c7 c0 e0 56 d8 89 48 c7 c1 30 c5 b1 81 48 c7 c2 d0 bd b1 81 e9 3f a5 2e 00 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 54 <41> 89 f4 55 48 89 fd 53 e8 41 f3 c8 ff 48 b8 00 00 00 00 00 fc ff
RSP: 0018:ffffc90002dcfa10 EFLAGS: 00000246
RAX: 0000000000040000 RBX: 0000000000000038 RCX: ffffc90003462000
RDX: 0000000000040000 RSI: 000000000000000d RDI: ffffffff8a2834c0
RBP: ffffc90002dcfa70 R08: ffffc90002dcfba8 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000001 R12: 1ffff920005b9f4a
R13: 0000000020235900 R14: dffffc0000000000 R15: 0000000020235900
_copy_from_user+0x25/0x170 lib/usercopy.c:13
copy_from_user include/linux/uaccess.h:152 [inline]
__copy_msghdr_from_user+0x91/0x4c0 net/socket.c:2366
copy_msghdr_from_user net/socket.c:2418 [inline]
recvmsg_copy_msghdr net/socket.c:2670 [inline]
___sys_recvmsg+0xd5/0x200 net/socket.c:2742
do_recvmmsg+0x254/0x6d0 net/socket.c:2840
__sys_recvmmsg net/socket.c:2919 [inline]
__do_sys_recvmmsg net/socket.c:2942 [inline]
__se_sys_recvmmsg net/socket.c:2935 [inline]
__x64_sys_recvmmsg+0x20b/0x260 net/socket.c:2935
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f21b9a89209
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f21b89dd168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f21b9b9c030 RCX: 00007f21b9a89209
RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003
RBP: 00007f21b9ae3161 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffe4bc1bcf R14: 00007f21b89dd300 R15: 0000000000022000
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:ffffc90000007918 EFLAGS: 00010006
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffc90001ca2000
RDX: 00000000000001f5 RSI: ffffffff853b0212 RDI: 0000000000000fa8
RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000008
R13: 0000000000000000 R14: 0000000000000001 R15: ffff88803c8e2640
FS: 00007f21b89dd700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020235030 CR3: 000000008603a000 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