============================= WARNING: suspicious RCU usage 6.1.114-syzkaller #0 Not tainted ----------------------------- net/mac80211/sta_info.c:361 suspicious rcu_dereference_protected() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 4 locks held by syz.0.15/4389: #0: ffffffff8e55a030 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:860 #1: ffffffff8e4fafa8 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5b/0x8a0 net/wireless/nl80211.c:16230 #2: ffff88802b7f07c8 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5639 [inline] #2: ffff88802b7f07c8 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: nl80211_pre_doit+0x58b/0x8a0 net/wireless/nl80211.c:16303 #3: ffff88806a2d4d40 (&wdev->mtx){+.+.}-{3:3}, at: wdev_lock net/wireless/core.h:231 [inline] #3: ffff88806a2d4d40 (&wdev->mtx){+.+.}-{3:3}, at: cfg80211_leave_ibss+0x4c/0x70 net/wireless/ibss.c:228 stack backtrace: CPU: 0 PID: 4389 Comm: syz.0.15 Not tainted 6.1.114-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 lockdep_rcu_suspicious+0x21c/0x330 kernel/locking/lockdep.c:6608 sta_remove_link+0x353/0x4a0 net/mac80211/sta_info.c:360 sta_info_free+0x4f/0x750 net/mac80211/sta_info.c:405 ieee80211_ibss_disconnect+0x3a3/0x700 net/mac80211/ibss.c:704 ieee80211_ibss_leave+0x21/0x130 net/mac80211/ibss.c:1868 rdev_leave_ibss net/wireless/rdev-ops.h:561 [inline] __cfg80211_leave_ibss+0x1dd/0x470 net/wireless/ibss.c:211 cfg80211_leave_ibss+0x5b/0x70 net/wireless/ibss.c:229 cfg80211_change_iface+0x4e3/0x1030 net/wireless/util.c:1131 nl80211_set_interface+0x5f9/0x870 net/wireless/nl80211.c:4204 genl_family_rcv_msg_doit net/netlink/genetlink.c:756 [inline] genl_family_rcv_msg net/netlink/genetlink.c:833 [inline] genl_rcv_msg+0xc1a/0xf70 net/netlink/genetlink.c:850 netlink_rcv_skb+0x1cd/0x410 net/netlink/af_netlink.c:2508 genl_rcv+0x24/0x40 net/netlink/genetlink.c:861 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline] netlink_unicast+0x7d8/0x970 net/netlink/af_netlink.c:1352 netlink_sendmsg+0xa26/0xd60 net/netlink/af_netlink.c:1874 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] ____sys_sendmsg+0x5a5/0x8f0 net/socket.c:2519 ___sys_sendmsg net/socket.c:2573 [inline] __sys_sendmsg+0x2a9/0x390 net/socket.c:2602 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f420677e719 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f42075da038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f4206935f80 RCX: 00007f420677e719 RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000004 RBP: 00007f42067f132e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4206935f80 R15: 00007ffd9a506258