syzbot


WARNING in minstrel_rate_init

Status: upstream: reported C repro on 2021/11/25 10:06
Reported-by: syzbot+3c93a5b672f3dd48e4a3@syzkaller.appspotmail.com
First crash: 876d, last: 429d
Fix bisection: failed (error log, bisect log)
  

Sample crash report:
mac80211_hwsim hwsim3 wlan1: disabling HT as WMM/QoS is not supported by the AP
mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium
mac80211_hwsim hwsim3 wlan1: disabling VHT as WMM/QoS is not supported by the AP
wlan1: RX AssocResp from 08:02:11:00:00:00 (capab=0x1 status=0 aid=1)
WARNING: CPU: 1 PID: 2894 at include/net/mac80211.h:5720 rate_lowest_index include/net/mac80211.h:5720 [inline]
WARNING: CPU: 1 PID: 2894 at include/net/mac80211.h:5720 minstrel_rate_init+0x1e2/0x1540 net/mac80211/rc80211_minstrel.c:480
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 2894 Comm: kworker/u4:4 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
Workqueue: phy3 ieee80211_iface_work
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:rate_lowest_index include/net/mac80211.h:5720 [inline]
RIP: 0010:minstrel_rate_init+0x1e2/0x1540 net/mac80211/rc80211_minstrel.c:480
Code: 94 75 b0 f9 4d 85 f6 0f 85 f8 0f 00 00 e8 f6 73 b0 f9 41 83 c4 01 89 de 44 89 e7 e8 d8 74 b0 f9 41 39 dc 75 c3 e8 de 73 b0 f9 <0f> 0b 31 db 45 31 e4 eb 13 48 8b 44 24 30 31 db 45 31 e4 48 83 c0
RSP: 0018:ffff8880abc9f370 EFLAGS: 00010293
RAX: ffff8880abc881c0 RBX: 000000000000000c RCX: ffffffff87b21188
RDX: 0000000000000000 RSI: ffffffff87b21192 RDI: 0000000000000004
RBP: ffff8880b0f02a20 R08: ffff8880b14c4740 R09: 000000000000000c
R10: 0000000000000004 R11: 0000000000074071 R12: 000000000000000c
R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880b14c4740
 minstrel_ht_update_caps+0xf66/0x12e0 net/mac80211/rc80211_minstrel_ht.c:1279
 rate_control_rate_init+0x2b3/0x4f0 net/mac80211/rate.c:58
 ieee80211_assoc_success+0x161b/0x2b8a net/mac80211/mlme.c:3311
 ieee80211_rx_mgmt_assoc_resp net/mac80211/mlme.c:3476 [inline]
 ieee80211_sta_rx_queued_mgmt.cold+0x12a6/0x1dfd net/mac80211/mlme.c:3965
 ieee80211_iface_work+0x5ad/0x8a0 net/mac80211/iface.c:1338
 process_one_work+0x864/0x1570 kernel/workqueue.c:2153
 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/15 04:46 linux-4.19.y 3f8a27f9e27b e62ba3c1 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 WARNING in minstrel_rate_init
2021/12/09 06:57 linux-4.19.y 3f8a27f9e27b a4a2a501 .config console log report syz C ci2-linux-4-19 WARNING in minstrel_rate_init
2022/07/04 19:11 linux-4.19.y 3f8a27f9e27b bff65f44 .config console log report info ci2-linux-4-19 WARNING in minstrel_rate_init
2022/07/04 19:05 linux-4.19.y 3f8a27f9e27b bff65f44 .config console log report info ci2-linux-4-19 WARNING in minstrel_rate_init
2021/11/28 06:53 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 WARNING in minstrel_rate_init
2021/11/25 10:05 linux-4.19.y 3f8a27f9e27b 545ab074 .config console log report info ci2-linux-4-19 WARNING in minstrel_rate_init
* Struck through repros no longer work on HEAD.