Re: [syzbot] [wireless?] WARNING in ieee80211_tx_h_rate_ctrl
From: syzbot <hidden>
Date: 2026-02-08 18:47:21
Also in:
linux-wireless, lkml
syzbot has found a reproducer for the following issue on: HEAD commit: 6d2f142b1e4b net: hns3: fix double free issue for tx spare.. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=13ade7fa580000 kernel config: https://syzkaller.appspot.com/x/.config?x=e3161cabe5a361ff dashboard link: https://syzkaller.appspot.com/bug?extid=0d516b33238bd97ee864 compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=178a965a580000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=141bb65a580000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/efb336297393/disk-6d2f142b.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/c21fa89166f7/vmlinux-6d2f142b.xz kernel image: https://storage.googleapis.com/syzbot-assets/9404edc5fcc0/bzImage-6d2f142b.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+0d516b33238bd97ee864@syzkaller.appspotmail.com ------------[ cut here ]------------ wlan1: Dropped data frame as no usable bitrate found while scanning and associated. Target station: 08:02:11:00:00:00 on 5 GHz band WARNING: net/mac80211/tx.c:758 at ieee80211_tx_h_rate_ctrl+0xd82/0x1760 net/mac80211/tx.c:751, CPU#1: kworker/u8:8/3000 Modules linked in: CPU: 1 UID: 0 PID: 3000 Comm: kworker/u8:8 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:ieee80211_tx_h_rate_ctrl+0xded/0x1760 net/mac80211/tx.c:751 Code: 1c 08 00 00 48 8b 44 24 38 8b 30 45 31 ed 83 e6 07 41 0f 95 c5 31 ff e8 01 3c b2 f6 43 8d 4c 6d 02 48 89 df 4c 89 f6 4c 89 fa <67> 48 0f b9 3a 41 bd 01 00 00 00 e9 73 01 00 00 e8 9e 37 b2 f6 e9 RSP: 0018:ffffc9000b7173c0 EFLAGS: 00010293 RAX: ffffffff8b123f8f RBX: ffffffff900054b0 RCX: 0000000000000005 RDX: ffff88805e97c384 RSI: ffff8880783817c8 RDI: ffffffff900054b0 RBP: ffffc9000b717528 R08: ffff88807cad29c7 R09: 1ffff1100f95a538 R10: dffffc0000000000 R11: ffffed100f95a539 R12: dffffc0000000000 R13: 0000000000000001 R14: ffff8880783817c8 R15: ffff88805e97c384 FS: 0000000000000000(0000) GS:ffff8881257f5000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdf034708c0 CR3: 0000000079e3a000 CR4: 00000000003526f0 Call Trace: <TASK> invoke_tx_handlers_late+0xba/0x18a0 net/mac80211/tx.c:1849 ieee80211_tx+0x2d7/0x4b0 net/mac80211/tx.c:1971 __ieee80211_tx_skb_tid_band+0x50f/0x680 net/mac80211/tx.c:6288 ieee80211_tx_skb_tid_band net/mac80211/ieee80211_i.h:2405 [inline] ieee80211_send_scan_probe_req net/mac80211/scan.c:685 [inline] ieee80211_scan_state_send_probe+0x594/0xa00 net/mac80211/scan.c:713 ieee80211_scan_work+0x65f/0x1c50 net/mac80211/scan.c:1174 cfg80211_wiphy_work+0x2ab/0x450 net/wireless/core.c:438 process_one_work kernel/workqueue.c:3257 [inline] process_scheduled_works+0xaec/0x17a0 kernel/workqueue.c:3340 worker_thread+0xda6/0x1360 kernel/workqueue.c:3421 kthread+0x726/0x8b0 kernel/kthread.c:463 ret_from_fork+0x51b/0xa40 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246 </TASK> ---------------- Code disassembly (best guess): 0: 1c 08 sbb $0x8,%al 2: 00 00 add %al,(%rax) 4: 48 8b 44 24 38 mov 0x38(%rsp),%rax 9: 8b 30 mov (%rax),%esi b: 45 31 ed xor %r13d,%r13d e: 83 e6 07 and $0x7,%esi 11: 41 0f 95 c5 setne %r13b 15: 31 ff xor %edi,%edi 17: e8 01 3c b2 f6 call 0xf6b23c1d 1c: 43 8d 4c 6d 02 lea 0x2(%r13,%r13,2),%ecx 21: 48 89 df mov %rbx,%rdi 24: 4c 89 f6 mov %r14,%rsi 27: 4c 89 fa mov %r15,%rdx * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 41 bd 01 00 00 00 mov $0x1,%r13d 35: e9 73 01 00 00 jmp 0x1ad 3a: e8 9e 37 b2 f6 call 0xf6b237dd 3f: e9 .byte 0xe9 --- If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing.