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: 11749 Comm: syz-executor.4 Not tainted 5.18.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 assign_lock_key kernel/locking/lockdep.c:949 [inline] register_lock_class+0xf04/0x11b0 kernel/locking/lockdep.c:1262 __lock_acquire+0x10a/0x56c0 kernel/locking/lockdep.c:4908 lock_acquire kernel/locking/lockdep.c:5641 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5606 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 skb_queue_tail+0x21/0x140 net/core/skbuff.c:3373 ath9k_htc_txep+0x287/0x400 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:712 ath9k_htc_txcompletion_cb+0x1cd/0x2e0 drivers/net/wireless/ath/ath9k/htc_hst.c:353 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: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:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x67c/0xa30 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x288/0x9a5 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x113/0x170 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:645 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 0a 73 3f fb 48 89 ef e8 52 f2 3f fb 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 33 90 35 fb 65 8b 05 dc 6d 18 7a 85 c0 74 0a 5b 5d c3 e8 10 b6 RSP: 0018:ffffc90004c1fd38 EFLAGS: 00000206 RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff11b59e1 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff88810efa4000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff814ab778 R11: 0000000000000001 R12: ffff88810efa4000 R13: ffff88810efa46f0 R14: ffff888115dca460 R15: 000000000000000d spin_unlock_irqrestore include/linux/spinlock.h:404 [inline] dummy_disable+0x28a/0x430 drivers/usb/gadget/udc/dummy_hcd.c:651 usb_ep_disable+0x9e/0x390 drivers/usb/gadget/udc/core.c:150 dev_free+0x318/0x660 drivers/usb/gadget/legacy/raw_gadget.c:210 kref_put include/linux/kref.h:65 [inline] raw_release+0x218/0x290 drivers/usb/gadget/legacy/raw_gadget.c:412 __fput+0x277/0x9d0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x1f7/0x200 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fdb268c5c8b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffd10262000 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fdb268c5c8b RDX: 00007fdb26a2d390 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007fdb26a27960 R08: 0000000000000000 R09: 00007fdb26a2d398 R10: 00007ffd10262100 R11: 0000000000000293 R12: 000000000028a89a R13: 00007ffd10262100 R14: 00007fdb26a25f60 R15: 000000000000015e 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: 11749 Comm: syz-executor.4 Not tainted 5.18.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__skb_insert include/linux/skbuff.h:2163 [inline] RIP: 0010:__skb_queue_before include/linux/skbuff.h:2269 [inline] RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2302 [inline] RIP: 0010:skb_queue_tail+0x9e/0x140 net/core/skbuff.c:3374 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:ffffc900000079d8 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff88813eb93838 RCX: ffffffff8129f050 RDX: 0000000000000000 RSI: 0000000000000012 RDI: ffff88811ca05788 RBP: ffff88811ca05780 R08: 0000000000000001 R09: 0000000000000003 R10: fffff52000000f29 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88813eb93850 R14: 0000000100039b26 R15: ffffffff83261d70 FS: 000055555614f400(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c526000 CR3: 000000011babb000 CR4: 00000000003506f0 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/0x2e0 drivers/net/wireless/ath/ath9k/htc_hst.c:353 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: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:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x67c/0xa30 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x288/0x9a5 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x113/0x170 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:645 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 0a 73 3f fb 48 89 ef e8 52 f2 3f fb 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 33 90 35 fb 65 8b 05 dc 6d 18 7a 85 c0 74 0a 5b 5d c3 e8 10 b6 RSP: 0018:ffffc90004c1fd38 EFLAGS: 00000206 RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff11b59e1 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff88810efa4000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff814ab778 R11: 0000000000000001 R12: ffff88810efa4000 R13: ffff88810efa46f0 R14: ffff888115dca460 R15: 000000000000000d spin_unlock_irqrestore include/linux/spinlock.h:404 [inline] dummy_disable+0x28a/0x430 drivers/usb/gadget/udc/dummy_hcd.c:651 usb_ep_disable+0x9e/0x390 drivers/usb/gadget/udc/core.c:150 dev_free+0x318/0x660 drivers/usb/gadget/legacy/raw_gadget.c:210 kref_put include/linux/kref.h:65 [inline] raw_release+0x218/0x290 drivers/usb/gadget/legacy/raw_gadget.c:412 __fput+0x277/0x9d0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x1f7/0x200 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fdb268c5c8b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffd10262000 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fdb268c5c8b RDX: 00007fdb26a2d390 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007fdb26a27960 R08: 0000000000000000 R09: 00007fdb26a2d398 R10: 00007ffd10262100 R11: 0000000000000293 R12: 000000000028a89a R13: 00007ffd10262100 R14: 00007fdb26a25f60 R15: 000000000000015e Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__skb_insert include/linux/skbuff.h:2163 [inline] RIP: 0010:__skb_queue_before include/linux/skbuff.h:2269 [inline] RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2302 [inline] RIP: 0010:skb_queue_tail+0x9e/0x140 net/core/skbuff.c:3374 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:ffffc900000079d8 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff88813eb93838 RCX: ffffffff8129f050 RDX: 0000000000000000 RSI: 0000000000000012 RDI: ffff88811ca05788 RBP: ffff88811ca05780 R08: 0000000000000001 R09: 0000000000000003 R10: fffff52000000f29 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88813eb93850 R14: 0000000100039b26 R15: ffffffff83261d70 FS: 000055555614f400(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c526000 CR3: 000000011babb000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 74 24 je 0x26 2: 10 e8 adc %ch,%al 4: 0a 73 3f or 0x3f(%rbx),%dh 7: fb sti 8: 48 89 ef mov %rbp,%rdi b: e8 52 f2 3f fb callq 0xfb3ff262 10: 81 e3 00 02 00 00 and $0x200,%ebx 16: 75 25 jne 0x3d 18: 9c pushfq 19: 58 pop %rax 1a: f6 c4 02 test $0x2,%ah 1d: 75 2d jne 0x4c 1f: 48 85 db test %rbx,%rbx 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 33 90 35 fb callq 0xfb359062 <-- trapping instruction 2f: 65 8b 05 dc 6d 18 7a mov %gs:0x7a186ddc(%rip),%eax # 0x7a186e12 36: 85 c0 test %eax,%eax 38: 74 0a je 0x44 3a: 5b pop %rbx 3b: 5d pop %rbp 3c: c3 retq 3d: e8 .byte 0xe8 3e: 10 .byte 0x10 3f: b6 .byte 0xb6