------------[ cut here ]------------ WARNING: CPU: 1 PID: 6640 at net/mac80211/driver-ops.c:460 drv_link_info_changed+0x117/0x870 net/mac80211/driver-ops.c:460 Modules linked in: CPU: 1 UID: 0 PID: 6640 Comm: syz.3.206 Not tainted 6.12.0-rc5-syzkaller-00299-g11066801dd4b #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:drv_link_info_changed+0x117/0x870 net/mac80211/driver-ops.c:460 Code: 0f b0 02 f7 44 89 ff 48 c7 c6 80 ec be 8c e8 a0 b2 02 f7 41 83 ff 0b 77 0b b8 82 08 00 00 4c 0f a3 f8 72 0e e8 ea af 02 f7 90 <0f> 0b 90 e9 61 03 00 00 e8 dc af 02 f7 41 8d 47 f6 31 ff 83 e0 fd RSP: 0018:ffffc90003e06ed8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888034eb0cc0 RCX: ffffffff8a8acc80 RDX: ffff888027a94880 RSI: ffffffff8a8acc96 RDI: 0000000000000005 RBP: ffff88804b408e40 R08: 0000000000000005 R09: 000000000000000b R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000200 R13: 0000000000000200 R14: ffff888034eb2920 R15: 0000000000000002 FS: 00007f4d7e1c56c0(0000) GS:ffff88806a700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4d7d364200 CR3: 000000002a650000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_link_info_change_notify+0x2c1/0x350 net/mac80211/main.c:416 ieee80211_offchannel_stop_vifs+0x328/0x5b0 net/mac80211/offchannel.c:122 ieee80211_start_sw_scan net/mac80211/scan.c:559 [inline] __ieee80211_start_scan+0x13ba/0x1d80 net/mac80211/scan.c:851 ieee80211_scan+0x1d2/0x330 net/mac80211/cfg.c:2889 rdev_scan net/wireless/rdev-ops.h:466 [inline] cfg80211_scan+0x4be/0x730 net/wireless/scan.c:1062 cfg80211_conn_scan+0x682/0xea0 net/wireless/sme.c:134 cfg80211_sme_connect net/wireless/sme.c:631 [inline] cfg80211_connect+0x19b7/0x2160 net/wireless/sme.c:1526 nl80211_connect+0x1568/0x2140 net/wireless/nl80211.c:12221 genl_family_rcv_msg_doit+0x202/0x2f0 net/netlink/genetlink.c:1115 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0x565/0x800 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x16b/0x440 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+0x53c/0x7f0 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8b8/0xd70 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg net/socket.c:744 [inline] ____sys_sendmsg+0xaaf/0xc90 net/socket.c:2607 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2661 __sys_sendmsg+0x117/0x1f0 net/socket.c:2690 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4d7d37e719 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:00007f4d7e1c5038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f4d7d535f80 RCX: 00007f4d7d37e719 RDX: 0000000000000000 RSI: 0000000020000440 RDI: 0000000000000003 RBP: 00007f4d7e1c5090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 0000000000000000 R14: 00007f4d7d535f80 R15: 00007ffcedf31de8