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: 727d, last: 6d00h
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in sta_info_insert_rcu C 1486 5h54m 730d 0/1 upstream: reported C repro on 2020/09/24 11:41
upstream WARNING in sta_info_insert_rcu (2) 1 86d 82d 0/24 upstream: reported on 2022/07/04 19:34
upstream WARNING in sta_info_insert_rcu C done done 2533 294d 730d 22/24 fixed on 2022/03/08 16:11

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

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2022/09/19 04:52 linux-4.14.y 5df8b4735177 b74c49a6 .config log report syz C
ci2-linux-4-14 2022/08/20 04:28 linux-4.14.y b641242202ed b74c49a6 .config log report syz C
ci2-linux-4-14 2022/07/21 03:57 linux-4.14.y 424a46ea058e b74c49a6 .config log report syz C
ci2-linux-4-14 2022/06/21 02:59 linux-4.14.y 84bae26850e3 b74c49a6 .config log report syz C
ci2-linux-4-14 2022/05/22 01:09 linux-4.14.y dffb5c6ff09c b74c49a6 .config log report syz C
ci2-linux-4-14 2022/04/22 00:38 linux-4.14.y 15a1c6b6f516 b74c49a6 .config log report syz C
ci2-linux-4-14 2022/03/23 00:16 linux-4.14.y eb045674aab3 b74c49a6 .config log report syz C
ci2-linux-4-14 2022/02/20 07:28 linux-4.14.y a35d65bedfbc b74c49a6 .config log report syz C
ci2-linux-4-14 2022/01/21 06:50 linux-4.14.y 4ba8e26127c3 b74c49a6 .config log report syz C
ci2-linux-4-14 2021/12/22 05:32 linux-4.14.y 9dfbac0e6b86 b74c49a6 .config log report syz C
ci2-linux-4-14 2021/11/22 05:04 linux-4.14.y 5f9f3b0057d5 b74c49a6 .config log report syz C
ci2-linux-4-14 2021/10/23 04:35 linux-4.14.y 2760370b1649 b74c49a6 .config log report syz C
ci2-linux-4-14 2021/09/22 11:15 linux-4.14.y 8ea4f73cfa7e b74c49a6 .config log report syz C
ci2-linux-4-14 2021/08/23 10:36 linux-4.14.y 162b95d01320 b74c49a6 .config log report syz C
ci2-linux-4-14 2021/07/24 09:55 linux-4.14.y 964f3712e6a7 b74c49a6 .config log report syz C
ci2-linux-4-14 2021/06/24 09:16 linux-4.14.y cfb41ef9deb1 b74c49a6 .config log report syz C
ci2-linux-4-14 2021/05/25 03:11 linux-4.14.y 96afcb20f36f b74c49a6 .config log report syz C
ci2-linux-4-14 2021/04/25 01:20 linux-4.14.y cf256fbcbe34 b74c49a6 .config log report syz C
ci2-linux-4-14 2021/03/25 17:09 linux-4.14.y 670d6552eda8 b74c49a6 .config log report syz C
ci2-linux-4-14 2021/02/23 16:19 linux-4.14.y 3242aa3a635c b74c49a6 .config log report syz C
ci2-linux-4-14 2021/01/20 16:48 linux-4.14.y 2762b48e9611 b74c49a6 .config log report syz C
ci2-linux-4-14 2020/12/21 16:24 linux-4.14.y 3f2ecb86cb90 b74c49a6 .config log report syz C
* Struck through repros no longer work on HEAD.
Crashes (13):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2020/10/10 14:06 linux-4.14.y cbfa1702aaf6 b74c49a6 .config log report syz C
ci2-linux-4-14 2020/10/01 01:01 linux-4.14.y cbfa1702aaf6 a9767fb2 .config log report syz C
ci2-linux-4-14 2020/09/27 22:25 linux-4.14.y cbfa1702aaf6 5dd8aee8 .config log report syz C
ci2-linux-4-14 2020/11/21 16:00 linux-4.14.y 8961076ed318 c7ec2d19 .config log report info
ci2-linux-4-14 2020/11/14 03:18 linux-4.14.y 27ce4f2a6817 1bf9a662 .config log report info
ci2-linux-4-14 2020/11/02 12:54 linux-4.14.y 2b7915014161 8bc4594f .config log report info
ci2-linux-4-14 2020/10/21 05:12 linux-4.14.y cbfa1702aaf6 ff4a3345 .config log report info
ci2-linux-4-14 2020/10/21 00:33 linux-4.14.y cbfa1702aaf6 ff4a3345 .config log report info
ci2-linux-4-14 2020/10/21 00:31 linux-4.14.y cbfa1702aaf6 ff4a3345 .config log report info
ci2-linux-4-14 2020/10/19 15:06 linux-4.14.y cbfa1702aaf6 ff4a3345 .config log report info
ci2-linux-4-14 2020/10/09 21:18 linux-4.14.y cbfa1702aaf6 93817d89 .config log report info
ci2-linux-4-14 2020/09/27 22:21 linux-4.14.y cbfa1702aaf6 5dd8aee8 .config log report info
ci2-linux-4-14 2020/09/27 22:09 linux-4.14.y cbfa1702aaf6 5dd8aee8 .config log report info
* Struck through repros no longer work on HEAD.