mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium ------------[ cut here ]------------ WARNING: CPU: 0 PID: 18357 at net/mac80211/offchannel.c:404 ieee80211_start_next_roc+0x1d5/0x240 net/mac80211/offchannel.c:404 Modules linked in: CPU: 0 UID: 0 PID: 18357 Comm: syz.3.4452 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:ieee80211_start_next_roc+0x1d5/0x240 net/mac80211/offchannel.c:404 Code: 4c 89 f7 48 89 de 48 89 c2 5b 41 5c 41 5e 41 5f 5d e9 6f a4 dc ff e8 0a 36 07 f7 90 0f 0b 90 e9 c4 fe ff ff e8 fc 35 07 f7 90 <0f> 0b 90 e9 01 ff ff ff 48 c7 c1 90 0c 7d 8f 80 e1 07 80 c1 03 38 RSP: 0018:ffffc9000dd46f10 EFLAGS: 00010283 RAX: ffffffff8ab8ce74 RBX: ffff88805ff20e80 RCX: 0000000000080000 RDX: ffffc90004e21000 RSI: 0000000000000475 RDI: 0000000000000476 RBP: 0000000000000001 R08: ffff8880539897c7 R09: 1ffff1100a7312f8 R10: dffffc0000000000 R11: ffffed100a7312f9 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff888075a14b20 R15: ffff88805ff21626 FS: 00007fab8de346c0(0000) GS:ffff88812613c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30323ffc CR3: 0000000076ee2000 CR4: 00000000003526f0 Call Trace: ieee80211_do_stop+0x200/0x1f50 net/mac80211/iface.c:483 ieee80211_runtime_change_iftype net/mac80211/iface.c:1964 [inline] ieee80211_if_change_type+0x459/0x990 net/mac80211/iface.c:2002 ieee80211_change_iface+0xd5/0x510 net/mac80211/cfg.c:254 rdev_change_virtual_intf net/wireless/rdev-ops.h:74 [inline] cfg80211_change_iface+0x795/0xef0 net/wireless/util.c:1238 nl80211_set_interface+0x773/0xaa0 net/wireless/nl80211.c:4632 genl_family_rcv_msg_doit+0x215/0x300 net/netlink/genetlink.c:1115 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0x60e/0x790 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x208/0x470 net/netlink/af_netlink.c:2552 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x82f/0x9e0 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x805/0xb30 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg+0x21c/0x270 net/socket.c:742 ____sys_sendmsg+0x505/0x830 net/socket.c:2630 ___sys_sendmsg+0x21f/0x2a0 net/socket.c:2684 __sys_sendmsg net/socket.c:2716 [inline] __do_sys_sendmsg net/socket.c:2721 [inline] __se_sys_sendmsg net/socket.c:2719 [inline] __x64_sys_sendmsg+0x19b/0x260 net/socket.c:2719 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fab8cf8f6c9 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:00007fab8de34038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fab8d1e5fa0 RCX: 00007fab8cf8f6c9 RDX: 0000000000000000 RSI: 0000200000000340 RDI: 0000000000000003 RBP: 00007fab8d011f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fab8d1e6038 R14: 00007fab8d1e5fa0 R15: 00007fff1df39f18