INFO: trying to register non-static key.
The code is fine but needs lockdep annotation, or maybe
you didn't initialize this object before use?
turning off the locking correctness validator.
CPU: 1 PID: 11958 Comm: kworker/1:25 Not tainted 6.2.0-rc5-syzkaller-00020-g7bf70dbb1882 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Workqueue: usb_hub_wq hub_event
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106
assign_lock_key kernel/locking/lockdep.c:981 [inline]
register_lock_class+0xf1b/0x1120 kernel/locking/lockdep.c:1294
__lock_acquire+0x109/0x56d0 kernel/locking/lockdep.c:4934
lock_acquire kernel/locking/lockdep.c:5668 [inline]
lock_acquire+0x1e3/0x630 kernel/locking/lockdep.c:5633
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x3d/0x60 kernel/locking/spinlock.c:162
skb_queue_tail+0x25/0x150 net/core/skbuff.c:3572
ath9k_htc_txep+0x28b/0x400 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:712
ath9k_htc_txcompletion_cb+0x1d1/0x2f0 drivers/net/wireless/ath/ath9k/htc_hst.c:353
hif_usb_regout_cb+0x119/0x1d0 drivers/net/wireless/ath/ath9k/hif_usb.c:90
__usb_hcd_giveback_urb+0x2b6/0x5c0 drivers/usb/core/hcd.c:1671
usb_hcd_giveback_urb+0x384/0x430 drivers/usb/core/hcd.c:1754
dummy_timer+0x1203/0x32d0 drivers/usb/gadget/udc/dummy_hcd.c:1988
call_timer_fn+0x1da/0x7c0 kernel/time/timer.c:1700
expire_timers+0x2c6/0x5c0 kernel/time/timer.c:1751
__run_timers kernel/time/timer.c:2022 [inline]
__run_timers kernel/time/timer.c:1995 [inline]
run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035
__do_softirq+0x1fb/0xadc kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200
Code: c6 f8 89 02 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be a8 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1e fa 65 8b 05 cd 4a 82 7e 89 c1 48 8b 34 24 81 e1 00 01 00
RSP: 0018:ffffc90004f6f4a0 EFLAGS: 00000216
RAX: 0000000000002d18 RBX: 0000000000000000 RCX: ffffc900157bb000
RDX: 0000000000040000 RSI: ffffffff81662a7a RDI: 0000000000000007
RBP: ffffc90004f6f6a8 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000000000 R12: 0000000000000001
R13: ffffffff91bc8f20 R14: 0000000000000200 R15: 0000000000000000
console_emit_next_record.constprop.0+0x550/0x890 arch/x86/include/asm/irqflags.h:45
console_flush_all+0x547/0x6e0 kernel/printk/printk.c:2889
console_unlock+0xb8/0x1f0 kernel/printk/printk.c:2966
vprintk_emit+0x1bd/0x600 kernel/printk/printk.c:2359
dev_vprintk_emit+0x372/0x3b6 drivers/base/core.c:4698
dev_printk_emit+0xbe/0xf5 drivers/base/core.c:4709
__dev_printk+0xcf/0xf5 drivers/base/core.c:4721
_dev_info+0xdb/0x10d drivers/base/core.c:4767
usb_disconnect.cold+0x25/0x6ed drivers/usb/core/hub.c:2220
hub_port_connect drivers/usb/core/hub.c:5247 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5552 [inline]
port_event drivers/usb/core/hub.c:5712 [inline]
hub_event+0x1fb5/0x4810 drivers/usb/core/hub.c:5794
process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289
worker_thread+0x669/0x1090 kernel/workqueue.c:2436
kthread+0x2e8/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 11958 Comm: kworker/1:25 Not tainted 6.2.0-rc5-syzkaller-00020-g7bf70dbb1882 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Workqueue: usb_hub_wq hub_event
RIP: 0010:__skb_insert include/linux/skbuff.h:2170 [inline]
RIP: 0010:__skb_queue_before include/linux/skbuff.h:2276 [inline]
RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2309 [inline]
RIP: 0010:skb_queue_tail+0xa2/0x150 net/core/skbuff.c:3573
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 80 00 00 00 4c 89 e2 4c 89 65 08 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 48 89 6b 08 <80> 3c 02 00 75 4f 48 8d 7b 10 49 89 2c 24 48 b8 00 00 00 00 00 fc
RSP: 0018:ffffc900001e09c0 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffff88802096b9f0 RCX: ffffffff816467b4
RDX: 0000000000000000 RSI: 0000000000000016 RDI: ffff8880266083c8
RBP: ffff8880266083c0 R08: 0000000000000001 R09: 0000000000000003
R10: fffff5200003c126 R11: 0000000000000001 R12: 0000000000000000
R13: ffff88802096ba08 R14: 000000010001678d R15: ffffffff85afc690
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555557288848 CR3: 000000007b5bd000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
ath9k_htc_txep+0x28b/0x400 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:712
ath9k_htc_txcompletion_cb+0x1d1/0x2f0 drivers/net/wireless/ath/ath9k/htc_hst.c:353
hif_usb_regout_cb+0x119/0x1d0 drivers/net/wireless/ath/ath9k/hif_usb.c:90
__usb_hcd_giveback_urb+0x2b6/0x5c0 drivers/usb/core/hcd.c:1671
usb_hcd_giveback_urb+0x384/0x430 drivers/usb/core/hcd.c:1754
dummy_timer+0x1203/0x32d0 drivers/usb/gadget/udc/dummy_hcd.c:1988
call_timer_fn+0x1da/0x7c0 kernel/time/timer.c:1700
expire_timers+0x2c6/0x5c0 kernel/time/timer.c:1751
__run_timers kernel/time/timer.c:2022 [inline]
__run_timers kernel/time/timer.c:1995 [inline]
run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035
__do_softirq+0x1fb/0xadc kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200
Code: c6 f8 89 02 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be a8 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1e fa 65 8b 05 cd 4a 82 7e 89 c1 48 8b 34 24 81 e1 00 01 00
RSP: 0018:ffffc90004f6f4a0 EFLAGS: 00000216
RAX: 0000000000002d18 RBX: 0000000000000000 RCX: ffffc900157bb000
RDX: 0000000000040000 RSI: ffffffff81662a7a RDI: 0000000000000007
RBP: ffffc90004f6f6a8 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000000000 R12: 0000000000000001
R13: ffffffff91bc8f20 R14: 0000000000000200 R15: 0000000000000000
console_emit_next_record.constprop.0+0x550/0x890 arch/x86/include/asm/irqflags.h:45
console_flush_all+0x547/0x6e0 kernel/printk/printk.c:2889
console_unlock+0xb8/0x1f0 kernel/printk/printk.c:2966
vprintk_emit+0x1bd/0x600 kernel/printk/printk.c:2359
dev_vprintk_emit+0x372/0x3b6 drivers/base/core.c:4698
dev_printk_emit+0xbe/0xf5 drivers/base/core.c:4709
__dev_printk+0xcf/0xf5 drivers/base/core.c:4721
_dev_info+0xdb/0x10d drivers/base/core.c:4767
usb_disconnect.cold+0x25/0x6ed drivers/usb/core/hub.c:2220
hub_port_connect drivers/usb/core/hub.c:5247 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5552 [inline]
port_event drivers/usb/core/hub.c:5712 [inline]
hub_event+0x1fb5/0x4810 drivers/usb/core/hub.c:5794
process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289
worker_thread+0x669/0x1090 kernel/workqueue.c:2436
kthread+0x2e8/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__skb_insert include/linux/skbuff.h:2170 [inline]
RIP: 0010:__skb_queue_before include/linux/skbuff.h:2276 [inline]
RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2309 [inline]
RIP: 0010:skb_queue_tail+0xa2/0x150 net/core/skbuff.c:3573
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 80 00 00 00 4c 89 e2 4c 89 65 08 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 48 89 6b 08 <80> 3c 02 00 75 4f 48 8d 7b 10 49 89 2c 24 48 b8 00 00 00 00 00 fc
RSP: 0018:ffffc900001e09c0 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffff88802096b9f0 RCX: ffffffff816467b4
RDX: 0000000000000000 RSI: 0000000000000016 RDI: ffff8880266083c8
RBP: ffff8880266083c0 R08: 0000000000000001 R09: 0000000000000003
R10: fffff5200003c126 R11: 0000000000000001 R12: 0000000000000000
R13: ffff88802096ba08 R14: 000000010001678d R15: ffffffff85afc690
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555557288848 CR3: 000000007b5bd000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
0: f8 clc
1: 89 02 mov %eax,(%rdx)
3: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1)
9: f3 0f 1e fa endbr64
d: 48 8b be a8 01 00 00 mov 0x1a8(%rsi),%rdi
14: e8 b0 ff ff ff callq 0xffffffc9
19: 31 c0 xor %eax,%eax
1b: c3 retq
1c: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1)
23: 00 00 00 00
27: 66 90 xchg %ax,%ax
* 29: f3 0f 1e fa endbr64 <-- trapping instruction
2d: 65 8b 05 cd 4a 82 7e mov %gs:0x7e824acd(%rip),%eax # 0x7e824b01
34: 89 c1 mov %eax,%ecx
36: 48 8b 34 24 mov (%rsp),%rsi
3a: 81 .byte 0x81
3b: e1 00 loope 0x3d
3d: 01 00 add %eax,(%rax)