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: 13368 Comm: syz-executor.2 Not tainted 5.17.0-rc6-syzkaller-00087-gca9400ef7f67 #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+0xf1b/0x11a0 kernel/locking/lockdep.c:1263
__lock_acquire+0x10b/0x56c0 kernel/locking/lockdep.c:4906
lock_acquire kernel/locking/lockdep.c:5639 [inline]
lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5604
__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:3341
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:1670
usb_hcd_giveback_urb+0x367/0x410 drivers/usb/core/hcd.c:1747
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:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:200
Code: 48 89 ef 5d e9 11 7f 2e 00 5d be 03 00 00 00 e9 76 8b c1 00 66 0f 1f 44 00 00 48 8b be b0 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 <65> 8b 05 c9 6e be 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b
RSP: 0018:ffffc900032f7408 EFLAGS: 00000293
RAX: 0000000000000000 RBX: ffff888132ea5b00 RCX: ffff88811a04b800
RDX: 0000000000000000 RSI: ffff88811a04b800 RDI: 0000000000000003
RBP: ffff8881b2ea5b00 R08: ffff8881b2ea5b00 R09: 000000000000002e
R10: ffffffff81124778 R11: 000000000000003f R12: 0000000132ea5b00
R13: 000000000000002e R14: ffff888132ea5b00 R15: ffff888100169a00
phys_addr_valid arch/x86/mm/physaddr.h:7 [inline]
__phys_addr+0xa7/0x140 arch/x86/mm/physaddr.c:28
virt_to_folio include/linux/mm.h:844 [inline]
virt_to_slab mm/slab.h:175 [inline]
memcg_slab_free_hook mm/slab.h:551 [inline]
memcg_slab_free_hook mm/slab.h:534 [inline]
do_slab_free mm/slub.c:3442 [inline]
___cache_free+0x6f/0x380 mm/slub.c:3516
qlink_free mm/kasan/quarantine.c:157 [inline]
qlist_free_all+0x6d/0x160 mm/kasan/quarantine.c:176
kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:283
__kasan_slab_alloc+0x78/0x80 mm/kasan/common.c:446
kasan_slab_alloc include/linux/kasan.h:260 [inline]
slab_post_alloc_hook mm/slab.h:732 [inline]
slab_alloc_node mm/slub.c:3230 [inline]
slab_alloc mm/slub.c:3238 [inline]
__kmalloc+0x247/0x420 mm/slub.c:4420
kmalloc include/linux/slab.h:586 [inline]
kzalloc include/linux/slab.h:714 [inline]
ima_write_template_field_data+0xeb/0x1c0 security/integrity/ima/ima_template_lib.c:42
ima_alloc_init_template+0x39e/0x740 security/integrity/ima/ima_api.c:70
ima_store_measurement+0x1d7/0x5a0 security/integrity/ima/ima_api.c:328
process_measurement+0x132d/0x1920 security/integrity/ima/ima_main.c:345
ima_file_check+0xac/0x100 security/integrity/ima/ima_main.c:516
do_open fs/namei.c:3478 [inline]
path_openat+0x1647/0x2940 fs/namei.c:3609
do_filp_open+0x1aa/0x400 fs/namei.c:3636
do_sys_openat2+0x16d/0x4d0 fs/open.c:1214
do_sys_open fs/open.c:1230 [inline]
__do_sys_openat fs/open.c:1246 [inline]
__se_sys_openat fs/open.c:1241 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1241
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:0x7f0a985b4f64
Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44
RSP: 002b:00007f0a97756ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007f0a985b4f64
RDX: 0000000000161f42 RSI: 00007f0a97756d40 RDI: 00000000ffffff9c
RBP: 00007f0a97756d40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000161f42
R13: 00007ffc8ac6172f R14: 00007f0a97757300 R15: 0000000000022000
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 13368 Comm: syz-executor.2 Not tainted 5.17.0-rc6-syzkaller-00087-gca9400ef7f67 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__skb_insert include/linux/skbuff.h:2011 [inline]
RIP: 0010:__skb_queue_before include/linux/skbuff.h:2117 [inline]
RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2150 [inline]
RIP: 0010:skb_queue_tail+0x9e/0x140 net/core/skbuff.c:3342
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:ffffc900001589d8 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffff888115ddb9f0 RCX: ffffffff8129fc30
RDX: 0000000000000000 RSI: 0000000000000016 RDI: ffff88810ac7f508
RBP: ffff88810ac7f500 R08: 0000000000000001 R09: 0000000000000003
R10: fffff5200002b129 R11: 0000000000000000 R12: 0000000000000000
R13: ffff888115ddba08 R14: 000000010000a28d R15: ffffffff831644c0
FS: 00007f0a97757700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0a97756d38 CR3: 0000000131f7b000 CR4: 00000000003506e0
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:1670
usb_hcd_giveback_urb+0x367/0x410 drivers/usb/core/hcd.c:1747
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:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:200
Code: 48 89 ef 5d e9 11 7f 2e 00 5d be 03 00 00 00 e9 76 8b c1 00 66 0f 1f 44 00 00 48 8b be b0 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 <65> 8b 05 c9 6e be 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b
RSP: 0018:ffffc900032f7408 EFLAGS: 00000293
RAX: 0000000000000000 RBX: ffff888132ea5b00 RCX: ffff88811a04b800
RDX: 0000000000000000 RSI: ffff88811a04b800 RDI: 0000000000000003
RBP: ffff8881b2ea5b00 R08: ffff8881b2ea5b00 R09: 000000000000002e
R10: ffffffff81124778 R11: 000000000000003f R12: 0000000132ea5b00
R13: 000000000000002e R14: ffff888132ea5b00 R15: ffff888100169a00
phys_addr_valid arch/x86/mm/physaddr.h:7 [inline]
__phys_addr+0xa7/0x140 arch/x86/mm/physaddr.c:28
virt_to_folio include/linux/mm.h:844 [inline]
virt_to_slab mm/slab.h:175 [inline]
memcg_slab_free_hook mm/slab.h:551 [inline]
memcg_slab_free_hook mm/slab.h:534 [inline]
do_slab_free mm/slub.c:3442 [inline]
___cache_free+0x6f/0x380 mm/slub.c:3516
qlink_free mm/kasan/quarantine.c:157 [inline]
qlist_free_all+0x6d/0x160 mm/kasan/quarantine.c:176
kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:283
__kasan_slab_alloc+0x78/0x80 mm/kasan/common.c:446
kasan_slab_alloc include/linux/kasan.h:260 [inline]
slab_post_alloc_hook mm/slab.h:732 [inline]
slab_alloc_node mm/slub.c:3230 [inline]
slab_alloc mm/slub.c:3238 [inline]
__kmalloc+0x247/0x420 mm/slub.c:4420
kmalloc include/linux/slab.h:586 [inline]
kzalloc include/linux/slab.h:714 [inline]
ima_write_template_field_data+0xeb/0x1c0 security/integrity/ima/ima_template_lib.c:42
ima_alloc_init_template+0x39e/0x740 security/integrity/ima/ima_api.c:70
ima_store_measurement+0x1d7/0x5a0 security/integrity/ima/ima_api.c:328
process_measurement+0x132d/0x1920 security/integrity/ima/ima_main.c:345
ima_file_check+0xac/0x100 security/integrity/ima/ima_main.c:516
do_open fs/namei.c:3478 [inline]
path_openat+0x1647/0x2940 fs/namei.c:3609
do_filp_open+0x1aa/0x400 fs/namei.c:3636
do_sys_openat2+0x16d/0x4d0 fs/open.c:1214
do_sys_open fs/open.c:1230 [inline]
__do_sys_openat fs/open.c:1246 [inline]
__se_sys_openat fs/open.c:1241 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1241
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:0x7f0a985b4f64
Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44
RSP: 002b:00007f0a97756ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007f0a985b4f64
RDX: 0000000000161f42 RSI: 00007f0a97756d40 RDI: 00000000ffffff9c
RBP: 00007f0a97756d40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000161f42
R13: 00007ffc8ac6172f R14: 00007f0a97757300 R15: 0000000000022000
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__skb_insert include/linux/skbuff.h:2011 [inline]
RIP: 0010:__skb_queue_before include/linux/skbuff.h:2117 [inline]
RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2150 [inline]
RIP: 0010:skb_queue_tail+0x9e/0x140 net/core/skbuff.c:3342
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:ffffc900001589d8 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffff888115ddb9f0 RCX: ffffffff8129fc30
RDX: 0000000000000000 RSI: 0000000000000016 RDI: ffff88810ac7f508
RBP: ffff88810ac7f500 R08: 0000000000000001 R09: 0000000000000003
R10: fffff5200002b129 R11: 0000000000000000 R12: 0000000000000000
R13: ffff888115ddba08 R14: 000000010000a28d R15: ffffffff831644c0
FS: 00007f0a97757700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0a97756d38 CR3: 0000000131f7b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 48 89 ef mov %rbp,%rdi
3: 5d pop %rbp
4: e9 11 7f 2e 00 jmpq 0x2e7f1a
9: 5d pop %rbp
a: be 03 00 00 00 mov $0x3,%esi
f: e9 76 8b c1 00 jmpq 0xc18b8a
14: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1)
1a: 48 8b be b0 01 00 00 mov 0x1b0(%rsi),%rdi
21: e8 b4 ff ff ff callq 0xffffffda
26: 31 c0 xor %eax,%eax
28: c3 retq
29: 90 nop
* 2a: 65 8b 05 c9 6e be 7e mov %gs:0x7ebe6ec9(%rip),%eax # 0x7ebe6efa <-- trapping instruction
31: 89 c1 mov %eax,%ecx
33: 48 8b 34 24 mov (%rsp),%rsi
37: 81 e1 00 01 00 00 and $0x100,%ecx
3d: 65 gs
3e: 48 rex.W
3f: 8b .byte 0x8b