syzbot


WARNING: suspicious RCU usage in sta_remove_link

Status: upstream: reported C repro on 2024/02/11 20:49
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+032c719ad778939ed041@syzkaller.appspotmail.com
First crash: 313d, last: 13h12m
Bug presence (2)
Date Name Commit Repro Result
2024/02/12 linux-6.1.y (ToT) f1bb70486c9c C [report] WARNING: suspicious RCU usage in sta_remove_link
2024/02/12 upstream (ToT) 841c35169323 C Didn't crash
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2024/03/25 13:04 1h55m fix candidate upstream OK (0) job log

Sample crash report:
wlan1: authenticate with 08:02:11:00:00:00
wlan1: No legacy rates in association response
=============================
WARNING: suspicious RCU usage
6.1.114-syzkaller #0 Not tainted
-----------------------------
net/mac80211/sta_info.c:361 suspicious rcu_dereference_protected() usage!

other info that might help us debug this:


rcu_scheduler_active = 2, debug_locks = 1
4 locks held by kworker/1:1/24:
 #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265
 #1: ffff80001d217c20 ((work_completion)(&rdev->conn_work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267
 #2: ffff0000d8e187c8 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5639 [inline]
 #2: ffff0000d8e187c8 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: cfg80211_conn_work+0xc4/0x428 net/wireless/sme.c:253
 #3: ffff0000d267cd40 (&wdev->mtx){+.+.}-{3:3}, at: wdev_lock net/wireless/core.h:231 [inline]
 #3: ffff0000d267cd40 (&wdev->mtx){+.+.}-{3:3}, at: cfg80211_conn_work+0x138/0x428 net/wireless/sme.c:259

stack backtrace:
CPU: 1 PID: 24 Comm: kworker/1:1 Not tainted 6.1.114-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events cfg80211_conn_work
Call trace:
 dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158
 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106
 dump_stack+0x1c/0x58 lib/dump_stack.c:113
 lockdep_rcu_suspicious+0x260/0x464 kernel/locking/lockdep.c:6608
 sta_remove_link+0x38c/0x474 net/mac80211/sta_info.c:360
 sta_info_free+0x68/0x2ec net/mac80211/sta_info.c:405
 ieee80211_prep_connection+0xbdc/0xf34
 ieee80211_mgd_auth+0x8d0/0xd9c net/mac80211/mlme.c:6756
 ieee80211_auth+0x28/0x38 net/mac80211/cfg.c:2791
 rdev_auth net/wireless/rdev-ops.h:473 [inline]
 cfg80211_mlme_auth+0x4a4/0x980 net/wireless/mlme.c:285
 cfg80211_conn_do_work+0x3b8/0xb84 net/wireless/sme.c:182
 cfg80211_conn_work+0x248/0x428 net/wireless/sme.c:274
 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2292
 worker_thread+0x8e4/0xfec kernel/workqueue.c:2439
 kthread+0x250/0x2d8 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864

Crashes (476):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/27 03:00 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/10/27 01:37 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/10/26 23:17 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/10/26 20:47 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/10/26 19:28 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/10/26 17:15 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/03/30 18:32 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/02/12 01:46 linux-6.1.y f1bb70486c9c 77b23aa1 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/10/27 13:44 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/08 09:18 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/10/27 13:33 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/10/27 12:53 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/19 15:55 linux-6.1.y 52f863f820fd 1432fc84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/19 11:59 linux-6.1.y 52f863f820fd 1432fc84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/19 06:25 linux-6.1.y 52f863f820fd 1432fc84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/18 08:18 linux-6.1.y 52f863f820fd a0626d3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/18 07:38 linux-6.1.y 52f863f820fd a0626d3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/17 16:23 linux-6.1.y 52f863f820fd f93b2b55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/16 22:06 linux-6.1.y 52f863f820fd eec85da6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/16 00:20 linux-6.1.y 52f863f820fd 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/15 06:33 linux-6.1.y 52f863f820fd 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/15 04:40 linux-6.1.y 52f863f820fd 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in sta_remove_link
2024/12/13 11:26 linux-6.1.y e4d90d63d385 3547e30f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/12 10:29 linux-6.1.y e4d90d63d385 6f1b0fa8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/12 06:21 linux-6.1.y e4d90d63d385 6f1b0fa8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/11 22:35 linux-6.1.y e4d90d63d385 ff949d25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/11 05:42 linux-6.1.y e4d90d63d385 cfc402b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/10 21:40 linux-6.1.y e4d90d63d385 cfc402b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/09 14:06 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/09 00:52 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/07 20:59 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/07 14:12 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/04 17:56 linux-6.1.y e4d90d63d385 b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/04 08:44 linux-6.1.y e4d90d63d385 b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/12/21 01:49 linux-6.1.y 29f02ec58a94 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/20 15:09 linux-6.1.y 29f02ec58a94 0f61b415 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/20 09:52 linux-6.1.y 29f02ec58a94 0f61b415 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/19 08:07 linux-6.1.y 52f863f820fd 1432fc84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/18 22:08 linux-6.1.y 52f863f820fd a0626d3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/17 23:21 linux-6.1.y 52f863f820fd a0626d3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/14 23:28 linux-6.1.y 52f863f820fd 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/14 08:50 linux-6.1.y e4d90d63d385 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/14 07:28 linux-6.1.y e4d90d63d385 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/14 06:48 linux-6.1.y e4d90d63d385 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/13 16:33 linux-6.1.y e4d90d63d385 3547e30f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/13 01:48 linux-6.1.y e4d90d63d385 530e80f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/13 00:25 linux-6.1.y e4d90d63d385 530e80f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/12 01:14 linux-6.1.y e4d90d63d385 ff949d25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/11 16:22 linux-6.1.y e4d90d63d385 ff949d25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/11 10:46 linux-6.1.y e4d90d63d385 cfc402b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/11 10:45 linux-6.1.y e4d90d63d385 cfc402b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/10 08:33 linux-6.1.y e4d90d63d385 cfc402b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/09 11:18 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/07 06:49 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/06 22:47 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/06 09:56 linux-6.1.y e4d90d63d385 946d28f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/04 16:33 linux-6.1.y e4d90d63d385 b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/04 10:35 linux-6.1.y e4d90d63d385 b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/12/04 05:48 linux-6.1.y e4d90d63d385 b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
2024/02/11 20:48 linux-6.1.y f1bb70486c9c 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: suspicious RCU usage in sta_remove_link
* Struck through repros no longer work on HEAD.