mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7222 at net/mac80211/tdls.c:611 ieee80211_tdls_add_setup_cfm_ies net/mac80211/tdls.c:611 [inline] WARNING: CPU: 0 PID: 7222 at net/mac80211/tdls.c:611 ieee80211_tdls_add_ies net/mac80211/tdls.c:762 [inline] WARNING: CPU: 0 PID: 7222 at net/mac80211/tdls.c:611 ieee80211_tdls_build_mgmt_packet_data+0x2f07/0x3bd0 net/mac80211/tdls.c:984 Modules linked in: CPU: 0 UID: 0 PID: 7222 Comm: syz.0.612 Not tainted 6.14.0-rc3-syzkaller-g87a132e73910 #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:ieee80211_tdls_add_setup_cfm_ies net/mac80211/tdls.c:611 [inline] RIP: 0010:ieee80211_tdls_add_ies net/mac80211/tdls.c:762 [inline] RIP: 0010:ieee80211_tdls_build_mgmt_packet_data+0x2f07/0x3bd0 net/mac80211/tdls.c:984 Code: 0f 0b 90 e9 75 f6 ff ff e8 c6 62 2d f6 90 0f 0b 90 e9 76 fe ff ff e8 b8 62 2d f6 90 0f 0b 90 e9 68 fe ff ff e8 aa 62 2d f6 90 <0f> 0b 90 e9 5a fe ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 32 RSP: 0018:ffffc9000e40f0c0 EFLAGS: 00010293 RAX: ffffffff8b9457e6 RBX: ffff888033f98d80 RCX: ffff88801e4d4880 RDX: 0000000000000000 RSI: ffffffff8c2ab6a0 RDI: ffffffff8c80ed80 RBP: ffffc9000e40f260 R08: ffffffff903ce777 R09: 1ffffffff2079cee R10: dffffc0000000000 R11: fffffbfff2079cef R12: ffff888042287780 R13: dffffc0000000000 R14: ffff888052598e40 R15: 0000000000000000 FS: 00007f3d6d48d6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000021c0 CR3: 0000000043118000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_tdls_prep_mgmt_packet+0x3b6/0x860 net/mac80211/tdls.c:1058 ieee80211_tdls_mgmt+0x8cf/0x10a0 net/mac80211/tdls.c:1299 rdev_tdls_mgmt net/wireless/rdev-ops.h:927 [inline] nl80211_tdls_mgmt+0x4d8/0x770 net/wireless/nl80211.c:12537 genl_family_rcv_msg_doit net/netlink/genetlink.c:1115 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0xb1f/0xec0 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x206/0x480 net/netlink/af_netlink.c:2543 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1322 [inline] netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1348 netlink_sendmsg+0x8de/0xcb0 net/netlink/af_netlink.c:1892 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:733 ____sys_sendmsg+0x53a/0x860 net/socket.c:2573 ___sys_sendmsg net/socket.c:2627 [inline] __sys_sendmsg+0x269/0x350 net/socket.c:2659 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:0x7f3d6c58cde9 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:00007f3d6d48d038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f3d6c7a5fa0 RCX: 00007f3d6c58cde9 RDX: 0000000000000000 RSI: 0000200000000000 RDI: 0000000000000005 RBP: 00007f3d6c60e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3d6c7a5fa0 R15: 00007ffe2eb0c618