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: 464 Comm: udevd Not tainted 6.0.0-rc7-syzkaller-00220-gffb4d94b4314 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
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:979 [inline]
register_lock_class+0xf1b/0x1120 kernel/locking/lockdep.c:1292
__lock_acquire+0x109/0x56d0 kernel/locking/lockdep.c:4932
lock_acquire kernel/locking/lockdep.c:5666 [inline]
lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5631
__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:3400
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:1671
usb_hcd_giveback_urb+0x380/0x430 drivers/usb/core/hcd.c:1754
dummy_timer+0x11ff/0x32c0 drivers/usb/gadget/udc/dummy_hcd.c:1988
call_timer_fn+0x1a0/0x6b0 kernel/time/timer.c:1474
expire_timers kernel/time/timer.c:1519 [inline]
__run_timers.part.0+0x674/0xa80 kernel/time/timer.c:1790
__run_timers kernel/time/timer.c:1768 [inline]
run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1803
__do_softirq+0x1d3/0x9c6 kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:check_preemption_disabled+0x28/0x170 lib/smp_processor_id.c:16
Code: cc cc 41 56 41 55 49 89 f5 41 54 55 48 89 fd 53 0f 1f 44 00 00 65 44 8b 25 bd cf 81 76 65 8b 1d 1e 25 82 76 81 e3 ff ff ff 7f <31> ff 89 de 0f 1f 44 00 00 85 db 74 11 0f 1f 44 00 00 44 89 e0 5b
RSP: 0018:ffffc900032c7750 EFLAGS: 00000202
RAX: 0000000000000001 RBX: 0000000000000001 RCX: b4ba524182e344b9
RDX: 1ffff1100234f9bd RSI: ffffffff8a4903c0 RDI: ffffffff8a490400
RBP: ffffffff8a490400 R08: 0000000000000000 R09: ffffffff908e5947
R10: fffffbfff211cb28 R11: 0000000000000000 R12: 0000000000000000
R13: ffffffff8a4903c0 R14: ffff88807ea4c860 R15: 000000000000c8e0
rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:121 [inline]
rcu_is_watching+0xe/0xb0 kernel/rcu/tree.c:718
rcu_read_lock_held_common kernel/rcu/update.c:108 [inline]
rcu_read_lock_sched_held+0x1c/0x70 kernel/rcu/update.c:123
task_css include/linux/cgroup.h:495 [inline]
mem_cgroup_from_task+0x3c/0x130 mm/memcontrol.c:914
get_obj_cgroup_from_current+0x10e/0x250 mm/memcontrol.c:2964
memcg_slab_pre_alloc_hook mm/slab.h:480 [inline]
slab_pre_alloc_hook mm/slab.h:705 [inline]
slab_alloc_node mm/slub.c:3162 [inline]
slab_alloc mm/slub.c:3256 [inline]
__kmem_cache_alloc_lru mm/slub.c:3263 [inline]
kmem_cache_alloc_lru+0x85/0x720 mm/slub.c:3280
alloc_inode_sb include/linux/fs.h:3103 [inline]
shmem_alloc_inode+0x23/0x50 mm/shmem.c:3819
alloc_inode+0x61/0x230 fs/inode.c:260
new_inode_pseudo fs/inode.c:1019 [inline]
new_inode+0x27/0x270 fs/inode.c:1047
shmem_get_inode+0x19b/0xe40 mm/shmem.c:2327
shmem_mknod+0x5a/0x1f0 mm/shmem.c:2890
lookup_open.isra.0+0xf05/0x12a0 fs/namei.c:3413
open_last_lookups fs/namei.c:3481 [inline]
path_openat+0x996/0x28f0 fs/namei.c:3688
do_filp_open+0x1b6/0x400 fs/namei.c:3718
do_sys_openat2+0x16d/0x4c0 fs/open.c:1313
do_sys_open fs/open.c:1329 [inline]
__do_sys_openat fs/open.c:1345 [inline]
__se_sys_openat fs/open.c:1340 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1340
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+0x63/0xcd
RIP: 0033:0x7f2694d25697
Code: 25 00 00 41 00 3d 00 00 41 00 74 37 64 8b 04 25 18 00 00 00 85 c0 75 5b 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 85 00 00 00 48 83 c4 68 5d 41 5c c3 0f 1f
RSP: 002b:00007ffcd38d6a10 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000564767428f30 RCX: 00007f2694d25697
RDX: 0000000000080241 RSI: 00007ffcd38d6f58 RDI: 00000000ffffff9c
RBP: 00007ffcd38d6f58 R08: 0000000000000004 R09: 0000000000000001
R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000080241
R13: 0000564767428f30 R14: 0000000000000001 R15: 0000564766191160
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: 464 Comm: udevd Not tainted 6.0.0-rc7-syzkaller-00220-gffb4d94b4314 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
RIP: 0010:__skb_insert include/linux/skbuff.h:2157 [inline]
RIP: 0010:__skb_queue_before include/linux/skbuff.h:2263 [inline]
RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2296 [inline]
RIP: 0010:skb_queue_tail+0x9e/0x140 net/core/skbuff.c:3401
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:ffffc900000079e0 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffff888041453838 RCX: ffffffff815ff350
RDX: 0000000000000000 RSI: 0000000000000012 RDI: ffff8880721828c8
RBP: ffff8880721828c0 R08: 0000000000000001 R09: 0000000000000003
R10: fffff52000000f2a R11: 3e4b5341542f3c20 R12: 0000000000000000
R13: ffff888041453850 R14: 000000010002e807 R15: ffffffff853cc4a0
FS: 00007f2695114840(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0a778e1000 CR3: 000000007d142000 CR4: 00000000003526f0
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:1671
usb_hcd_giveback_urb+0x380/0x430 drivers/usb/core/hcd.c:1754
dummy_timer+0x11ff/0x32c0 drivers/usb/gadget/udc/dummy_hcd.c:1988
call_timer_fn+0x1a0/0x6b0 kernel/time/timer.c:1474
expire_timers kernel/time/timer.c:1519 [inline]
__run_timers.part.0+0x674/0xa80 kernel/time/timer.c:1790
__run_timers kernel/time/timer.c:1768 [inline]
run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1803
__do_softirq+0x1d3/0x9c6 kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:check_preemption_disabled+0x28/0x170 lib/smp_processor_id.c:16
Code: cc cc 41 56 41 55 49 89 f5 41 54 55 48 89 fd 53 0f 1f 44 00 00 65 44 8b 25 bd cf 81 76 65 8b 1d 1e 25 82 76 81 e3 ff ff ff 7f <31> ff 89 de 0f 1f 44 00 00 85 db 74 11 0f 1f 44 00 00 44 89 e0 5b
RSP: 0018:ffffc900032c7750 EFLAGS: 00000202
RAX: 0000000000000001 RBX: 0000000000000001 RCX: b4ba524182e344b9
RDX: 1ffff1100234f9bd RSI: ffffffff8a4903c0 RDI: ffffffff8a490400
RBP: ffffffff8a490400 R08: 0000000000000000 R09: ffffffff908e5947
R10: fffffbfff211cb28 R11: 0000000000000000 R12: 0000000000000000
R13: ffffffff8a4903c0 R14: ffff88807ea4c860 R15: 000000000000c8e0
rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:121 [inline]
rcu_is_watching+0xe/0xb0 kernel/rcu/tree.c:718
rcu_read_lock_held_common kernel/rcu/update.c:108 [inline]
rcu_read_lock_sched_held+0x1c/0x70 kernel/rcu/update.c:123
task_css include/linux/cgroup.h:495 [inline]
mem_cgroup_from_task+0x3c/0x130 mm/memcontrol.c:914
get_obj_cgroup_from_current+0x10e/0x250 mm/memcontrol.c:2964
memcg_slab_pre_alloc_hook mm/slab.h:480 [inline]
slab_pre_alloc_hook mm/slab.h:705 [inline]
slab_alloc_node mm/slub.c:3162 [inline]
slab_alloc mm/slub.c:3256 [inline]
__kmem_cache_alloc_lru mm/slub.c:3263 [inline]
kmem_cache_alloc_lru+0x85/0x720 mm/slub.c:3280
alloc_inode_sb include/linux/fs.h:3103 [inline]
shmem_alloc_inode+0x23/0x50 mm/shmem.c:3819
alloc_inode+0x61/0x230 fs/inode.c:260
new_inode_pseudo fs/inode.c:1019 [inline]
new_inode+0x27/0x270 fs/inode.c:1047
shmem_get_inode+0x19b/0xe40 mm/shmem.c:2327
shmem_mknod+0x5a/0x1f0 mm/shmem.c:2890
lookup_open.isra.0+0xf05/0x12a0 fs/namei.c:3413
open_last_lookups fs/namei.c:3481 [inline]
path_openat+0x996/0x28f0 fs/namei.c:3688
do_filp_open+0x1b6/0x400 fs/namei.c:3718
do_sys_openat2+0x16d/0x4c0 fs/open.c:1313
do_sys_open fs/open.c:1329 [inline]
__do_sys_openat fs/open.c:1345 [inline]
__se_sys_openat fs/open.c:1340 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1340
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+0x63/0xcd
RIP: 0033:0x7f2694d25697
Code: 25 00 00 41 00 3d 00 00 41 00 74 37 64 8b 04 25 18 00 00 00 85 c0 75 5b 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 85 00 00 00 48 83 c4 68 5d 41 5c c3 0f 1f
RSP: 002b:00007ffcd38d6a10 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000564767428f30 RCX: 00007f2694d25697
RDX: 0000000000080241 RSI: 00007ffcd38d6f58 RDI: 00000000ffffff9c
RBP: 00007ffcd38d6f58 R08: 0000000000000004 R09: 0000000000000001
R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000080241
R13: 0000564767428f30 R14: 0000000000000001 R15: 0000564766191160
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__skb_insert include/linux/skbuff.h:2157 [inline]
RIP: 0010:__skb_queue_before include/linux/skbuff.h:2263 [inline]
RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2296 [inline]
RIP: 0010:skb_queue_tail+0x9e/0x140 net/core/skbuff.c:3401
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:ffffc900000079e0 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffff888041453838 RCX: ffffffff815ff350
RDX: 0000000000000000 RSI: 0000000000000012 RDI: ffff8880721828c8
RBP: ffff8880721828c0 R08: 0000000000000001 R09: 0000000000000003
R10: fffff52000000f2a R11: 3e4b5341542f3c20 R12: 0000000000000000
R13: ffff888041453850 R14: 000000010002e807 R15: ffffffff853cc4a0
FS: 00007f2695114840(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0a778e1000 CR3: 000000007d142000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
0: cc int3
1: cc int3
2: 41 56 push %r14
4: 41 55 push %r13
6: 49 89 f5 mov %rsi,%r13
9: 41 54 push %r12
b: 55 push %rbp
c: 48 89 fd mov %rdi,%rbp
f: 53 push %rbx
10: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
15: 65 44 8b 25 bd cf 81 mov %gs:0x7681cfbd(%rip),%r12d # 0x7681cfda
1c: 76
1d: 65 8b 1d 1e 25 82 76 mov %gs:0x7682251e(%rip),%ebx # 0x76822542
24: 81 e3 ff ff ff 7f and $0x7fffffff,%ebx
* 2a: 31 ff xor %edi,%edi <-- trapping instruction
2c: 89 de mov %ebx,%esi
2e: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
33: 85 db test %ebx,%ebx
35: 74 11 je 0x48
37: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
3c: 44 89 e0 mov %r12d,%eax
3f: 5b pop %rbx