syzbot


WARNING in sta_info_insert_rcu

Status: upstream: reported C repro on 2020/09/27 22:10
Reported-by: syzbot+5c2fd4fe5d3518478fda@syzkaller.appspotmail.com
First crash: 1515d, last: 641d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in sta_info_insert_rcu C 1648 625d 1518d 0/1 upstream: reported C repro on 2020/09/24 11:41
linux-5.15 WARNING in sta_info_insert_rcu missing-backport origin:lts-only C inconclusive 5 32d 478d 0/3 upstream: reported C repro on 2023/07/31 21:20
upstream WARNING in sta_info_insert_rcu (3) wireless C done 6 453d 494d 23/28 fixed on 2023/10/12 12:48
linux-6.1 WARNING in sta_info_insert_rcu origin:upstream C done 1 466d 466d 3/3 fixed on 2023/10/05 17:16
upstream WARNING in sta_info_insert_rcu (2) wireless 1 874d 870d 0/28 auto-obsoleted due to no activity on 2022/10/28 19:30
upstream WARNING in sta_info_insert_rcu (4) wireless 1 6d16h 2d16h 0/28 upstream: reported on 2024/11/18 16:56
upstream WARNING in sta_info_insert_rcu C done done 2533 1082d 1519d 20/28 fixed on 2022/03/08 16:11
Fix bisection attempts (25)
Created Duration User Patch Repo Result
2023/02/19 08:57 29m bisect fix linux-4.14.y OK (0) job log log
2023/01/20 00:59 28m bisect fix linux-4.14.y OK (0) job log log
2022/10/26 22:51 24m bisect fix linux-4.14.y OK (0) job log log
2022/09/19 04:29 22m bisect fix linux-4.14.y OK (0) job log log
2022/08/20 03:57 31m bisect fix linux-4.14.y OK (0) job log log
2022/07/21 03:29 27m bisect fix linux-4.14.y OK (0) job log log
2022/06/21 02:26 33m bisect fix linux-4.14.y OK (0) job log log
2022/05/22 00:43 26m bisect fix linux-4.14.y OK (0) job log log
2022/04/22 00:16 22m bisect fix linux-4.14.y OK (0) job log log
2022/03/22 23:43 32m bisect fix linux-4.14.y OK (0) job log log
2022/02/20 06:56 32m bisect fix linux-4.14.y OK (0) job log log
2022/01/21 06:22 28m bisect fix linux-4.14.y OK (0) job log log
2021/12/22 05:04 28m bisect fix linux-4.14.y OK (0) job log log
2021/11/22 04:37 26m bisect fix linux-4.14.y OK (0) job log log
2021/10/23 04:10 24m bisect fix linux-4.14.y OK (0) job log log
2021/09/22 10:47 27m bisect fix linux-4.14.y OK (0) job log log
2021/08/23 10:05 31m bisect fix linux-4.14.y OK (0) job log log
2021/07/24 09:31 23m bisect fix linux-4.14.y OK (0) job log log
2021/06/24 08:54 21m bisect fix linux-4.14.y OK (0) job log log
2021/05/25 02:41 30m bisect fix linux-4.14.y OK (0) job log log
2021/04/25 00:53 26m bisect fix linux-4.14.y OK (0) job log log
2021/03/25 16:47 21m bisect fix linux-4.14.y OK (0) job log log
2021/02/23 15:57 22m bisect fix linux-4.14.y OK (0) job log log
2021/01/20 16:25 23m bisect fix linux-4.14.y OK (0) job log log
2020/12/21 16:00 24m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4272 at net/mac80211/sta_info.c:463 sta_info_insert_check net/mac80211/sta_info.c:463 [inline]
WARNING: CPU: 1 PID: 4272 at net/mac80211/sta_info.c:463 sta_info_insert_rcu+0x1cf/0x1f40 net/mac80211/sta_info.c:609
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 4272 Comm: kworker/u4:5 Not tainted 4.14.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: phy2 ieee80211_iface_work
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x4b kernel/panic.c:547
 report_bug+0x208/0x249 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:sta_info_insert_check net/mac80211/sta_info.c:463 [inline]
RIP: 0010:sta_info_insert_rcu+0x1cf/0x1f40 net/mac80211/sta_info.c:609
RSP: 0018:ffff88809fb0fad8 EFLAGS: 00010297
RAX: ffff88809f59a540 RBX: ffff8880900b9500 RCX: 00000000bd63276f
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880900ba5cc
RBP: ffff888096b2ebc0 R08: 0000000000000000 R09: ffffffff8951e762
R10: 000000000011e148 R11: ffff88809f59a540 R12: 00000000bd63377f
R13: 0000000000000001 R14: ffff888094dd1848 R15: ffff888096b2ec08
 ieee80211_ibss_finish_sta+0x1db/0x2b0 net/mac80211/ibss.c:601
 ieee80211_ibss_work+0x260/0xc90 net/mac80211/ibss.c:1692
 ieee80211_iface_work+0x690/0x770 net/mac80211/iface.c:1383
 process_one_work+0x793/0x14a0 kernel/workqueue.c:2116
 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2250
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/10 14:06 linux-4.14.y cbfa1702aaf6 b74c49a6 .config console log report syz C ci2-linux-4-14
2020/10/01 01:01 linux-4.14.y cbfa1702aaf6 a9767fb2 .config console log report syz C ci2-linux-4-14
2020/09/27 22:25 linux-4.14.y cbfa1702aaf6 5dd8aee8 .config console log report syz C ci2-linux-4-14
2020/11/21 16:00 linux-4.14.y 8961076ed318 c7ec2d19 .config console log report info ci2-linux-4-14
2020/11/14 03:18 linux-4.14.y 27ce4f2a6817 1bf9a662 .config console log report info ci2-linux-4-14
2020/11/02 12:54 linux-4.14.y 2b7915014161 8bc4594f .config console log report info ci2-linux-4-14
2020/10/21 05:12 linux-4.14.y cbfa1702aaf6 ff4a3345 .config console log report info ci2-linux-4-14
2020/10/21 00:33 linux-4.14.y cbfa1702aaf6 ff4a3345 .config console log report info ci2-linux-4-14
2020/10/21 00:31 linux-4.14.y cbfa1702aaf6 ff4a3345 .config console log report info ci2-linux-4-14
2020/10/19 15:06 linux-4.14.y cbfa1702aaf6 ff4a3345 .config console log report info ci2-linux-4-14
2020/10/09 21:18 linux-4.14.y cbfa1702aaf6 93817d89 .config console log report info ci2-linux-4-14
2020/09/27 22:21 linux-4.14.y cbfa1702aaf6 5dd8aee8 .config console log report info ci2-linux-4-14
2020/09/27 22:09 linux-4.14.y cbfa1702aaf6 5dd8aee8 .config console log report info ci2-linux-4-14
* Struck through repros no longer work on HEAD.