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: 1178 Comm: udevd Not tainted 6.0.0-syzkaller-09039-ga6afa4199d3d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/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:3503 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+0x1bd/0x9ab kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x113/0x170 kernel/softirq.c:650 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:check_preemption_disabled+0xe/0x170 lib/smp_processor_id.c:14 Code: 44 00 00 85 db 74 07 0f 1f 44 00 00 0f 0b 0f 1f 44 00 00 5b e9 93 fb ff ff cc 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 6d 5d 0b 7a 65 8b 1d 0e b2 0b 7a 81 e3 RSP: 0018:ffffc90000527788 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000037b40 RCX: 1ffff920000a4f00 RDX: 1ffff1102278760d RSI: ffffffff8662cb40 RDI: ffffffff8662cb80 RBP: ffffffff8662cb80 R08: 0000000000000001 R09: ffff888113c39c9b R10: ffffed1022787393 R11: 0000000000000000 R12: 0000000000037b40 R13: ffffffff8662cb40 R14: ffffed1022787650 R15: 0000000000000000 __schedule+0x82/0x26f0 kernel/sched/core.c:6385 schedule+0xda/0x1b0 kernel/sched/core.c:6571 rwsem_down_read_slowpath+0x59f/0xb10 kernel/locking/rwsem.c:1087 __down_read_common kernel/locking/rwsem.c:1252 [inline] __down_read kernel/locking/rwsem.c:1261 [inline] down_read+0xe2/0x450 kernel/locking/rwsem.c:1501 kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290 do_inode_permission fs/namei.c:458 [inline] inode_permission.part.0+0x3d6/0x670 fs/namei.c:525 inode_permission fs/namei.c:506 [inline] may_lookup fs/namei.c:1715 [inline] link_path_walk.part.0+0x83c/0xe20 fs/namei.c:2262 link_path_walk fs/namei.c:2244 [inline] path_lookupat+0xb7/0x840 fs/namei.c:2473 filename_lookup+0x1ce/0x590 fs/namei.c:2503 user_path_at_empty+0x42/0x60 fs/namei.c:2876 do_readlinkat+0xcd/0x2f0 fs/stat.c:468 __do_sys_readlink fs/stat.c:501 [inline] __se_sys_readlink fs/stat.c:498 [inline] __x64_sys_readlink+0x74/0xb0 fs/stat.c:498 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:0x7f121f4b6277 Code: 73 01 c3 48 8b 0d 01 dc 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 59 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d d1 db 0c 00 f7 d8 64 89 01 48 RSP: 002b:00007ffc4b746268 EFLAGS: 00000246 ORIG_RAX: 0000000000000059 RAX: ffffffffffffffda RBX: 00007ffc4b746278 RCX: 00007f121f4b6277 RDX: 0000000000000400 RSI: 00007ffc4b746278 RDI: 00007ffc4b746758 RBP: 0000000000000400 R08: 000000000000000f R09: 000055a8aaade2d0 R10: 00007f121f543fc0 R11: 0000000000000246 R12: 00007ffc4b746758 R13: 00007ffc4b7466c8 R14: 000055a8aaabc910 R15: 0000000000000000 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: 1178 Comm: udevd Not tainted 6.0.0-syzkaller-09039-ga6afa4199d3d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 RIP: 0010:__skb_insert include/linux/skbuff.h:2165 [inline] RIP: 0010:__skb_queue_before include/linux/skbuff.h:2271 [inline] RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2304 [inline] RIP: 0010:skb_queue_tail+0x9e/0x140 net/core/skbuff.c:3504 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:ffffc900001889e0 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff88811e9738e8 RCX: ffffffff812a9b40 RDX: 0000000000000000 RSI: 0000000000000012 RDI: ffff888116d8d288 RBP: ffff888116d8d280 R08: 0000000000000001 R09: 0000000000000003 R10: fffff5200003112a R11: 3e4b5341542f3c20 R12: 0000000000000000 R13: ffff88811e973900 R14: 00000000ffffae00 R15: ffffffff83308020 FS: 00007f121f35d840(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc5edb7fa8 CR3: 0000000110625000 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/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+0x1bd/0x9ab kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x113/0x170 kernel/softirq.c:650 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:check_preemption_disabled+0xe/0x170 lib/smp_processor_id.c:14 Code: 44 00 00 85 db 74 07 0f 1f 44 00 00 0f 0b 0f 1f 44 00 00 5b e9 93 fb ff ff cc 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 6d 5d 0b 7a 65 8b 1d 0e b2 0b 7a 81 e3 RSP: 0018:ffffc90000527788 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000037b40 RCX: 1ffff920000a4f00 RDX: 1ffff1102278760d RSI: ffffffff8662cb40 RDI: ffffffff8662cb80 RBP: ffffffff8662cb80 R08: 0000000000000001 R09: ffff888113c39c9b R10: ffffed1022787393 R11: 0000000000000000 R12: 0000000000037b40 R13: ffffffff8662cb40 R14: ffffed1022787650 R15: 0000000000000000 __schedule+0x82/0x26f0 kernel/sched/core.c:6385 schedule+0xda/0x1b0 kernel/sched/core.c:6571 rwsem_down_read_slowpath+0x59f/0xb10 kernel/locking/rwsem.c:1087 __down_read_common kernel/locking/rwsem.c:1252 [inline] __down_read kernel/locking/rwsem.c:1261 [inline] down_read+0xe2/0x450 kernel/locking/rwsem.c:1501 kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290 do_inode_permission fs/namei.c:458 [inline] inode_permission.part.0+0x3d6/0x670 fs/namei.c:525 inode_permission fs/namei.c:506 [inline] may_lookup fs/namei.c:1715 [inline] link_path_walk.part.0+0x83c/0xe20 fs/namei.c:2262 link_path_walk fs/namei.c:2244 [inline] path_lookupat+0xb7/0x840 fs/namei.c:2473 filename_lookup+0x1ce/0x590 fs/namei.c:2503 user_path_at_empty+0x42/0x60 fs/namei.c:2876 do_readlinkat+0xcd/0x2f0 fs/stat.c:468 __do_sys_readlink fs/stat.c:501 [inline] __se_sys_readlink fs/stat.c:498 [inline] __x64_sys_readlink+0x74/0xb0 fs/stat.c:498 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:0x7f121f4b6277 Code: 73 01 c3 48 8b 0d 01 dc 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 59 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d d1 db 0c 00 f7 d8 64 89 01 48 RSP: 002b:00007ffc4b746268 EFLAGS: 00000246 ORIG_RAX: 0000000000000059 RAX: ffffffffffffffda RBX: 00007ffc4b746278 RCX: 00007f121f4b6277 RDX: 0000000000000400 RSI: 00007ffc4b746278 RDI: 00007ffc4b746758 RBP: 0000000000000400 R08: 000000000000000f R09: 000055a8aaade2d0 R10: 00007f121f543fc0 R11: 0000000000000246 R12: 00007ffc4b746758 R13: 00007ffc4b7466c8 R14: 000055a8aaabc910 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__skb_insert include/linux/skbuff.h:2165 [inline] RIP: 0010:__skb_queue_before include/linux/skbuff.h:2271 [inline] RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2304 [inline] RIP: 0010:skb_queue_tail+0x9e/0x140 net/core/skbuff.c:3504 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:ffffc900001889e0 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff88811e9738e8 RCX: ffffffff812a9b40 RDX: 0000000000000000 RSI: 0000000000000012 RDI: ffff888116d8d288 RBP: ffff888116d8d280 R08: 0000000000000001 R09: 0000000000000003 R10: fffff5200003112a R11: 3e4b5341542f3c20 R12: 0000000000000000 R13: ffff88811e973900 R14: 00000000ffffae00 R15: ffffffff83308020 FS: 00007f121f35d840(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc5edb7fa8 CR3: 0000000110625000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 44 00 00 add %r8b,(%rax) 3: 85 db test %ebx,%ebx 5: 74 07 je 0xe 7: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) c: 0f 0b ud2 e: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 13: 5b pop %rbx 14: e9 93 fb ff ff jmpq 0xfffffbac 19: cc int3 1a: cc int3 1b: cc int3 1c: 41 56 push %r14 1e: 41 55 push %r13 20: 49 89 f5 mov %rsi,%r13 23: 41 54 push %r12 25: 55 push %rbp 26: 48 89 fd mov %rdi,%rbp 29: 53 push %rbx * 2a: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) <-- trapping instruction 2f: 65 44 8b 25 6d 5d 0b mov %gs:0x7a0b5d6d(%rip),%r12d # 0x7a0b5da4 36: 7a 37: 65 8b 1d 0e b2 0b 7a mov %gs:0x7a0bb20e(%rip),%ebx # 0x7a0bb24c 3e: 81 .byte 0x81 3f: e3 .byte 0xe3