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 UID: 0 PID: 6413 Comm: syz-executor Not tainted 6.14.0-rc4-syzkaller-00077-gf4ce1f3318ad #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
assign_lock_key+0x241/0x280 kernel/locking/lockdep.c:983
register_lock_class+0x1cf/0x980 kernel/locking/lockdep.c:1297
__lock_acquire+0xf3/0x2100 kernel/locking/lockdep.c:5103
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5851
_raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378
d_walk+0x1e7/0x750 fs/dcache.c:1293
shrink_dcache_parent+0x144/0x3b0 fs/dcache.c:1527
d_invalidate+0x11c/0x2d0 fs/dcache.c:1632
simple_recursive_removal+0x3a7/0x8f0 fs/libfs.c:629
debugfs_remove+0x49/0x70 fs/debugfs/inode.c:805
ieee80211_debugfs_remove_netdev+0x51/0xb0 net/mac80211/debugfs_netdev.c:1021
ieee80211_teardown_sdata net/mac80211/iface.c:813 [inline]
ieee80211_if_change_type+0x163/0xaf0 net/mac80211/iface.c:1924
ieee80211_change_iface+0xd2/0x4f0 net/mac80211/cfg.c:242
rdev_change_virtual_intf net/wireless/rdev-ops.h:74 [inline]
cfg80211_change_iface+0x796/0xf30 net/wireless/util.c:1217
nl80211_set_interface+0x7d8/0xb40 net/wireless/nl80211.c:4399
genl_family_rcv_msg_doit net/netlink/genetlink.c:1115 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
genl_rcv_msg+0xb1f/0xec0 net/netlink/genetlink.c:1210
netlink_rcv_skb+0x206/0x480 net/netlink/af_netlink.c:2543
genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
netlink_unicast_kernel net/netlink/af_netlink.c:1322 [inline]
netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1348
netlink_sendmsg+0x8de/0xcb0 net/netlink/af_netlink.c:1892
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg+0x221/0x270 net/socket.c:733
__sys_sendto+0x363/0x4c0 net/socket.c:2187
__do_sys_sendto net/socket.c:2194 [inline]
__se_sys_sendto net/socket.c:2190 [inline]
__x64_sys_sendto+0xde/0x100 net/socket.c:2190
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f246818ec3c
Code: 2a 5f 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 70 5f 02 00 48 8b
RSP: 002b:00007fffcee8b8c0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f2468ed4620 RCX: 00007f246818ec3c
RDX: 0000000000000024 RSI: 00007f2468ed4670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007fffcee8b914 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f2468ed4670 R15: 0000000000000000
------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in kernel/locking/qspinlock.c:131:9
index 6227 is out of range for type 'unsigned long[8]'
CPU: 1 UID: 0 PID: 6413 Comm: syz-executor Not tainted 6.14.0-rc4-syzkaller-00077-gf4ce1f3318ad #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
ubsan_epilogue lib/ubsan.c:231 [inline]
__ubsan_handle_out_of_bounds+0x121/0x150 lib/ubsan.c:429
decode_tail kernel/locking/qspinlock.c:131 [inline]
__pv_queued_spin_lock_slowpath+0xd54/0xdb0 kernel/locking/qspinlock.c:468
pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:577 [inline]
queued_spin_lock_slowpath+0x42/0x50 arch/x86/include/asm/qspinlock.h:51
queued_spin_lock include/asm-generic/qspinlock.h:114 [inline]
do_raw_spin_lock+0x272/0x370 kernel/locking/spinlock_debug.c:116
d_walk+0x1e7/0x750 fs/dcache.c:1293
shrink_dcache_parent+0x144/0x3b0 fs/dcache.c:1527
d_invalidate+0x11c/0x2d0 fs/dcache.c:1632
simple_recursive_removal+0x3a7/0x8f0 fs/libfs.c:629
debugfs_remove+0x49/0x70 fs/debugfs/inode.c:805
ieee80211_debugfs_remove_netdev+0x51/0xb0 net/mac80211/debugfs_netdev.c:1021
ieee80211_teardown_sdata net/mac80211/iface.c:813 [inline]
ieee80211_if_change_type+0x163/0xaf0 net/mac80211/iface.c:1924
ieee80211_change_iface+0xd2/0x4f0 net/mac80211/cfg.c:242
rdev_change_virtual_intf net/wireless/rdev-ops.h:74 [inline]
cfg80211_change_iface+0x796/0xf30 net/wireless/util.c:1217
nl80211_set_interface+0x7d8/0xb40 net/wireless/nl80211.c:4399
genl_family_rcv_msg_doit net/netlink/genetlink.c:1115 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
genl_rcv_msg+0xb1f/0xec0 net/netlink/genetlink.c:1210
netlink_rcv_skb+0x206/0x480 net/netlink/af_netlink.c:2543
genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
netlink_unicast_kernel net/netlink/af_netlink.c:1322 [inline]
netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1348
netlink_sendmsg+0x8de/0xcb0 net/netlink/af_netlink.c:1892
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg+0x221/0x270 net/socket.c:733
__sys_sendto+0x363/0x4c0 net/socket.c:2187
__do_sys_sendto net/socket.c:2194 [inline]
__se_sys_sendto net/socket.c:2190 [inline]
__x64_sys_sendto+0xde/0x100 net/socket.c:2190
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f246818ec3c
Code: 2a 5f 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 70 5f 02 00 48 8b
RSP: 002b:00007fffcee8b8c0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f2468ed4620 RCX: 00007f246818ec3c
RDX: 0000000000000024 RSI: 00007f2468ed4670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007fffcee8b914 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f2468ed4670 R15: 0000000000000000
---[ end trace ]---