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: 701 Comm: kworker/0:2 Not tainted 6.3.0-rc6-syzkaller-g8e86652e3e71 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Workqueue: usb_hub_wq hub_event Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 assign_lock_key kernel/locking/lockdep.c:982 [inline] register_lock_class+0xdb6/0x1120 kernel/locking/lockdep.c:1295 __lock_acquire+0x108/0x5d40 kernel/locking/lockdep.c:4935 lock_acquire kernel/locking/lockdep.c:5669 [inline] lock_acquire+0x1af/0x520 kernel/locking/lockdep.c:5634 __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:3683 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+0x13b6/0x3400 drivers/usb/gadget/udc/dummy_hcd.c:1988 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700 expire_timers+0x29b/0x4b0 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+0x1c1/0x8e8 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu kernel/softirq.c:650 [inline] irq_exit_rcu+0x11b/0x190 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200 Code: 16 88 e7 00 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 5d 1c b9 7e 89 c1 48 8b 34 24 81 e1 00 01 00 RSP: 0018:ffffc900025ef5e0 EFLAGS: 00000216 RAX: 0000000000038be2 RBX: 0000000000000200 RCX: ffffc9000c8eb000 RDX: 0000000000040000 RSI: ffffffff812f0155 RDI: 0000000000000007 RBP: ffffffff88114078 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000200 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff88114020 R14: dffffc0000000000 R15: 0000000000000001 console_emit_next_record arch/x86/include/asm/irqflags.h:42 [inline] console_flush_all+0x61b/0xcc0 kernel/printk/printk.c:2942 console_unlock+0xb8/0x1f0 kernel/printk/printk.c:3016 vprintk_emit+0x1bd/0x600 kernel/printk/printk.c:2316 dev_vprintk_emit drivers/base/core.c:4805 [inline] dev_printk_emit+0xda/0x120 drivers/base/core.c:4816 __dev_printk+0xf8/0x270 drivers/base/core.c:4828 _dev_info+0xdc/0x120 drivers/base/core.c:4874 usb_disconnect+0xe1/0x8a0 drivers/usb/core/hub.c:2220 hub_port_connect drivers/usb/core/hub.c:5246 [inline] hub_port_connect_change drivers/usb/core/hub.c:5551 [inline] port_event drivers/usb/core/hub.c:5711 [inline] hub_event+0x2073/0x4ed0 drivers/usb/core/hub.c:5793 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2ee/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: 0 PID: 701 Comm: kworker/0:2 Not tainted 6.3.0-rc6-syzkaller-g8e86652e3e71 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Workqueue: usb_hub_wq hub_event RIP: 0010:__skb_insert include/linux/skbuff.h:2184 [inline] RIP: 0010:__skb_queue_before include/linux/skbuff.h:2290 [inline] RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2323 [inline] RIP: 0010:skb_queue_tail+0xa2/0x150 net/core/skbuff.c:3684 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:ffffc900000079f8 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff8881157d3878 RCX: ffffffff812cf6f4 RDX: 0000000000000000 RSI: 0000000000000012 RDI: ffff88811152c788 RBP: ffff88811152c780 R08: 0000000000000001 R09: 0000000000000003 R10: fffff52000000f2d R11: 0000000000056001 R12: 0000000000000000 R13: ffff8881157d3890 R14: 000000010000e0b4 R15: ffffffff8357b230 FS: 0000000000000000(0000) GS:ffff8881f6600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f85ac861000 CR3: 00000001378df000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 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+0x13b6/0x3400 drivers/usb/gadget/udc/dummy_hcd.c:1988 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700 expire_timers+0x29b/0x4b0 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+0x1c1/0x8e8 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu kernel/softirq.c:650 [inline] irq_exit_rcu+0x11b/0x190 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200 Code: 16 88 e7 00 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 5d 1c b9 7e 89 c1 48 8b 34 24 81 e1 00 01 00 RSP: 0018:ffffc900025ef5e0 EFLAGS: 00000216 RAX: 0000000000038be2 RBX: 0000000000000200 RCX: ffffc9000c8eb000 RDX: 0000000000040000 RSI: ffffffff812f0155 RDI: 0000000000000007 RBP: ffffffff88114078 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000200 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff88114020 R14: dffffc0000000000 R15: 0000000000000001 console_emit_next_record arch/x86/include/asm/irqflags.h:42 [inline] console_flush_all+0x61b/0xcc0 kernel/printk/printk.c:2942 console_unlock+0xb8/0x1f0 kernel/printk/printk.c:3016 vprintk_emit+0x1bd/0x600 kernel/printk/printk.c:2316 dev_vprintk_emit drivers/base/core.c:4805 [inline] dev_printk_emit+0xda/0x120 drivers/base/core.c:4816 __dev_printk+0xf8/0x270 drivers/base/core.c:4828 _dev_info+0xdc/0x120 drivers/base/core.c:4874 usb_disconnect+0xe1/0x8a0 drivers/usb/core/hub.c:2220 hub_port_connect drivers/usb/core/hub.c:5246 [inline] hub_port_connect_change drivers/usb/core/hub.c:5551 [inline] port_event drivers/usb/core/hub.c:5711 [inline] hub_event+0x2073/0x4ed0 drivers/usb/core/hub.c:5793 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2ee/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:2184 [inline] RIP: 0010:__skb_queue_before include/linux/skbuff.h:2290 [inline] RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2323 [inline] RIP: 0010:skb_queue_tail+0xa2/0x150 net/core/skbuff.c:3684 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:ffffc900000079f8 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff8881157d3878 RCX: ffffffff812cf6f4 RDX: 0000000000000000 RSI: 0000000000000012 RDI: ffff88811152c788 RBP: ffff88811152c780 R08: 0000000000000001 R09: 0000000000000003 R10: fffff52000000f2d R11: 0000000000056001 R12: 0000000000000000 R13: ffff8881157d3890 R14: 000000010000e0b4 R15: ffffffff8357b230 FS: 0000000000000000(0000) GS:ffff8881f6600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f85ac861000 CR3: 00000001378df000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: e7 00 out %eax,$0x0 2: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 8: f3 0f 1e fa endbr64 c: 48 8b be a8 01 00 00 mov 0x1a8(%rsi),%rdi 13: e8 b0 ff ff ff callq 0xffffffc8 18: 31 c0 xor %eax,%eax 1a: c3 retq 1b: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 22: 00 00 00 00 26: 66 90 xchg %ax,%ax * 28: f3 0f 1e fa endbr64 <-- trapping instruction 2c: 65 8b 05 5d 1c b9 7e mov %gs:0x7eb91c5d(%rip),%eax # 0x7eb91c90 33: 89 c1 mov %eax,%ecx 35: 48 8b 34 24 mov (%rsp),%rsi 39: 81 .byte 0x81 3a: e1 00 loope 0x3c 3c: 01 00 add %eax,(%rax)