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: 4633 Comm: syz-executor.6 Not tainted 5.19.0-rc7-next-20220718 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: dump_stack_lvl+0x8b/0xb3 register_lock_class+0x1597/0x1890 __lock_acquire+0x102/0x5e70 lock_acquire+0x1a2/0x530 _raw_spin_lock_bh+0x2f/0x40 ieee80211_do_stop+0xbe/0x1dd0 ieee80211_if_change_type+0x43e/0x900 ieee80211_change_iface+0x57/0x400 cfg80211_change_iface+0x573/0xee0 nl80211_set_interface+0x663/0x900 genl_family_rcv_msg_doit+0x22d/0x330 genl_rcv_msg+0x33c/0x5a0 netlink_rcv_skb+0x14b/0x430 genl_rcv+0x24/0x40 netlink_unicast+0x54e/0x800 netlink_sendmsg+0x91b/0xe10 sock_sendmsg+0x154/0x190 ____sys_sendmsg+0x710/0x870 ___sys_sendmsg+0x110/0x1b0 __x64_sys_sendmsg+0x132/0x220 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f99bfc76b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f99bd1cb188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f99bfd8a020 RCX: 00007f99bfc76b19 RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000004 RBP: 00007f99bfcd0f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff1934719f R14: 00007f99bd1cb300 R15: 0000000000022000 FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 1 CPU: 1 PID: 4642 Comm: syz-executor.2 Not tainted 5.19.0-rc7-next-20220718 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: dump_stack_lvl+0x8b/0xb3 should_fail.cold+0x5/0xa strncpy_from_user+0x34/0x3e0 getname_flags.part.0+0x95/0x4f0 getname+0x8e/0xd0 do_sys_openat2+0xf9/0x4c0 __x64_sys_openat+0x13f/0x1f0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f32978eba04 Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 RSP: 002b:00007f3294eae060 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f3297a4bf60 RCX: 00007f32978eba04 RDX: 0000000000000002 RSI: 00007f3294eae0f0 RDI: 00000000ffffff9c RBP: 00007f3294eae0f0 R08: 0000000000000000 R09: 00007f3294eadf70 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007ffe1ff0e89f R14: 00007f3294eae300 R15: 0000000000022000