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: 0 PID: 4951 Comm: kworker/0:4 Not tainted 5.13.0-rc2-next-20210518-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x13e/0x1d6 lib/dump_stack.c:129
assign_lock_key kernel/locking/lockdep.c:937 [inline]
register_lock_class+0x1077/0x1180 kernel/locking/lockdep.c:1249
__lock_acquire+0x102/0x5230 kernel/locking/lockdep.c:4781
lock_acquire kernel/locking/lockdep.c:5512 [inline]
lock_acquire+0x1ab/0x740 kernel/locking/lockdep.c:5477
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:159
skb_queue_tail+0x21/0x140 net/core/skbuff.c:3241
ath9k_htc_txep+0x287/0x400 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:712
ath9k_htc_txcompletion_cb+0x1cd/0x2f0 drivers/net/wireless/ath/ath9k/htc_hst.c:348
hif_usb_regout_cb+0x115/0x1c0 drivers/net/wireless/ath/ath9k/hif_usb.c:90
__usb_hcd_giveback_urb+0x2b0/0x5c0 drivers/usb/core/hcd.c:1656
usb_hcd_giveback_urb+0x367/0x410 drivers/usb/core/hcd.c:1726
dummy_timer+0x11f9/0x32b0 drivers/usb/gadget/udc/dummy_hcd.c:1978
call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1417
expire_timers kernel/time/timer.c:1462 [inline]
__run_timers.part.0+0x67c/0xa50 kernel/time/timer.c:1731
__run_timers kernel/time/timer.c:1712 [inline]
run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1744
__do_softirq+0x29b/0x9fb kernel/softirq.c:559
invoke_softirq kernel/softirq.c:433 [inline]
__irq_exit_rcu+0x136/0x200 kernel/softirq.c:637
irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:647
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:197
Code: 01 f0 4d 89 03 e9 63 fd ff ff b9 ff ff ff ff ba 08 00 00 00 4d 8b 03 48 0f bd ca 49 8b 45 00 48 63 c9 e9 64 ff ff ff 0f 1f 00 <65> 8b 05 e9 1b 8c 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b
RSP: 0018:ffffc9000166f5c8 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888018ee3900 RSI: ffffffff815d8c43 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff90440967
R10: ffffffff815d8c39 R11: 0000000000000000 R12: ffffffff84c07930
R13: 0000000000000200 R14: dffffc0000000000 R15: ffffc9000166f628
console_unlock+0x7c9/0xc40 kernel/printk/printk.c:2654
vprintk_emit+0x1ca/0x560 kernel/printk/printk.c:2175
dev_vprintk_emit+0x36e/0x3b2 drivers/base/core.c:4521
dev_printk_emit+0xba/0xf1 drivers/base/core.c:4532
__dev_printk+0xcf/0xf5 drivers/base/core.c:4544
_dev_info+0xd7/0x109 drivers/base/core.c:4590
usb_disconnect.cold+0x25/0x78e drivers/usb/core/hub.c:2201
hub_port_connect drivers/usb/core/hub.c:5127 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5416 [inline]
port_event drivers/usb/core/hub.c:5562 [inline]
hub_event+0x1c9c/0x4330 drivers/usb/core/hub.c:5644
process_one_work+0x98d/0x1600 kernel/workqueue.c:2275
worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
kthread+0x3b1/0x4a0 kernel/kthread.c:313
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 PID: 4951 Comm: kworker/0:4 Not tainted 5.13.0-rc2-next-20210518-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
RIP: 0010:__skb_insert include/linux/skbuff.h:1932 [inline]
RIP: 0010:__skb_queue_before include/linux/skbuff.h:2038 [inline]
RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2071 [inline]
RIP: 0010:skb_queue_tail+0x9a/0x140 net/core/skbuff.c:3242
Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 7b 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 4a 48 8d 7b 10 49 89 2c 24 48 b8 00 00 00 00 00 fc
RSP: 0018:ffffc900000079d8 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffff88801dd13670 RCX: ffffffff815bcfe0
RDX: 0000000000000000 RSI: 0000000000000046 RDI: ffff888013fb6a08
RBP: ffff888013fb6a00 R08: 0000000000000001 R09: 0000000000000003
R10: fffff52000000f29 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88801dd13688 R14: 00000000ffffa5e0 R15: ffffffff8503ae00
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004bc438 CR3: 000000000be8e000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ath9k_htc_txep+0x287/0x400 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:712
ath9k_htc_txcompletion_cb+0x1cd/0x2f0 drivers/net/wireless/ath/ath9k/htc_hst.c:348
hif_usb_regout_cb+0x115/0x1c0 drivers/net/wireless/ath/ath9k/hif_usb.c:90
__usb_hcd_giveback_urb+0x2b0/0x5c0 drivers/usb/core/hcd.c:1656
usb_hcd_giveback_urb+0x367/0x410 drivers/usb/core/hcd.c:1726
dummy_timer+0x11f9/0x32b0 drivers/usb/gadget/udc/dummy_hcd.c:1978
call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1417
expire_timers kernel/time/timer.c:1462 [inline]
__run_timers.part.0+0x67c/0xa50 kernel/time/timer.c:1731
__run_timers kernel/time/timer.c:1712 [inline]
run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1744
__do_softirq+0x29b/0x9fb kernel/softirq.c:559
invoke_softirq kernel/softirq.c:433 [inline]
__irq_exit_rcu+0x136/0x200 kernel/softirq.c:637
irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:647
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:197
Code: 01 f0 4d 89 03 e9 63 fd ff ff b9 ff ff ff ff ba 08 00 00 00 4d 8b 03 48 0f bd ca 49 8b 45 00 48 63 c9 e9 64 ff ff ff 0f 1f 00 <65> 8b 05 e9 1b 8c 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b
RSP: 0018:ffffc9000166f5c8 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888018ee3900 RSI: ffffffff815d8c43 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff90440967
R10: ffffffff815d8c39 R11: 0000000000000000 R12: ffffffff84c07930
R13: 0000000000000200 R14: dffffc0000000000 R15: ffffc9000166f628
console_unlock+0x7c9/0xc40 kernel/printk/printk.c:2654
vprintk_emit+0x1ca/0x560 kernel/printk/printk.c:2175
dev_vprintk_emit+0x36e/0x3b2 drivers/base/core.c:4521
dev_printk_emit+0xba/0xf1 drivers/base/core.c:4532
__dev_printk+0xcf/0xf5 drivers/base/core.c:4544
_dev_info+0xd7/0x109 drivers/base/core.c:4590
usb_disconnect.cold+0x25/0x78e drivers/usb/core/hub.c:2201
hub_port_connect drivers/usb/core/hub.c:5127 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5416 [inline]
port_event drivers/usb/core/hub.c:5562 [inline]
hub_event+0x1c9c/0x4330 drivers/usb/core/hub.c:5644
process_one_work+0x98d/0x1600 kernel/workqueue.c:2275
worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
kthread+0x3b1/0x4a0 kernel/kthread.c:313
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Modules linked in:
---[ end trace ae5dd16f08f1e282 ]---
RIP: 0010:__skb_insert include/linux/skbuff.h:1932 [inline]
RIP: 0010:__skb_queue_before include/linux/skbuff.h:2038 [inline]
RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2071 [inline]
RIP: 0010:skb_queue_tail+0x9a/0x140 net/core/skbuff.c:3242
Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 7b 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 4a 48 8d 7b 10 49 89 2c 24 48 b8 00 00 00 00 00 fc
RSP: 0018:ffffc900000079d8 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffff88801dd13670 RCX: ffffffff815bcfe0
RDX: 0000000000000000 RSI: 0000000000000046 RDI: ffff888013fb6a08
RBP: ffff888013fb6a00 R08: 0000000000000001 R09: 0000000000000003
R10: fffff52000000f29 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88801dd13688 R14: 00000000ffffa5e0 R15: ffffffff8503ae00
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004bc438 CR3: 000000000be8e000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400