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: 24809 Comm: syz-executor.5 Not tainted 5.16.0-rc8-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:951 [inline] register_lock_class+0xd28/0x1030 kernel/locking/lockdep.c:1263 __lock_acquire+0x106/0x5470 kernel/locking/lockdep.c:4906 lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 ath9k_htc_rxep+0x31/0x210 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:1133 ath9k_htc_rx_msg+0x2e4/0xb70 drivers/net/wireless/ath/ath9k/htc_hst.c:461 ath9k_hif_usb_reg_in_cb+0x1ac/0x630 drivers/net/wireless/ath/ath9k/hif_usb.c:733 __usb_hcd_giveback_urb+0x2b0/0x5c0 drivers/usb/core/hcd.c:1663 usb_hcd_giveback_urb+0x367/0x410 drivers/usb/core/hcd.c:1733 dummy_timer+0x11f9/0x32b0 drivers/usb/gadget/udc/dummy_hcd.c:1987 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:638 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 9a f2 59 fb 48 89 ef e8 52 68 5a 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 03 f3 4f fb 65 8b 05 6c 11 33 7a 85 c0 74 0a 5b 5d c3 e8 e0 5a RSP: 0018:ffffc90007f07e20 EFLAGS: 00000206 RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff116b641 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff8881184e2008 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8149b8f8 R11: 0000000000000000 R12: 0000000000000293 R13: ffff8881184e2008 R14: fffffffffffffff0 R15: 1ffff92000fe0fce spin_unlock_irqrestore include/linux/spinlock.h:404 [inline] raw_ioctl_ep0_stall drivers/usb/gadget/legacy/raw_gadget.c:751 [inline] raw_ioctl+0xed2/0x2690 drivers/usb/gadget/legacy/raw_gadget.c:1247 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 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+0x44/0xae RIP: 0033:0x7f48d809cc77 Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 04 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f48d7211098 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f48d7212110 RCX: 00007f48d809cc77 RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000005 RBP: 0000000000000005 R08: 000000000000f0ff R09: 000000000000000b R10: 00007f48d7211140 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000020000540 R15: 00000000000010d0 BUG: unable to handle page fault for address: ffffffffffffffc8 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 7626067 P4D 7626067 PUD 7628067 PMD 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 24809 Comm: syz-executor.5 Not tainted 5.16.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ath9k_htc_rxep+0xb5/0x210 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:1135 Code: 8b 43 38 48 8d 58 c8 49 39 c4 0f 84 ee 00 00 00 e8 a0 b1 31 fe 48 89 d8 48 c1 e8 03 0f b6 04 28 84 c0 74 06 0f 8e 0a 01 00 00 <44> 0f b6 3b 31 ff 44 89 fe e8 5d b5 31 fe 45 84 ff 75 a8 e8 73 b1 RSP: 0018:ffffc900001589b8 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffffffffffffffc8 RCX: ffffc90000bd9000 RDX: 0000000000040000 RSI: ffffffff8311d150 RDI: ffffc90000158928 RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000003 R10: fffff5200002b125 R11: 0000000000000000 R12: ffff88810f94b718 R13: ffff88810f94b2e0 R14: ffff88810f94b728 R15: ffff888112d576a8 FS: 00007f48d7213700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffc8 CR3: 00000001377d7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ath9k_htc_rx_msg+0x2e4/0xb70 drivers/net/wireless/ath/ath9k/htc_hst.c:461 ath9k_hif_usb_reg_in_cb+0x1ac/0x630 drivers/net/wireless/ath/ath9k/hif_usb.c:733 __usb_hcd_giveback_urb+0x2b0/0x5c0 drivers/usb/core/hcd.c:1663 usb_hcd_giveback_urb+0x367/0x410 drivers/usb/core/hcd.c:1733 dummy_timer+0x11f9/0x32b0 drivers/usb/gadget/udc/dummy_hcd.c:1987 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:638 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 9a f2 59 fb 48 89 ef e8 52 68 5a 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 03 f3 4f fb 65 8b 05 6c 11 33 7a 85 c0 74 0a 5b 5d c3 e8 e0 5a RSP: 0018:ffffc90007f07e20 EFLAGS: 00000206 RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff116b641 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff8881184e2008 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8149b8f8 R11: 0000000000000000 R12: 0000000000000293 R13: ffff8881184e2008 R14: fffffffffffffff0 R15: 1ffff92000fe0fce spin_unlock_irqrestore include/linux/spinlock.h:404 [inline] raw_ioctl_ep0_stall drivers/usb/gadget/legacy/raw_gadget.c:751 [inline] raw_ioctl+0xed2/0x2690 drivers/usb/gadget/legacy/raw_gadget.c:1247 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 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+0x44/0xae RIP: 0033:0x7f48d809cc77 Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 04 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f48d7211098 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f48d7212110 RCX: 00007f48d809cc77 RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000005 RBP: 0000000000000005 R08: 000000000000f0ff R09: 000000000000000b R10: 00007f48d7211140 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000020000540 R15: 00000000000010d0 Modules linked in: CR2: ffffffffffffffc8 ---[ end trace 27ae04cd66ab51d8 ]--- RIP: 0010:ath9k_htc_rxep+0xb5/0x210 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:1135 Code: 8b 43 38 48 8d 58 c8 49 39 c4 0f 84 ee 00 00 00 e8 a0 b1 31 fe 48 89 d8 48 c1 e8 03 0f b6 04 28 84 c0 74 06 0f 8e 0a 01 00 00 <44> 0f b6 3b 31 ff 44 89 fe e8 5d b5 31 fe 45 84 ff 75 a8 e8 73 b1 RSP: 0018:ffffc900001589b8 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffffffffffffffc8 RCX: ffffc90000bd9000 RDX: 0000000000040000 RSI: ffffffff8311d150 RDI: ffffc90000158928 RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000003 R10: fffff5200002b125 R11: 0000000000000000 R12: ffff88810f94b718 R13: ffff88810f94b2e0 R14: ffff88810f94b728 R15: ffff888112d576a8 FS: 00007f48d7213700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffc8 CR3: 00000001377d7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 24 10 and $0x10,%al 2: e8 9a f2 59 fb callq 0xfb59f2a1 7: 48 89 ef mov %rbp,%rdi a: e8 52 68 5a fb callq 0xfb5a6861 f: 81 e3 00 02 00 00 and $0x200,%ebx 15: 75 25 jne 0x3c 17: 9c pushfq 18: 58 pop %rax 19: f6 c4 02 test $0x2,%ah 1c: 75 2d jne 0x4b 1e: 48 85 db test %rbx,%rbx 21: 74 01 je 0x24 23: fb sti 24: bf 01 00 00 00 mov $0x1,%edi * 29: e8 03 f3 4f fb callq 0xfb4ff331 <-- trapping instruction 2e: 65 8b 05 6c 11 33 7a mov %gs:0x7a33116c(%rip),%eax # 0x7a3311a1 35: 85 c0 test %eax,%eax 37: 74 0a je 0x43 39: 5b pop %rbx 3a: 5d pop %rbp 3b: c3 retq 3c: e8 .byte 0xe8 3d: e0 5a loopne 0x99