============================= WARNING: suspicious RCU usage 6.1.135-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 3 locks held by syz.1.1552/8481: #0: ffffffff8db33868 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x567/0xea0 net/core/dev_ioctl.c:587 #1: ffff8880239e07c8 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5639 [inline] #1: ffff8880239e07c8 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: cfg80211_netdev_notifier_call+0x496/0x13e0 net/wireless/core.c:1511 #2: ffff8880566d8d40 (&wdev->mtx){+.+.}-{3:3}, at: wdev_lock net/wireless/core.h:231 [inline] #2: ffff8880566d8d40 (&wdev->mtx){+.+.}-{3:3}, at: cfg80211_leave net/wireless/core.c:1349 [inline] #2: ffff8880566d8d40 (&wdev->mtx){+.+.}-{3:3}, at: cfg80211_netdev_notifier_call+0x4ad/0x13e0 net/wireless/core.c:1512 stack backtrace: CPU: 1 PID: 8481 Comm: syz.1.1552 Not tainted 6.1.135-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 lockdep_rcu_suspicious+0x1dd/0x300 kernel/locking/lockdep.c:6611 sta_remove_link+0x356/0x4b0 net/mac80211/sta_info.c:360 sta_info_free+0x50/0x670 net/mac80211/sta_info.c:405 ieee80211_ibss_disconnect+0x3b3/0x710 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+0x1da/0x450 net/wireless/ibss.c:211 cfg80211_leave net/wireless/core.c:1350 [inline] cfg80211_netdev_notifier_call+0x4b8/0x13e0 net/wireless/core.c:1512 notifier_call_chain kernel/notifier.c:87 [inline] raw_notifier_call_chain+0xcb/0x160 kernel/notifier.c:455 call_netdevice_notifiers_extack net/core/dev.c:2039 [inline] call_netdevice_notifiers net/core/dev.c:2053 [inline] __dev_close_many+0x103/0x2a0 net/core/dev.c:1546 __dev_close net/core/dev.c:1584 [inline] __dev_change_flags+0x2c0/0x6a0 net/core/dev.c:8624 dev_change_flags+0x82/0x1a0 net/core/dev.c:8697 dev_ifsioc+0x159/0xe90 net/core/dev_ioctl.c:327 dev_ioctl+0x578/0xea0 net/core/dev_ioctl.c:588 sock_do_ioctl+0x222/0x2f0 net/socket.c:1218 sock_ioctl+0x4ed/0x6e0 net/socket.c:1321 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fc11e78e969 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:00007fc11f525038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc11e9b6080 RCX: 00007fc11e78e969 RDX: 0000200000000080 RSI: 0000000000008914 RDI: 0000000000000006 RBP: 00007fc11e810ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc11e9b6080 R15: 00007fffab62d7e8