------------[ cut here ]------------ changed & (BSS_CHANGED_BEACON | BSS_CHANGED_BEACON_ENABLED) && sdata->vif.type != NL80211_IFTYPE_AP && sdata->vif.type != NL80211_IFTYPE_ADHOC && sdata->vif.type != NL80211_IFTYPE_MESH_POINT && sdata->vif.type != NL80211_IFTYPE_OCB WARNING: net/mac80211/driver-ops.c:468 at drv_link_info_changed+0x583/0x880 net/mac80211/driver-ops.c:468, CPU#3: syz.5.1844/11254 Modules linked in: CPU: 3 UID: 0 PID: 11254 Comm: syz.5.1844 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:drv_link_info_changed+0x583/0x880 net/mac80211/driver-ops.c:468 Code: 00 48 89 74 24 10 e8 3c 3d 0f f7 48 8d 3d 75 29 ef 05 48 8b 74 24 10 44 89 f2 67 48 0f b9 3a e9 ae fc ff ff e8 1e 3d 0f f7 90 <0f> 0b 90 e9 bf fe ff ff e8 10 3d 0f f7 90 0f 0b 90 e9 b1 fe ff ff RSP: 0018:ffffc900065bee48 EFLAGS: 00010287 RAX: 000000000000096f RBX: ffff8880277d4e40 RCX: ffffc90007392000 RDX: 0000000000080000 RSI: ffffffff8af974c2 RDI: ffff88802aa42500 RBP: 0000000000000200 R08: 0000000000000005 R09: 000000000000000b R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000000002 R13: ffff88805f010f20 R14: 0000000000000200 R15: ffff8880277d6b78 FS: 00007fae699f66c0(0000) GS:ffff8880d666a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000044d79000 CR4: 0000000000352ef0 Call Trace: ieee80211_link_info_change_notify+0x24b/0x3c0 net/mac80211/main.c:427 ieee80211_offchannel_stop_vifs+0x328/0x5c0 net/mac80211/offchannel.c:122 ieee80211_start_sw_scan net/mac80211/scan.c:583 [inline] __ieee80211_start_scan+0xfb6/0x1af0 net/mac80211/scan.c:882 ieee80211_scan+0x4f8/0x6e0 net/mac80211/cfg.c:3343 rdev_scan+0x148/0x370 net/wireless/rdev-ops.h:467 cfg80211_scan+0x4dd/0x5d0 net/wireless/scan.c:1077 cfg80211_conn_scan+0x70e/0xfc0 net/wireless/sme.c:134 cfg80211_sme_connect net/wireless/sme.c:629 [inline] cfg80211_connect+0x17fe/0x1fe0 net/wireless/sme.c:1527 nl80211_connect+0x17d3/0x2260 net/wireless/nl80211.c:13745 genl_family_rcv_msg_doit+0x214/0x300 net/netlink/genetlink.c:1114 genl_family_rcv_msg net/netlink/genetlink.c:1194 [inline] genl_rcv_msg+0x560/0x800 net/netlink/genetlink.c:1209 netlink_rcv_skb+0x159/0x420 net/netlink/af_netlink.c:2550 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1218 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x585/0x850 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x8b0/0xda0 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:787 [inline] __sock_sendmsg net/socket.c:802 [inline] ____sys_sendmsg+0x9e1/0xb70 net/socket.c:2698 ___sys_sendmsg+0x190/0x1e0 net/socket.c:2752 __sys_sendmsg+0x170/0x220 net/socket.c:2784 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x10b/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fae6b79ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fae699f6028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fae6ba15fa0 RCX: 00007fae6b79ce59 RDX: 0000000000000000 RSI: 00002000000001c0 RDI: 0000000000000004 RBP: 00007fae6b832d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fae6ba16038 R14: 00007fae6ba15fa0 R15: 00007ffc87f56808