syzbot


WARNING in ieee80211_tdls_build_mgmt_packet_data

Status: upstream: reported C repro on 2025/01/19 21:41
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+e55106f8389651870be0@syzkaller.appspotmail.com
First crash: 379d, last: 19d
Cause bisection: failed (error log, bisect log)
  
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] mac80211: tdls: don't WARN_ON_ONCE on missing STA info 2 (2) 2025/10/26 10:34
[syzbot] [wireless?] WARNING in ieee80211_tdls_build_mgmt_packet_data 0 (2) 2025/02/06 06:05
Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/01/24 14:48 20m retest repro upstream OK log
2026/01/10 14:02 25m retest repro net-next report log
2025/11/08 22:40 19m retest repro upstream report log
2025/10/28 09:50 19m retest repro upstream OK log
2025/09/18 08:04 20m retest repro upstream OK log
2025/08/30 22:17 21m retest repro upstream report log
2025/07/10 07:24 20m retest repro upstream report log
2025/06/21 21:55 19m retest repro upstream report log
2025/05/01 06:34 19m retest repro upstream report log
2025/02/20 06:09 24m retest repro upstream report log

Sample crash report:
mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium
mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium
------------[ cut here ]------------
WARNING: net/mac80211/tdls.c:611 at ieee80211_tdls_add_setup_cfm_ies net/mac80211/tdls.c:611 [inline], CPU#1: syz.0.222/6250
WARNING: net/mac80211/tdls.c:611 at ieee80211_tdls_add_ies net/mac80211/tdls.c:762 [inline], CPU#1: syz.0.222/6250
WARNING: net/mac80211/tdls.c:611 at ieee80211_tdls_build_mgmt_packet_data+0x2e61/0x4010 net/mac80211/tdls.c:984, CPU#1: syz.0.222/6250
Modules linked in:
CPU: 1 UID: 0 PID: 6250 Comm: syz.0.222 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
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+0x2e61/0x4010 net/mac80211/tdls.c:984
Code: fc ff df e9 9f fe ff ff e8 9c 3e d4 f6 90 0f 0b 90 e9 91 fe ff ff e8 8e 3e d4 f6 90 0f 0b 90 e9 83 fe ff ff e8 80 3e d4 f6 90 <0f> 0b 90 e9 75 fe ff ff e8 72 3e d4 f6 48 c7 c7 30 e1 5c 8f 4c 89
RSP: 0018:ffffc90003067080 EFLAGS: 00010293
RAX: ffffffff8aed73d0 RBX: ffff8880293fcd80 RCX: ffff888030eedb80
RDX: 0000000000000000 RSI: ffffffff8d979277 RDI: ffff888030eedb80
RBP: ffffc90003067200 R08: 0000000000000000 R09: 000000000000000c
R10: 000000000000000c R11: 0000000000000000 R12: ffff8880293fe590
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888068698e80
FS:  0000555565019500(0000) GS:ffff888125f35000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe0bf3750e0 CR3: 000000006835c000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 ieee80211_tdls_prep_mgmt_packet+0x3a4/0x820 net/mac80211/tdls.c:1058
 ieee80211_tdls_mgmt+0x32e/0x840 net/mac80211/tdls.c:1299
 rdev_tdls_mgmt net/wireless/rdev-ops.h:932 [inline]
 nl80211_tdls_mgmt+0x4da/0x750 net/wireless/nl80211.c:13605
 genl_family_rcv_msg_doit+0x215/0x300 net/netlink/genetlink.c:1115
 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
 genl_rcv_msg+0x60e/0x790 net/netlink/genetlink.c:1210
 netlink_rcv_skb+0x208/0x470 net/netlink/af_netlink.c:2550
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x82f/0x9e0 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x805/0xb30 net/netlink/af_netlink.c:1894
 sock_sendmsg_nosec net/socket.c:727 [inline]
 __sock_sendmsg+0x21c/0x270 net/socket.c:742
 ____sys_sendmsg+0x505/0x820 net/socket.c:2592
 ___sys_sendmsg+0x21f/0x2a0 net/socket.c:2646
 __sys_sendmsg net/socket.c:2678 [inline]
 __do_sys_sendmsg net/socket.c:2683 [inline]
 __se_sys_sendmsg net/socket.c:2681 [inline]
 __x64_sys_sendmsg+0x19b/0x260 net/socket.c:2681
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe0bf38f749
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:00007fff314d36b8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fe0bf5e5fa0 RCX: 00007fe0bf38f749
RDX: 0000000000000000 RSI: 0000200000000000 RDI: 0000000000000005
RBP: 00007fe0bf413f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe0bf5e5fa0 R14: 00007fe0bf5e5fa0 R15: 0000000000000003
 </TASK>

Crashes (19):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/27 07:52 net-next 7b8e9264f55a d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ieee80211_tdls_build_mgmt_packet_data
2025/10/14 09:42 upstream 3a8660878839 b6605ba8 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ieee80211_tdls_build_mgmt_packet_data
2025/08/04 02:39 upstream 352af6a011d5 7368264b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ieee80211_tdls_build_mgmt_packet_data
2025/07/31 18:07 upstream 260f6f4fda93 3526e777 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ieee80211_tdls_build_mgmt_packet_data
2025/06/07 21:39 upstream bdc7f8c5adad 4826c28e .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ieee80211_tdls_build_mgmt_packet_data
2025/06/07 19:41 upstream bdc7f8c5adad 4826c28e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ieee80211_tdls_build_mgmt_packet_data
2025/04/16 07:47 upstream 1a1d569a75f3 a95239b1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ieee80211_tdls_build_mgmt_packet_data
2025/03/25 23:08 upstream 2df0c02dab82 89d30d73 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ieee80211_tdls_build_mgmt_packet_data
2025/03/25 10:07 upstream 2f2d52945852 875573af .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ieee80211_tdls_build_mgmt_packet_data
2025/03/09 17:13 upstream 1110ce6a1e34 163f510d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ieee80211_tdls_build_mgmt_packet_data
2025/03/07 06:32 upstream f315296c92fd 831e3629 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ieee80211_tdls_build_mgmt_packet_data
2025/03/01 21:31 upstream 03d38806a902 c3901742 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ieee80211_tdls_build_mgmt_packet_data
2025/02/25 11:05 upstream d082ecbc71e9 d34966d1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ieee80211_tdls_build_mgmt_packet_data
2025/02/20 11:05 upstream 87a132e73910 50668798 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ieee80211_tdls_build_mgmt_packet_data
2025/02/06 06:05 upstream 92514ef226f5 577d049b .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ieee80211_tdls_build_mgmt_packet_data
2025/02/06 05:07 upstream 92514ef226f5 577d049b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ieee80211_tdls_build_mgmt_packet_data
2025/01/23 16:23 upstream 21266b8df522 f6a35ef3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ieee80211_tdls_build_mgmt_packet_data
2025/01/20 13:41 upstream ffd294d346d1 f2cb035c .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ieee80211_tdls_build_mgmt_packet_data
2025/01/15 21:31 upstream 619f0b6fad52 968edaf4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ieee80211_tdls_build_mgmt_packet_data
* Struck through repros no longer work on HEAD.