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: 134d, last: 15h59m
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 job log (0)

Sample crash report:
=============================
WARNING: suspicious RCU usage
6.1.83-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
3 locks held by syz-executor217/4220:
 #0: ffff800017e7a930 (cb_lock){++++}-{3:3}, at: genl_rcv+0x28/0x50 net/netlink/genetlink.c:860
 #1: ffff0000d0a007c8 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5639 [inline]
 #1: ffff0000d0a007c8 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: nl80211_pre_doit+0x484/0x764 net/wireless/nl80211.c:16262
 #2: ffff0000d08d0d40 (&wdev->mtx){+.+.}-{3:3}, at: wdev_lock net/wireless/core.h:231 [inline]
 #2: ffff0000d08d0d40 (&wdev->mtx){+.+.}-{3:3}, at: nl80211_new_station+0x1434/0x1c64 net/wireless/nl80211.c:7389

stack backtrace:
CPU: 0 PID: 4220 Comm: syz-executor217 Not tainted 6.1.83-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
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/0x5c lib/dump_stack.c:113
 lockdep_rcu_suspicious+0x260/0x464 kernel/locking/lockdep.c:6592
 sta_remove_link+0x38c/0x474 net/mac80211/sta_info.c:360
 sta_info_free+0x68/0x2ec net/mac80211/sta_info.c:405
 ieee80211_add_station+0x308/0x4e4 net/mac80211/cfg.c:1978
 rdev_add_station+0x158/0x3e0 net/wireless/rdev-ops.h:201
 nl80211_new_station+0x1500/0x1c64 net/wireless/nl80211.c:7405
 genl_family_rcv_msg_doit net/netlink/genetlink.c:756 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:833 [inline]
 genl_rcv_msg+0x948/0xc2c net/netlink/genetlink.c:850
 netlink_rcv_skb+0x20c/0x3b8 net/netlink/af_netlink.c:2508
 genl_rcv+0x38/0x50 net/netlink/genetlink.c:861
 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline]
 netlink_unicast+0x65c/0x898 net/netlink/af_netlink.c:1352
 netlink_sendmsg+0x834/0xb18 net/netlink/af_netlink.c:1874
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg net/socket.c:730 [inline]
 ____sys_sendmsg+0x55c/0x848 net/socket.c:2514
 ___sys_sendmsg net/socket.c:2568 [inline]
 __sys_sendmsg+0x26c/0x33c net/socket.c:2597
 __do_sys_sendmsg net/socket.c:2606 [inline]
 __se_sys_sendmsg net/socket.c:2604 [inline]
 __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2604
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585

Crashes (79):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/06/24 06:16 linux-6.1.y eb44d83053d6 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/06/20 09:18 linux-6.1.y eb44d83053d6 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/06/18 11:49 linux-6.1.y eb44d83053d6 639d6cdf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/06/18 05:47 linux-6.1.y eb44d83053d6 ce6011bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/06/16 03:55 linux-6.1.y ae9f2a70d69e f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/06/16 00:08 linux-6.1.y ae9f2a70d69e f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/06/14 11:20 linux-6.1.y ae9f2a70d69e 8d849073 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/06/14 00:06 linux-6.1.y ae9f2a70d69e a9616ff5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/06/13 22:48 linux-6.1.y ae9f2a70d69e a9616ff5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/06/13 15:04 linux-6.1.y ae9f2a70d69e a9616ff5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/06/07 18:57 linux-6.1.y 88690811da69 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/06/07 17:31 linux-6.1.y 88690811da69 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/06/07 16:08 linux-6.1.y 88690811da69 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/06/07 02:06 linux-6.1.y 88690811da69 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/06/06 06:37 linux-6.1.y 88690811da69 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/05/31 22:50 linux-6.1.y 88690811da69 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/05/31 17:46 linux-6.1.y 88690811da69 0c378259 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/05/31 13:05 linux-6.1.y 88690811da69 0c378259 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/05/31 13:05 linux-6.1.y 88690811da69 0c378259 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/05/31 13:05 linux-6.1.y 88690811da69 0c378259 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/05/31 13:05 linux-6.1.y 88690811da69 0c378259 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/05/22 03:07 linux-6.1.y 4078fa637fcd 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/05/15 21:56 linux-6.1.y 909ba1f1b414 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/05/13 17:48 linux-6.1.y 909ba1f1b414 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/05/11 19:37 linux-6.1.y 909ba1f1b414 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/05/07 05:46 linux-6.1.y 909ba1f1b414 fa7a5cf0 .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/05/01 22:54 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/05/01 22:53 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/04/16 15:38 linux-6.1.y cd5d98c0556c 0d592ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/04/16 15:38 linux-6.1.y cd5d98c0556c 0d592ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/04/12 12:54 linux-6.1.y bf1e3b1cb1e0 27de0a5c .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/04/11 01:30 linux-6.1.y bf1e3b1cb1e0 33b9e058 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/04/11 01:30 linux-6.1.y bf1e3b1cb1e0 33b9e058 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/04/06 10:43 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/03/24 21:58 linux-6.1.y d7543167affd 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/03/05 00:23 linux-6.1.y a3eb3a74aa8c 3717835d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/03/01 23:56 linux-6.1.y a3eb3a74aa8c 83acf9e0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/02/23 19:34 linux-6.1.y 81e1dc2f7001 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/02/17 17:42 linux-6.1.y 8b4118fabd6e 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in sta_remove_link
2024/06/21 05:14 linux-6.1.y eb44d83053d6 dac2aa43 .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/06/14 13:00 linux-6.1.y ae9f2a70d69e 8d849073 .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/06/13 21:44 linux-6.1.y ae9f2a70d69e a9616ff5 .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/06/13 18:28 linux-6.1.y ae9f2a70d69e a9616ff5 .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/06/11 18:36 linux-6.1.y 88690811da69 4d75f4f7 .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/05/22 00:35 linux-6.1.y 4078fa637fcd 1014eca7 .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/05/22 00:35 linux-6.1.y 4078fa637fcd 1014eca7 .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/05/19 20:39 linux-6.1.y 4078fa637fcd c0f1611a .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/05/15 21:46 linux-6.1.y 909ba1f1b414 94b087b1 .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/05/13 15:50 linux-6.1.y 909ba1f1b414 9026e142 .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/05/11 12:05 linux-6.1.y 909ba1f1b414 9026e142 .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/05/09 05:40 linux-6.1.y 909ba1f1b414 20bf80e1 .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/05/05 08:22 linux-6.1.y 909ba1f1b414 610f2a54 .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/04/18 09:42 linux-6.1.y 6741e066ec76 af24b050 .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/04/17 08:21 linux-6.1.y cd5d98c0556c 18f6e127 .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/04/09 00:40 linux-6.1.y 347385861c50 53df08b6 .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/03/28 19:17 linux-6.1.y e5cd595e23c1 e91187ee .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/03/10 16:18 linux-6.1.y 61adba85cc40 6ee49f2e .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/21 07:07 linux-6.1.y 8b4118fabd6e 3af7dd65 .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.