WARNING in mac80211_hwsim_get_tx_rate

Status: upstream: reported C repro on 2026/09/08 01:22
Labels: prio:normal
[Documentation on labels]
Reported-by: syzbot+847847e76c6983a5b3dd@syzkaller.appspotmail.com
First crash: 18h21m, last: 18h21m
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
0399a9c6 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ✅ VMGuestTrigger: ❌ VMHostTrigger: ❌ WARNING in mac80211_hwsim_get_tx_rate 2026/09/07 09:03 2026/09/07 09:04 2026/09/07 09:38 4f7b22a0
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in mac80211_hwsim_get_tx_rate 0 (1) 2026/09/08 01:22

Sample crash report:
------------[ cut here ]------------
c->control.rates[0].idx < 0
WARNING: ./include/net/mac80211.h:3413 at ieee80211_get_tx_rate include/net/mac80211.h:3413 [inline], CPU#3: syz-executor172/6032
WARNING: ./include/net/mac80211.h:3413 at mac80211_hwsim_get_tx_rate+0x1b3/0x210 drivers/net/wireless/virtual/mac80211_hwsim_main.c:1335, CPU#3: syz-executor172/6032
Modules linked in:
CPU: 3 UID: 0 PID: 6032 Comm: syz-executor172 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:ieee80211_get_tx_rate include/net/mac80211.h:3413 [inline]
RIP: 0010:mac80211_hwsim_get_tx_rate+0x1b3/0x210 drivers/net/wireless/virtual/mac80211_hwsim_main.c:1335
Code: 80 3c 02 00 75 6c 48 8b 43 08 48 8d 54 6d 00 48 8d 1c 90 e8 bf e7 a9 fa 48 89 d8 5b 5d 41 5c e9 83 4d 71 04 e8 ae e7 a9 fa 90 <0f> 0b 90 31 db eb e2 e8 61 22 1d fb e9 e8 fe ff ff e8 b7 22 1d fb
RSP: 0018:ffffc90003ed70d8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88803656d068 RCX: 0000000000000402
RDX: ffff88802b10cb00 RSI: ffffffff87622962 RDI: ffff88802b10cb00
RBP: ffffffffffffffff R08: 0000000000000001 R09: 0000000000000000
R10: 00000000000000ff R11: 0000000000000000 R12: ffff8880551d0f40
R13: ffff88803638970b R14: ffff8880551d7bc8 R15: 0000000000000064
FS:  0000555584784400(0000) GS:ffff8880d5e5d000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f97934f4eb8 CR3: 000000003f0f4000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 mac80211_hwsim_write_tsf+0x89/0x460 drivers/net/wireless/virtual/mac80211_hwsim_main.c:1617
 mac80211_hwsim_tx_frame_no_nl+0x12c/0x1830 drivers/net/wireless/virtual/mac80211_hwsim_main.c:1913
 mac80211_hwsim_tx+0xf43/0x29d0 drivers/net/wireless/virtual/mac80211_hwsim_main.c:2276
 drv_tx net/mac80211/driver-ops.h:38 [inline]
 ieee80211_tx_frags+0x5c9/0xa70 net/mac80211/tx.c:1753
 __ieee80211_tx+0x145/0x5b0 net/mac80211/tx.c:1808
 ieee80211_tx+0x336/0x460 net/mac80211/tx.c:1991
 ieee80211_xmit+0x30f/0x3e0 net/mac80211/tx.c:2083
 ieee80211_monitor_start_xmit+0xf09/0x12b0 net/mac80211/tx.c:2486
 __netdev_start_xmit include/linux/netdevice.h:5429 [inline]
 netdev_start_xmit include/linux/netdevice.h:5438 [inline]
 xmit_one net/core/dev.c:3937 [inline]
 dev_hard_start_xmit+0x121/0x760 net/core/dev.c:3953
 __dev_queue_xmit+0x1bbf/0x4970 net/core/dev.c:4926
 dev_queue_xmit include/linux/netdevice.h:3461 [inline]
 packet_xmit+0x243/0x310 net/packet/af_packet.c:277
 packet_snd net/packet/af_packet.c:3111 [inline]
 packet_sendmsg+0x30bc/0x4ef0 net/packet/af_packet.c:3143
 sock_sendmsg_nosec net/socket.c:800 [inline]
 __sock_sendmsg net/socket.c:815 [inline]
 __sys_sendto+0x48b/0x4e0 net/socket.c:2281
 __do_sys_sendto net/socket.c:2288 [inline]
 __se_sys_sendto net/socket.c:2284 [inline]
 __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2284
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd5261b7f57
Code: 48 89 fa 4c 89 df e8 98 1d 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffffd9355c0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000555584784400 RCX: 00007fd5261b7f57
RDX: 0000000000000021 RSI: 00007ffffd935650 RDI: 0000000000000003
RBP: 00007ffffd935620 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000a
R13: 0000000000000003 R14: 0000000000000026 R15: 00007fd5261f104e
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/07 09:03 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git df2908090cda 85995287 .config console log report C ci-qemu-upstream WARNING in mac80211_hwsim_get_tx_rate
* Struck through repros no longer work on HEAD.