[v6.1] WARNING in mac80211_hwsim_sta_rc_update

2 views
Skip to first unread message

syzbot

unread,
May 18, 2025, 6:26:40 AM5/18/25
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 325285d9fc86 Linux 6.1.139
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=10e5e2d4580000
kernel config: https://syzkaller.appspot.com/x/.config?x=65132bf9d0c13938
dashboard link: https://syzkaller.appspot.com/bug?extid=890bfbedc0fe7b1b8e1d
compiler: Debian clang version 20.1.2 (++20250402124445+58df0ef89dd6-1~exp1~20250402004600.97), Debian LLD 20.1.2

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/41a95e9cec76/disk-325285d9.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/6feafad83710/vmlinux-325285d9.xz
kernel image: https://storage.googleapis.com/syzbot-assets/9ee05ca8c073/bzImage-325285d9.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+890bfb...@syzkaller.appspotmail.com

------------[ cut here ]------------
intf 08:02:11:00:00:01 [link=0]: bad STA 00:00:00:00:00:80 bandwidth 20 MHz (0) > channel config 1 MHz (8)
WARNING: CPU: 1 PID: 5302 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: 5302 Comm: kworker/u4:8 Not tainted 6.1.139-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
Workqueue: phy8 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 b0 07 8b 48 8b 74 24 28 89 ea 48 8b 4c 24 10 41 89 d8 45 89 e1 41 57 50 e8 13 c0 60 fb 48 83 c4 10 <0f> 0b e9 8b fe ff ff e8 43 af 94 fb 0f 0b e9 7f fe ff ff e8 37 af
RSP: 0018:ffffc900035977f8 EFLAGS: 00010282
RAX: 28e6704d08da4900 RBX: 0000000000000014 RCX: ffff88802c653b80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffff520006b2e8d
R10: fffff520006b2e8d R11: 1ffff920006b2e8c 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: 00007fd479b18310 CR3: 000000007e0df000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
<TASK>
mac80211_hwsim_sta_add+0x92/0x280 drivers/net/wireless/mac80211_hwsim.c:2450
drv_sta_add net/mac80211/driver-ops.h:443 [inline]
drv_sta_state+0x62a/0x1280 net/mac80211/driver-ops.c:128
sta_info_insert_drv_state net/mac80211/sta_info.c:759 [inline]
sta_info_insert_finish net/mac80211/sta_info.c:872 [inline]
sta_info_insert_rcu+0xc1e/0x1550 net/mac80211/sta_info.c:933
ieee80211_ibss_finish_sta+0x27f/0x350 net/mac80211/ibss.c:585
ieee80211_ibss_work+0x234/0x10b0 net/mac80211/ibss.c:1697
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>


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Jun 3, 2025, 11:44:39 PM6/3/25
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: da3c5173c55f Linux 6.1.140
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=14274570580000
kernel config: https://syzkaller.appspot.com/x/.config?x=46e5b914cae7bc26
dashboard link: https://syzkaller.appspot.com/bug?extid=890bfbedc0fe7b1b8e1d
compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1151b80c580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12274570580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/f64777e3df5f/disk-da3c5173.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/86760acf06d3/vmlinux-da3c5173.xz
kernel image: https://storage.googleapis.com/syzbot-assets/4b53296c1a0a/bzImage-da3c5173.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+890bfb...@syzkaller.appspotmail.com

------------[ 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>


---
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.
Reply all
Reply to author
Forward
0 new messages