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: 1290 Comm: syz-executor.4 Not tainted 6.1.0-rc3-syzkaller-00058-gdd65a243a915 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/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:981 [inline]
register_lock_class+0xf1b/0x1120 kernel/locking/lockdep.c:1294
__lock_acquire+0x109/0x56d0 kernel/locking/lockdep.c:4934
lock_acquire kernel/locking/lockdep.c:5668 [inline]
lock_acquire+0x1df/0x630 kernel/locking/lockdep.c:5633
__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+0x1da/0x7c0 kernel/time/timer.c:1474
expire_timers kernel/time/timer.c:1519 [inline]
__run_timers.part.0+0x6a2/0xaf0 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+0x1e4/0xabb 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:__slab_free+0x7e/0x310 mm/slub.c:3520
Code: 24 48 41 0f 94 c3 66 85 db 41 89 c6 74 05 45 84 db 74 05 45 84 f6 74 36 41 8b 7d 08 4d 89 f8 4c 89 e2 48 89 ee 4c 8b 4c 24 48 ad a9 ff ff 84 c0 74 a2 45 89 f4 45 84 e4 0f 84 ee 00 00 00 48
RSP: 0018:ffffc90001537930 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000100007 RCX: 0000000000100008
RDX: ffff8881396e1700 RSI: ffffea0004e5b840 RDI: 0000000048001000
RBP: ffffea0004e5b840 R08: ffff8881396e1800 R09: 0000000000100007
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881396e1700
R13: ffff888100041a00 R14: 0000000000000000 R15: ffff8881396e1800
qlink_free mm/kasan/quarantine.c:168 [inline]
qlist_free_all+0x6a/0x170 mm/kasan/quarantine.c:187
kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:294
__kasan_slab_alloc+0x44/0x60 mm/kasan/common.c:302
kasan_slab_alloc include/linux/kasan.h:201 [inline]
slab_post_alloc_hook mm/slab.h:737 [inline]
slab_alloc_node mm/slub.c:3398 [inline]
__kmem_cache_alloc_node+0x2a8/0x3b0 mm/slub.c:3437
__do_kmalloc_node mm/slab_common.c:954 [inline]
__kmalloc+0x44/0xc0 mm/slab_common.c:968
kmalloc include/linux/slab.h:581 [inline]
inotify_handle_inode_event+0x11c/0x5d0 fs/notify/inotify/inotify_fsnotify.c:89
fsnotify_handle_inode_event.isra.0+0x22e/0x370 fs/notify/fsnotify.c:264
fsnotify_handle_event fs/notify/fsnotify.c:316 [inline]
send_to_group fs/notify/fsnotify.c:364 [inline]
fsnotify+0x1153/0x1680 fs/notify/fsnotify.c:570
__fsnotify_parent+0x62f/0xa60 fs/notify/fsnotify.c:230
fsnotify_parent include/linux/fsnotify.h:77 [inline]
fsnotify_file include/linux/fsnotify.h:99 [inline]
fsnotify_close include/linux/fsnotify.h:341 [inline]
__fput+0x5e7/0xa90 fs/file_table.c:306
task_work_run+0x16b/0x270 kernel/task_work.c:179
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
exit_to_user_mode_prepare+0x1f7/0x200 kernel/entry/common.c:203
__syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:296
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f37e3c313e3
Code: c7 c2 b8 ff ff ff 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 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8
RSP: 002b:00007ffc0ea8b638 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 00007ffc0ea8b6c0 RCX: 00007f37e3c313e3
RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000000000 R09: 00007ffc0ea8b4d0
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000005f
R13: 000000000027c657 R14: 0000000000000003 R15: 00007ffc0ea8b700
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: 1290 Comm: syz-executor.4 Not tainted 6.1.0-rc3-syzkaller-00058-gdd65a243a915 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:__skb_insert include/linux/skbuff.h:2167 [inline]
RIP: 0010:__skb_queue_before include/linux/skbuff.h:2273 [inline]
RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2306 [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:ffffc900000079c0 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffff8881141db838 RCX: ffffffff812afc70
RDX: 0000000000000000 RSI: 0000000000000012 RDI: ffff888114154b48
RBP: ffff888114154b40 R08: 0000000000000001 R09: 0000000000000003
R10: fffff52000000f26 R11: 3e4b5341542f3c20 R12: 0000000000000000
R13: ffff8881141db850 R14: 00000001000384eb R15: ffffffff83285600
FS: 0000555555c6e400(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc0ea89df8 CR3: 00000001350fb000 CR4: 00000000003506f0
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+0x1da/0x7c0 kernel/time/timer.c:1474
expire_timers kernel/time/timer.c:1519 [inline]
__run_timers.part.0+0x6a2/0xaf0 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+0x1e4/0xabb 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:__slab_free+0x7e/0x310 mm/slub.c:3520
Code: 24 48 41 0f 94 c3 66 85 db 41 89 c6 74 05 45 84 db 74 05 45 84 f6 74 36 41 8b 7d 08 4d 89 f8 4c 89 e2 48 89 ee 4c 8b 4c 24 48 ad a9 ff ff 84 c0 74 a2 45 89 f4 45 84 e4 0f 84 ee 00 00 00 48
RSP: 0018:ffffc90001537930 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000100007 RCX: 0000000000100008
RDX: ffff8881396e1700 RSI: ffffea0004e5b840 RDI: 0000000048001000
RBP: ffffea0004e5b840 R08: ffff8881396e1800 R09: 0000000000100007
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881396e1700
R13: ffff888100041a00 R14: 0000000000000000 R15: ffff8881396e1800
qlink_free mm/kasan/quarantine.c:168 [inline]
qlist_free_all+0x6a/0x170 mm/kasan/quarantine.c:187
kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:294
__kasan_slab_alloc+0x44/0x60 mm/kasan/common.c:302
kasan_slab_alloc include/linux/kasan.h:201 [inline]
slab_post_alloc_hook mm/slab.h:737 [inline]
slab_alloc_node mm/slub.c:3398 [inline]
__kmem_cache_alloc_node+0x2a8/0x3b0 mm/slub.c:3437
__do_kmalloc_node mm/slab_common.c:954 [inline]
__kmalloc+0x44/0xc0 mm/slab_common.c:968
kmalloc include/linux/slab.h:581 [inline]
inotify_handle_inode_event+0x11c/0x5d0 fs/notify/inotify/inotify_fsnotify.c:89
fsnotify_handle_inode_event.isra.0+0x22e/0x370 fs/notify/fsnotify.c:264
fsnotify_handle_event fs/notify/fsnotify.c:316 [inline]
send_to_group fs/notify/fsnotify.c:364 [inline]
fsnotify+0x1153/0x1680 fs/notify/fsnotify.c:570
__fsnotify_parent+0x62f/0xa60 fs/notify/fsnotify.c:230
fsnotify_parent include/linux/fsnotify.h:77 [inline]
fsnotify_file include/linux/fsnotify.h:99 [inline]
fsnotify_close include/linux/fsnotify.h:341 [inline]
__fput+0x5e7/0xa90 fs/file_table.c:306
task_work_run+0x16b/0x270 kernel/task_work.c:179
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
exit_to_user_mode_prepare+0x1f7/0x200 kernel/entry/common.c:203
__syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:296
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f37e3c313e3
Code: c7 c2 b8 ff ff ff 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 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8
RSP: 002b:00007ffc0ea8b638 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 00007ffc0ea8b6c0 RCX: 00007f37e3c313e3
RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000000000 R09: 00007ffc0ea8b4d0
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000005f
R13: 000000000027c657 R14: 0000000000000003 R15: 00007ffc0ea8b700
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__skb_insert include/linux/skbuff.h:2167 [inline]
RIP: 0010:__skb_queue_before include/linux/skbuff.h:2273 [inline]
RIP: 0010:__skb_queue_tail include/linux/skbuff.h:2306 [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:ffffc900000079c0 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffff8881141db838 RCX: ffffffff812afc70
RDX: 0000000000000000 RSI: 0000000000000012 RDI: ffff888114154b48
RBP: ffff888114154b40 R08: 0000000000000001 R09: 0000000000000003
R10: fffff52000000f26 R11: 3e4b5341542f3c20 R12: 0000000000000000
R13: ffff8881141db850 R14: 00000001000384eb R15: ffffffff83285600
FS: 0000555555c6e400(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc0ea89df8 CR3: 00000001350fb000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 24 48 and $0x48,%al
2: 41 0f 94 c3 sete %r11b
6: 66 85 db test %bx,%bx
9: 41 89 c6 mov %eax,%r14d
c: 74 05 je 0x13
e: 45 84 db test %r11b,%r11b
11: 74 05 je 0x18
13: 45 84 f6 test %r14b,%r14b
16: 74 36 je 0x4e
18: 41 8b 7d 08 mov 0x8(%r13),%edi
1c: 4d 89 f8 mov %r15,%r8
1f: 4c 89 e2 mov %r12,%rdx
22: 48 89 ee mov %rbp,%rsi
25: 4c 8b 4c 24 48 mov 0x48(%rsp),%r9
* 2a: e8 ad a9 ff ff callq 0xffffa9dc <-- trapping instruction
2f: 84 c0 test %al,%al
31: 74 a2 je 0xffffffd5
33: 45 89 f4 mov %r14d,%r12d
36: 45 84 e4 test %r12b,%r12b
39: 0f 84 ee 00 00 00 je 0x12d
3f: 48 rex.W