------------[ cut here ]------------ !sta || !ap_sta WARNING: net/mac80211/tdls.c:611 at ieee80211_tdls_add_setup_cfm_ies net/mac80211/tdls.c:611 [inline], CPU#1: syz-executor248/7656 WARNING: net/mac80211/tdls.c:611 at ieee80211_tdls_add_ies net/mac80211/tdls.c:762 [inline], CPU#1: syz-executor248/7656 WARNING: net/mac80211/tdls.c:611 at ieee80211_tdls_build_mgmt_packet_data+0x2e93/0x4040 net/mac80211/tdls.c:979, CPU#1: syz-executor248/7656 Modules linked in: CPU: 1 UID: 0 PID: 7656 Comm: syz-executor248 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 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+0x2e93/0x4040 net/mac80211/tdls.c:979 Code: fc ff df e9 a1 fe ff ff e8 9a b3 8d f6 90 0f 0b 90 e9 78 fe ff ff e8 8c b3 8d f6 90 0f 0b 90 e9 85 fe ff ff e8 7e b3 8d f6 90 <0f> 0b 90 e9 77 fe ff ff e8 70 b3 8d f6 48 c7 c7 00 a7 0a 90 4c 89 RSP: 0018:ffffc90006647100 EFLAGS: 00010293 RAX: ffffffff8b37f032 RBX: ffff88802a038e40 RCX: ffff88802f323d80 RDX: 0000000000000000 RSI: ffffffff8e216b62 RDI: ffff88802f323d80 RBP: ffffc90006647280 R08: 0000000000000000 R09: 000000000000000c R10: 000000000000000c R11: 0000000000000000 R12: ffff88802a03a638 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880545f0f20 FS: 000055558b367400(0000) GS:ffff888125395000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5d993ea440 CR3: 000000007595c000 CR4: 00000000003526f0 Call Trace: ieee80211_tdls_prep_mgmt_packet+0x3a4/0x820 net/mac80211/tdls.c:1053 ieee80211_tdls_mgmt+0x32e/0x840 net/mac80211/tdls.c:1294 rdev_tdls_mgmt net/wireless/rdev-ops.h:932 [inline] nl80211_tdls_mgmt+0x4da/0x770 net/wireless/nl80211.c:14034 genl_family_rcv_msg_doit+0x22a/0x330 net/netlink/genetlink.c:1114 genl_family_rcv_msg net/netlink/genetlink.c:1194 [inline] genl_rcv_msg+0x61c/0x7a0 net/netlink/genetlink.c:1209 netlink_rcv_skb+0x232/0x4b0 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+0x75c/0x8e0 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:787 [inline] __sock_sendmsg net/socket.c:802 [inline] ____sys_sendmsg+0x972/0x9f0 net/socket.c:2698 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2752 __sys_sendmsg net/socket.c:2784 [inline] __do_sys_sendmsg net/socket.c:2789 [inline] __se_sys_sendmsg net/socket.c:2787 [inline] __x64_sys_sendmsg+0x1bd/0x2a0 net/socket.c:2787 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5a493794c9 Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 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 d8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffefd30ac08 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f5a493794c9 RDX: 0000000000000000 RSI: 0000200000000000 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffefd30ac70