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: 15803 Comm: udevd Not tainted 6.3.0-rc6-syzkaller-g8e86652e3e71 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 assign_lock_key kernel/locking/lockdep.c:982 [inline] register_lock_class+0xdb6/0x1120 kernel/locking/lockdep.c:1295 __lock_acquire+0x108/0x5d40 kernel/locking/lockdep.c:4935 lock_acquire kernel/locking/lockdep.c:5669 [inline] lock_acquire+0x1af/0x520 kernel/locking/lockdep.c:5634 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3d/0x60 kernel/locking/spinlock.c:162 skb_queue_tail+0x25/0x150 net/core/skbuff.c:3683 ath9k_htc_txep+0x28b/0x400 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:712 ath9k_htc_txcompletion_cb+0x1d1/0x2f0 drivers/net/wireless/ath/ath9k/htc_hst.c:353 hif_usb_regout_cb+0x119/0x1d0 drivers/net/wireless/ath/ath9k/hif_usb.c:90 __usb_hcd_giveback_urb+0x2b6/0x5c0 drivers/usb/core/hcd.c:1671 usb_hcd_giveback_urb+0x384/0x430 drivers/usb/core/hcd.c:1754 dummy_timer+0x13b6/0x3400 drivers/usb/gadget/udc/dummy_hcd.c:1988 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700 expire_timers+0x29b/0x4b0 kernel/time/timer.c:1751 __run_timers kernel/time/timer.c:2022 [inline] __run_timers kernel/time/timer.c:1995 [inline] run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035 __do_softirq+0x1c1/0x8e8 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu kernel/softirq.c:650 [inline] irq_exit_rcu+0x11b/0x190 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:copy_from_kernel_nofault mm/maccess.c:35 [inline] RIP: 0010:copy_from_kernel_nofault+0x7a/0x2a0 mm/maccess.c:23 Code: 25 c0 a6 03 00 48 8d bd f8 15 00 00 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e ec 01 00 00 83 85 f8 15 00 00 01 07 00 00 00 4c 89 e6 e8 a9 27 d5 ff 49 83 fc 07 0f 86 9e 00 00 RSP: 0018:ffffc9000ed6f7a8 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff88811c895ae0 RCX: 0000000000000000 RDX: 1ffff110256902bf RSI: ffffffff81755ee2 RDI: ffff88812b4815f8 RBP: ffff88812b480000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000056001 R12: 000000000000000b R13: ffff888112630feb R14: ffff888112630ff6 R15: ffffc9000ed6f8e0 prepend_copy+0x22/0x70 fs/d_path.c:49 prepend+0xa9/0x130 fs/d_path.c:75 prepend_name fs/d_path.c:100 [inline] __prepend_path fs/d_path.c:132 [inline] prepend_path+0x58e/0xf20 fs/d_path.c:171 d_absolute_path+0xf3/0x1a0 fs/d_path.c:233 tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline] tomoyo_realpath_from_path+0x269/0x600 security/tomoyo/realpath.c:271 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x22d/0x430 security/tomoyo/file.c:822 security_inode_getattr+0xd3/0x140 security/security.c:1375 vfs_getattr fs/stat.c:167 [inline] vfs_statx+0x16e/0x430 fs/stat.c:242 vfs_fstatat+0x90/0xb0 fs/stat.c:276 __do_sys_newfstatat+0x8a/0x110 fs/stat.c:446 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f96d94de1da Code: 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 0b 00 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 07 31 c0 c3 0f 1f 40 00 48 8b 15 69 fc 0c 00 f7 RSP: 002b:00007ffc0de3aa68 EFLAGS: 00000202 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007f96d95ab380 RCX: 00007f96d94de1da RDX: 00007ffc0de3aa70 RSI: 00007f96d957475a RDI: 0000000000000008 RBP: 000055788ca8b5c0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000001000 R11: 0000000000000202 R12: 000055788ca8b5c0 R13: 0000000000000000 R14: 00007ffc0de3b048 R15: 0000000000003fff 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: 15803 Comm: udevd Not tainted 6.3.0-rc6-syzkaller-g8e86652e3e71 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:__skb_insert include/linux/skbuff.h:2184 [inline] RIP: 0010:__skb_queue_before include/linux/skbuff.h:2290 [inline] RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2323 [inline] RIP: 0010:skb_queue_tail+0xa2/0x150 net/core/skbuff.c:3684 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:ffffc900001889f8 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff88810e823878 RCX: ffffffff812cf6f4 RDX: 0000000000000000 RSI: 0000000000000012 RDI: ffff88811806fdc8 RBP: ffff88811806fdc0 R08: 0000000000000001 R09: 0000000000000003 R10: fffff5200003112d R11: 3e4b5341542f3c20 R12: 0000000000000000 R13: ffff88810e823890 R14: 000000010001715b R15: ffffffff8357b230 FS: 00007f96d9387840(0000) GS:ffff8881f6700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9de1d71110 CR3: 0000000138b64000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ath9k_htc_txep+0x28b/0x400 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:712 ath9k_htc_txcompletion_cb+0x1d1/0x2f0 drivers/net/wireless/ath/ath9k/htc_hst.c:353 hif_usb_regout_cb+0x119/0x1d0 drivers/net/wireless/ath/ath9k/hif_usb.c:90 __usb_hcd_giveback_urb+0x2b6/0x5c0 drivers/usb/core/hcd.c:1671 usb_hcd_giveback_urb+0x384/0x430 drivers/usb/core/hcd.c:1754 dummy_timer+0x13b6/0x3400 drivers/usb/gadget/udc/dummy_hcd.c:1988 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700 expire_timers+0x29b/0x4b0 kernel/time/timer.c:1751 __run_timers kernel/time/timer.c:2022 [inline] __run_timers kernel/time/timer.c:1995 [inline] run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035 __do_softirq+0x1c1/0x8e8 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu kernel/softirq.c:650 [inline] irq_exit_rcu+0x11b/0x190 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:copy_from_kernel_nofault mm/maccess.c:35 [inline] RIP: 0010:copy_from_kernel_nofault+0x7a/0x2a0 mm/maccess.c:23 Code: 25 c0 a6 03 00 48 8d bd f8 15 00 00 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e ec 01 00 00 83 85 f8 15 00 00 01 07 00 00 00 4c 89 e6 e8 a9 27 d5 ff 49 83 fc 07 0f 86 9e 00 00 RSP: 0018:ffffc9000ed6f7a8 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff88811c895ae0 RCX: 0000000000000000 RDX: 1ffff110256902bf RSI: ffffffff81755ee2 RDI: ffff88812b4815f8 RBP: ffff88812b480000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000056001 R12: 000000000000000b R13: ffff888112630feb R14: ffff888112630ff6 R15: ffffc9000ed6f8e0 prepend_copy+0x22/0x70 fs/d_path.c:49 prepend+0xa9/0x130 fs/d_path.c:75 prepend_name fs/d_path.c:100 [inline] __prepend_path fs/d_path.c:132 [inline] prepend_path+0x58e/0xf20 fs/d_path.c:171 d_absolute_path+0xf3/0x1a0 fs/d_path.c:233 tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline] tomoyo_realpath_from_path+0x269/0x600 security/tomoyo/realpath.c:271 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x22d/0x430 security/tomoyo/file.c:822 security_inode_getattr+0xd3/0x140 security/security.c:1375 vfs_getattr fs/stat.c:167 [inline] vfs_statx+0x16e/0x430 fs/stat.c:242 vfs_fstatat+0x90/0xb0 fs/stat.c:276 __do_sys_newfstatat+0x8a/0x110 fs/stat.c:446 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f96d94de1da Code: 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 0b 00 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 07 31 c0 c3 0f 1f 40 00 48 8b 15 69 fc 0c 00 f7 RSP: 002b:00007ffc0de3aa68 EFLAGS: 00000202 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007f96d95ab380 RCX: 00007f96d94de1da RDX: 00007ffc0de3aa70 RSI: 00007f96d957475a RDI: 0000000000000008 RBP: 000055788ca8b5c0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000001000 R11: 0000000000000202 R12: 000055788ca8b5c0 R13: 0000000000000000 R14: 00007ffc0de3b048 R15: 0000000000003fff Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__skb_insert include/linux/skbuff.h:2184 [inline] RIP: 0010:__skb_queue_before include/linux/skbuff.h:2290 [inline] RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2323 [inline] RIP: 0010:skb_queue_tail+0xa2/0x150 net/core/skbuff.c:3684 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:ffffc900001889f8 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff88810e823878 RCX: ffffffff812cf6f4 RDX: 0000000000000000 RSI: 0000000000000012 RDI: ffff88811806fdc8 RBP: ffff88811806fdc0 R08: 0000000000000001 R09: 0000000000000003 R10: fffff5200003112d R11: 3e4b5341542f3c20 R12: 0000000000000000 R13: ffff88810e823890 R14: 000000010001715b R15: ffffffff8357b230 FS: 00007f96d9387840(0000) GS:ffff8881f6700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9de1d71110 CR3: 0000000138b64000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 25 c0 a6 03 00 and $0x3a6c0,%eax 5: 48 8d bd f8 15 00 00 lea 0x15f8(%rbp),%rdi c: 48 89 fa mov %rdi,%rdx f: 48 c1 ea 03 shr $0x3,%rdx 13: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax 17: 84 c0 test %al,%al 19: 74 08 je 0x23 1b: 3c 03 cmp $0x3,%al 1d: 0f 8e ec 01 00 00 jle 0x20f 23: 83 85 f8 15 00 00 01 addl $0x1,0x15f8(%rbp) * 2a: bf 07 00 00 00 mov $0x7,%edi <-- trapping instruction 2f: 4c 89 e6 mov %r12,%rsi 32: e8 a9 27 d5 ff callq 0xffd527e0 37: 49 83 fc 07 cmp $0x7,%r12 3b: 0f .byte 0xf 3c: 86 .byte 0x86 3d: 9e sahf