------------[ cut here ]------------ WARNING: CPU: 0 PID: 7618 at net/wireless/scan.c:1148 cfg80211_scan_done+0x31f/0x4d0 net/wireless/scan.c:1147 Modules linked in: CPU: 0 UID: 0 PID: 7618 Comm: syz.2.375 Not tainted 6.12.0-rc2-syzkaller-00631-g6d858708d465 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:cfg80211_scan_done+0x31f/0x4d0 net/wireless/scan.c:1147 Code: 01 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 b0 da 81 f6 90 0f 0b 90 e9 d5 fd ff ff e8 a2 da 81 f6 90 <0f> 0b 90 e9 be fe ff ff e8 94 da 81 f6 c6 05 0b d5 f3 04 01 90 48 RSP: 0018:ffffc90004466e80 EFLAGS: 00010287 RAX: ffffffff8b130cae RBX: ffff888059c301b0 RCX: 0000000000040000 RDX: ffffc90016007000 RSI: 000000000000041c RDI: 000000000000041d RBP: ffffc90004466f58 R08: ffffffff8b130ac0 R09: 1ffffffff203a235 R10: dffffc0000000000 R11: fffffbfff203a236 R12: ffff888059c301b8 R13: dffffc0000000000 R14: 1ffff1100d69860c R15: ffff88806b4c3000 FS: 00007fe8fbce16c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3677dd CR3: 000000002e64e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __ieee80211_scan_completed+0x573/0xb60 net/mac80211/scan.c:486 ieee80211_do_stop+0x201/0x2300 net/mac80211/iface.c:481 ieee80211_runtime_change_iftype net/mac80211/iface.c:1873 [inline] ieee80211_if_change_type+0x4cd/0xad0 net/mac80211/iface.c:1911 ieee80211_change_iface+0xd2/0x4f0 net/mac80211/cfg.c:219 rdev_change_virtual_intf net/wireless/rdev-ops.h:74 [inline] cfg80211_change_iface+0x782/0xf30 net/wireless/util.c:1217 nl80211_set_interface+0x5b5/0x830 net/wireless/nl80211.c:4368 genl_family_rcv_msg_doit net/netlink/genetlink.c:1115 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0xb14/0xec0 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2551 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:744 ____sys_sendmsg+0x52a/0x7e0 net/socket.c:2607 ___sys_sendmsg net/socket.c:2661 [inline] __sys_sendmsg+0x292/0x380 net/socket.c:2690 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe8faf7dff9 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:00007fe8fbce1038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fe8fb135f80 RCX: 00007fe8faf7dff9 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000004 RBP: 00007fe8faff0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe8fb135f80 R15: 00007fff3b85fe78