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: 9628 Comm: udevd 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:write_comp_data kernel/kcov.c:221 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x3/0x70 kernel/kcov.c:287
Code: 83 c2 01 48 c7 44 30 e0 02 00 00 00 48 89 7c 30 e8 48 89 4c 30 f0 4c 89 54 d8 20 48 89 10 5b c3 0f 1f 80 00 00 00 00 41 89 f8 03 00 00 00 4c 8b 14 24 89 f1 65 48 8b 34 25 80 6f 02 00 e8 14
RSP: 0018:ffffc90002127998 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff8159c5cc
RDX: fffffbfff15a2110 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000009 R08: 0000000000000000 R09: 0000000000000003
R10: fffffbfff15a2110 R11: 0000000000000000 R12: ffffea0004e19b80
R13: 000000000000000a R14: 0000000000000000 R15: ffff888131b21c00
pagevec_add_and_need_flush mm/swap.c:236 [inline]
pagevec_add_and_need_flush+0x12b/0x170 mm/swap.c:232
folio_add_lru+0x264/0x6a0 mm/swap.c:468
shmem_getpage_gfp.constprop.0+0x956/0x1c00 mm/shmem.c:1941
shmem_getpage mm/shmem.c:150 [inline]
shmem_write_begin+0xfd/0x1d0 mm/shmem.c:2470
generic_perform_write+0x205/0x510 mm/filemap.c:3754
__generic_file_write_iter+0x306/0x4b0 mm/filemap.c:3881
generic_file_write_iter+0xd7/0x220 mm/filemap.c:3913
call_write_iter include/linux/fs.h:2162 [inline]
new_sync_write+0x429/0x660 fs/read_write.c:503
vfs_write+0x7cd/0xae0 fs/read_write.c:590
ksys_write+0x12d/0x250 fs/read_write.c:643
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:0x7fe68cc829a3
Code: 8b 15 d9 f4 0c 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18
RSP: 002b:00007ffcb948f6c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00000000000000d4 RCX: 00007fe68cc829a3
RDX: 00000000000000d4 RSI: 0000559a2d0d8700 RDI: 0000000000000008
RBP: 0000559a2d0d8700 R08: 0000000000000000 R09: 00007fe68cd120c0
R10: 00007fe68cd11fc0 R11: 0000000000000246 R12: 00000000000000d4
R13: 0000559a2d0c6a60 R14: 00000000000000d4 R15: 00007fe68cd4e780
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: 0 PID: 9628 Comm: udevd 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:ffffc900000079b8 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffffffffffffffc8 RCX: ffffc900009c9000
RDX: 0000000000040000 RSI: ffffffff8311d150 RDI: ffffc90000007928
RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000003
R10: fffff52000000f25 R11: 0000000000000000 R12: ffff88811a43b718
R13: ffff88811a43b2e0 R14: ffff88811a43b728 R15: ffff88810de375a8
FS: 00007fe68cb2b840(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffc8 CR3: 0000000131a83000 CR4: 00000000003506f0
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:write_comp_data kernel/kcov.c:221 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x3/0x70 kernel/kcov.c:287
Code: 83 c2 01 48 c7 44 30 e0 02 00 00 00 48 89 7c 30 e8 48 89 4c 30 f0 4c 89 54 d8 20 48 89 10 5b c3 0f 1f 80 00 00 00 00 41 89 f8 03 00 00 00 4c 8b 14 24 89 f1 65 48 8b 34 25 80 6f 02 00 e8 14
RSP: 0018:ffffc90002127998 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff8159c5cc
RDX: fffffbfff15a2110 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000009 R08: 0000000000000000 R09: 0000000000000003
R10: fffffbfff15a2110 R11: 0000000000000000 R12: ffffea0004e19b80
R13: 000000000000000a R14: 0000000000000000 R15: ffff888131b21c00
pagevec_add_and_need_flush mm/swap.c:236 [inline]
pagevec_add_and_need_flush+0x12b/0x170 mm/swap.c:232
folio_add_lru+0x264/0x6a0 mm/swap.c:468
shmem_getpage_gfp.constprop.0+0x956/0x1c00 mm/shmem.c:1941
shmem_getpage mm/shmem.c:150 [inline]
shmem_write_begin+0xfd/0x1d0 mm/shmem.c:2470
generic_perform_write+0x205/0x510 mm/filemap.c:3754
__generic_file_write_iter+0x306/0x4b0 mm/filemap.c:3881
generic_file_write_iter+0xd7/0x220 mm/filemap.c:3913
call_write_iter include/linux/fs.h:2162 [inline]
new_sync_write+0x429/0x660 fs/read_write.c:503
vfs_write+0x7cd/0xae0 fs/read_write.c:590
ksys_write+0x12d/0x250 fs/read_write.c:643
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:0x7fe68cc829a3
Code: 8b 15 d9 f4 0c 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18
RSP: 002b:00007ffcb948f6c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00000000000000d4 RCX: 00007fe68cc829a3
RDX: 00000000000000d4 RSI: 0000559a2d0d8700 RDI: 0000000000000008
RBP: 0000559a2d0d8700 R08: 0000000000000000 R09: 00007fe68cd120c0
R10: 00007fe68cd11fc0 R11: 0000000000000246 R12: 00000000000000d4
R13: 0000559a2d0c6a60 R14: 00000000000000d4 R15: 00007fe68cd4e780
Modules linked in:
CR2: ffffffffffffffc8
---[ end trace 5004f1c0ba00db51 ]---
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:ffffc900000079b8 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffffffffffffffc8 RCX: ffffc900009c9000
RDX: 0000000000040000 RSI: ffffffff8311d150 RDI: ffffc90000007928
RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000003
R10: fffff52000000f25 R11: 0000000000000000 R12: ffff88811a43b718
R13: ffff88811a43b2e0 R14: ffff88811a43b728 R15: ffff88810de375a8
FS: 00007fe68cb2b840(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffc8 CR3: 0000000131a83000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 83 c2 01 add $0x1,%edx
3: 48 c7 44 30 e0 02 00 movq $0x2,-0x20(%rax,%rsi,1)
a: 00 00
c: 48 89 7c 30 e8 mov %rdi,-0x18(%rax,%rsi,1)
11: 48 89 4c 30 f0 mov %rcx,-0x10(%rax,%rsi,1)
16: 4c 89 54 d8 20 mov %r10,0x20(%rax,%rbx,8)
1b: 48 89 10 mov %rdx,(%rax)
1e: 5b pop %rbx
1f: c3 retq
20: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
27: 41 89 f8 mov %edi,%r8d
* 2a: bf 03 00 00 00 mov $0x3,%edi <-- trapping instruction
2f: 4c 8b 14 24 mov (%rsp),%r10
33: 89 f1 mov %esi,%ecx
35: 65 48 8b 34 25 80 6f mov %gs:0x26f80,%rsi
3c: 02 00
3e: e8 .byte 0xe8
3f: 14 .byte 0x14