syzbot


WARNING: suspicious RCU usage in ieee80211_tx_h_select_key

Status: auto-closed as invalid on 2022/08/09 10:22
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+e550ebeb0bc610768394@syzkaller.appspotmail.com
First crash: 719d, last: 717d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING: suspicious RCU usage in ieee80211_tx_h_select_key 0 (1) 2022/04/12 17:34

Sample crash report:
=============================
WARNING: suspicious RCU usage
5.18.0-rc2-syzkaller #0 Not tainted
-----------------------------
net/mac80211/tx.c:604 suspicious rcu_dereference_check() usage!

other info that might help us debug this:


rcu_scheduler_active = 2, debug_locks = 1
3 locks held by kworker/u4:7/5407:
 #0: ffff888023e70938 ((wq_completion)phy24){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
 #1: ffffc90002fffd00 ((work_completion)(&(&data->hw_scan)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
 #2: ffff88801c127128 (&data->mutex){+.+.}-{3:3}, at: hw_scan_work+0xbd/0xcf0 drivers/net/wireless/mac80211_hwsim.c:2431

stack backtrace:
CPU: 0 PID: 5407 Comm: kworker/u4:7 Not tainted 5.18.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: phy24 hw_scan_work
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
 ieee80211_tx_h_select_key+0x6ba/0x14a0 net/mac80211/tx.c:604
 invoke_tx_handlers_early+0x9db/0x1cd0 net/mac80211/tx.c:1798
 invoke_tx_handlers net/mac80211/tx.c:1862 [inline]
 ieee80211_tx_prepare_skb+0x1c0/0x4d0 net/mac80211/tx.c:1885
 hw_scan_work+0x7e8/0xcf0 drivers/net/wireless/mac80211_hwsim.c:2478
 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
 kthread+0x266/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/04/11 10:21 upstream ce522ba9ef7e e22c3da3 .config console log report info ci-upstream-kasan-gce-smack-root WARNING: suspicious RCU usage in ieee80211_tx_h_select_key
2022/04/08 17:24 upstream 1831fed55973 15be3cba .config console log report info ci-qemu-upstream-386 WARNING: suspicious RCU usage in ieee80211_tx_h_select_key
* Struck through repros no longer work on HEAD.