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: 21972 Comm: syz-executor.0 Not tainted 5.17.0-rc8-syzkaller-00178-g46d2c20b0b10 #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:1988
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:on_stack arch/x86/include/asm/stacktrace.h:60 [inline]
RIP: 0010:stack_access_ok arch/x86/kernel/unwind_orc.c:342 [inline]
RIP: 0010:deref_stack_reg+0x99/0x150 arch/x86/kernel/unwind_orc.c:352
Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 94 00 00 00 49 39 ed 49 8b 44 24 10 77 13 48 39 e8 76 0e 48 8d 55 08 48 39 d0 72 05 <49> 39 d5 72 3b 49 8d 7c 24 28 48 b8 00 00 00 00 00 fc ff df 49 8d
RSP: 0018:ffffc9000189f360 EFLAGS: 00000212
RAX: ffffc900018a0000 RBX: ffffc9000189f4b0 RCX: ffffffff890bcf61
RDX: ffffc9000189f7c8 RSI: ffffc9000189f7c0 RDI: ffffc9000189f478
RBP: ffffc9000189f7c0 R08: ffffffff890bcf5c R09: 0000000000000001
R10: fffff52000313e98 R11: 000000000005003e R12: ffffc9000189f468
R13: ffffc90001898000 R14: ffffc9000189f468 R15: ffffffff890bcf60
unwind_next_frame+0xcdc/0x1ce0 arch/x86/kernel/unwind_orc.c:534
arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38
kasan_set_track+0x21/0x30 mm/kasan/common.c:45
kasan_set_free_info+0x20/0x30 mm/kasan/generic.c:370
____kasan_slab_free mm/kasan/common.c:366 [inline]
____kasan_slab_free+0x102/0x150 mm/kasan/common.c:328
kasan_slab_free include/linux/kasan.h:236 [inline]
slab_free_hook mm/slub.c:1728 [inline]
slab_free_freelist_hook mm/slub.c:1754 [inline]
slab_free mm/slub.c:3509 [inline]
kmem_cache_free+0xd5/0x400 mm/slub.c:3526
jbd2_free_handle include/linux/jbd2.h:1605 [inline]
jbd2_journal_stop+0x656/0xf20 fs/jbd2/transaction.c:1948
__ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:127
ext4_dirty_inode+0xe8/0x110 fs/ext4/inode.c:5903
__mark_inode_dirty+0x3f8/0xf30 fs/fs-writeback.c:2409
mark_inode_dirty include/linux/fs.h:2367 [inline]
generic_write_end+0x238/0x400 fs/buffer.c:2203
ext4_da_write_end+0x1c2/0x990 fs/ext4/inode.c:3042
generic_perform_write+0x2c6/0x510 mm/filemap.c:3776
ext4_buffered_write_iter+0x1a2/0x390 fs/ext4/file.c:268
ext4_dio_write_iter fs/ext4/file.c:584 [inline]
ext4_file_write_iter+0xb3b/0x1970 fs/ext4/file.c:675
call_write_iter include/linux/fs.h:2074 [inline]
new_sync_write+0x431/0x660 fs/read_write.c:503
vfs_write+0x7cd/0xae0 fs/read_write.c:590
ksys_write+0x12d/0x250 fs/read_write.c:643
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:0x7fdd753b4049
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdd7452a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fdd754c6f60 RCX: 00007fdd753b4049
RDX: 00000000fffffeb0 RSI: 0000000020001800 RDI: 0000000000000006
RBP: 00007fdd7540e08d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd362371ef R14: 00007fdd7452a300 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: 21972 Comm: syz-executor.0 Not tainted 5.17.0-rc8-syzkaller-00178-g46d2c20b0b10 #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: ffff88811cac38e8 RCX: ffffffff8129fc50
RDX: 0000000000000000 RSI: 0000000000000012 RDI: ffff88810c231288
RBP: ffff88810c231280 R08: 0000000000000001 R09: 0000000000000003
R10: fffff5200002b129 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88811cac3900 R14: 0000000100010eba R15: ffffffff83164120
FS: 00007fdd7452a700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020e7f000 CR3: 0000000116e58000 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:1988
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:on_stack arch/x86/include/asm/stacktrace.h:60 [inline]
RIP: 0010:stack_access_ok arch/x86/kernel/unwind_orc.c:342 [inline]
RIP: 0010:deref_stack_reg+0x99/0x150 arch/x86/kernel/unwind_orc.c:352
Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 94 00 00 00 49 39 ed 49 8b 44 24 10 77 13 48 39 e8 76 0e 48 8d 55 08 48 39 d0 72 05 <49> 39 d5 72 3b 49 8d 7c 24 28 48 b8 00 00 00 00 00 fc ff df 49 8d
RSP: 0018:ffffc9000189f360 EFLAGS: 00000212
RAX: ffffc900018a0000 RBX: ffffc9000189f4b0 RCX: ffffffff890bcf61
RDX: ffffc9000189f7c8 RSI: ffffc9000189f7c0 RDI: ffffc9000189f478
RBP: ffffc9000189f7c0 R08: ffffffff890bcf5c R09: 0000000000000001
R10: fffff52000313e98 R11: 000000000005003e R12: ffffc9000189f468
R13: ffffc90001898000 R14: ffffc9000189f468 R15: ffffffff890bcf60
unwind_next_frame+0xcdc/0x1ce0 arch/x86/kernel/unwind_orc.c:534
arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38
kasan_set_track+0x21/0x30 mm/kasan/common.c:45
kasan_set_free_info+0x20/0x30 mm/kasan/generic.c:370
____kasan_slab_free mm/kasan/common.c:366 [inline]
____kasan_slab_free+0x102/0x150 mm/kasan/common.c:328
kasan_slab_free include/linux/kasan.h:236 [inline]
slab_free_hook mm/slub.c:1728 [inline]
slab_free_freelist_hook mm/slub.c:1754 [inline]
slab_free mm/slub.c:3509 [inline]
kmem_cache_free+0xd5/0x400 mm/slub.c:3526
jbd2_free_handle include/linux/jbd2.h:1605 [inline]
jbd2_journal_stop+0x656/0xf20 fs/jbd2/transaction.c:1948
__ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:127
ext4_dirty_inode+0xe8/0x110 fs/ext4/inode.c:5903
__mark_inode_dirty+0x3f8/0xf30 fs/fs-writeback.c:2409
mark_inode_dirty include/linux/fs.h:2367 [inline]
generic_write_end+0x238/0x400 fs/buffer.c:2203
ext4_da_write_end+0x1c2/0x990 fs/ext4/inode.c:3042
generic_perform_write+0x2c6/0x510 mm/filemap.c:3776
ext4_buffered_write_iter+0x1a2/0x390 fs/ext4/file.c:268
ext4_dio_write_iter fs/ext4/file.c:584 [inline]
ext4_file_write_iter+0xb3b/0x1970 fs/ext4/file.c:675
call_write_iter include/linux/fs.h:2074 [inline]
new_sync_write+0x431/0x660 fs/read_write.c:503
vfs_write+0x7cd/0xae0 fs/read_write.c:590
ksys_write+0x12d/0x250 fs/read_write.c:643
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:0x7fdd753b4049
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdd7452a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fdd754c6f60 RCX: 00007fdd753b4049
RDX: 00000000fffffeb0 RSI: 0000000020001800 RDI: 0000000000000006
RBP: 00007fdd7540e08d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd362371ef R14: 00007fdd7452a300 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: ffff88811cac38e8 RCX: ffffffff8129fc50
RDX: 0000000000000000 RSI: 0000000000000012 RDI: ffff88810c231288
RBP: ffff88810c231280 R08: 0000000000000001 R09: 0000000000000003
R10: fffff5200002b129 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88811cac3900 R14: 0000000100010eba R15: ffffffff83164120
FS: 00007fdd7452a700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020e7f000 CR3: 0000000116e58000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: df 48 89 fisttps -0x77(%rax)
3: fa cli
4: 48 c1 ea 03 shr $0x3,%rdx
8: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
c: 0f 85 94 00 00 00 jne 0xa6
12: 49 39 ed cmp %rbp,%r13
15: 49 8b 44 24 10 mov 0x10(%r12),%rax
1a: 77 13 ja 0x2f
1c: 48 39 e8 cmp %rbp,%rax
1f: 76 0e jbe 0x2f
21: 48 8d 55 08 lea 0x8(%rbp),%rdx
25: 48 39 d0 cmp %rdx,%rax
28: 72 05 jb 0x2f
* 2a: 49 39 d5 cmp %rdx,%r13 <-- trapping instruction
2d: 72 3b jb 0x6a
2f: 49 8d 7c 24 28 lea 0x28(%r12),%rdi
34: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
3b: fc ff df
3e: 49 rex.WB
3f: 8d .byte 0x8d