============================= WARNING: suspicious RCU usage 6.1.120-syzkaller-00773-g52f863f820fd #0 Tainted: G W ----------------------------- 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 3 locks held by syz.0.42/4452: #0: ffffffff8e50b328 (rtnl_mutex){+.+.}-{3:3}, at: wext_ioctl_dispatch+0xb9/0x460 net/wireless/wext-core.c:996 #1: ffff8880283f87c8 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5639 [inline] #1: ffff8880283f87c8 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: cfg80211_wext_siwmode net/wireless/wext-compat.c:65 [inline] #1: ffff8880283f87c8 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: __cfg80211_wext_siwmode+0x1a4/0x280 net/wireless/wext-compat.c:1599 #2: ffff88805604cd40 (&wdev->mtx){+.+.}-{3:3}, at: wdev_lock net/wireless/core.h:231 [inline] #2: ffff88805604cd40 (&wdev->mtx){+.+.}-{3:3}, at: cfg80211_leave_ibss+0x4c/0x70 net/wireless/ibss.c:228 stack backtrace: CPU: 0 PID: 4452 Comm: syz.0.42 Tainted: G W 6.1.120-syzkaller-00773-g52f863f820fd #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 cfg80211_wext_siwmode net/wireless/wext-compat.c:66 [inline] __cfg80211_wext_siwmode+0x1b7/0x280 net/wireless/wext-compat.c:1599 ioctl_standard_call+0xdb/0x280 net/wireless/wext-core.c:1026 wext_ioctl_dispatch+0x16f/0x460 net/wireless/wext-core.c:997 wext_handle_ioctl+0x15b/0x260 net/wireless/wext-core.c:1058 sock_ioctl+0x13b/0x770 net/socket.c:1255 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856 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:0x7f4634185d19 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:00007f4634fc7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f4634375fa0 RCX: 00007f4634185d19 RDX: 0000000020000080 RSI: 0000000000008b06 RDI: 0000000000000008 RBP: 00007f4634201a20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4634375fa0 R15: 00007ffd288cabd8