syzbot


WARNING in mac80211_hwsim_sta_rc_update

Status: upstream: reported C repro on 2025/05/18 10:26
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+890bfbedc0fe7b1b8e1d@syzkaller.appspotmail.com
First crash: 27d, last: 5d12h
Bug presence (2)
Date Name Commit Repro Result
2025/06/04 linux-6.1.y (ToT) da3c5173c55f C [report] WARNING in mac80211_hwsim_sta_rc_update
2025/06/04 upstream (ToT) 5abc7438f1e9 C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in mac80211_hwsim_sta_rc_update wireless 7 3d02h 30d 0/28 upstream: reported on 2025/05/15 15:06

Sample crash report:
------------[ cut here ]------------
intf 08:02:11:00:00:01 [link=0]: bad STA 08:02:11:00:00:00 bandwidth 20 MHz (0) > channel config 1 MHz (8)
WARNING: CPU: 1 PID: 9 at drivers/net/wireless/mac80211_hwsim.c:2433 mac80211_hwsim_sta_rc_update+0x541/0x6e0 drivers/net/wireless/mac80211_hwsim.c:2430
Modules linked in:
CPU: 1 PID: 9 Comm: kworker/u4:0 Not tainted 6.1.140-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: phy4 ieee80211_iface_work
RIP: 0010:mac80211_hwsim_sta_rc_update+0x541/0x6e0 drivers/net/wireless/mac80211_hwsim.c:2430
Code: e8 c4 0a 00 00 48 c7 c7 80 b2 07 8b 48 8b 74 24 28 89 ea 48 8b 4c 24 10 41 89 d8 45 89 e1 41 57 50 e8 03 b2 60 fb 48 83 c4 10 <0f> 0b e9 8b fe ff ff e8 33 a1 94 fb 0f 0b e9 7f fe ff ff e8 27 a1
RSP: 0018:ffffc900000e7818 EFLAGS: 00010286
RAX: 7208c7a315f9bc00 RBX: 0000000000000014 RCX: ffff88813fe58000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffff5200001ce91
R10: fffff5200001ce91 R11: 1ffff9200001ce90 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000008
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f240311f0d0 CR3: 000000000c68e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 drv_sta_rc_update+0x24d/0x4c0 net/mac80211/driver-ops.c:177
 ieee80211_update_sta_info net/mac80211/ibss.c:1095 [inline]
 ieee80211_rx_bss_info net/mac80211/ibss.c:1118 [inline]
 ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1609 [inline]
 ieee80211_ibss_rx_queued_mgmt+0x16e6/0x2b10 net/mac80211/ibss.c:1638
 ieee80211_iface_process_skb net/mac80211/iface.c:1671 [inline]
 ieee80211_iface_work+0x726/0xc80 net/mac80211/iface.c:1725
 process_one_work+0x898/0x1160 kernel/workqueue.c:2292
 worker_thread+0xaa2/0x1250 kernel/workqueue.c:2439
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/04 03:43 linux-6.1.y da3c5173c55f a30356b7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in mac80211_hwsim_sta_rc_update
2025/06/09 13:23 linux-6.1.y 58485ff1a74f 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in mac80211_hwsim_sta_rc_update
2025/06/08 06:31 linux-6.1.y 58485ff1a74f 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in mac80211_hwsim_sta_rc_update
2025/06/08 06:13 linux-6.1.y 58485ff1a74f 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in mac80211_hwsim_sta_rc_update
2025/06/03 12:03 linux-6.1.y da3c5173c55f a30356b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in mac80211_hwsim_sta_rc_update
2025/06/01 13:09 linux-6.1.y da3c5173c55f 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in mac80211_hwsim_sta_rc_update
2025/05/22 15:20 linux-6.1.y da3c5173c55f 0919b50b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in mac80211_hwsim_sta_rc_update
2025/05/18 10:25 linux-6.1.y 325285d9fc86 f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in mac80211_hwsim_sta_rc_update
* Struck through repros no longer work on HEAD.