syzbot


WARNING in sta_info_insert_rcu

Status: fixed on 2022/03/08 16:11
Reported-by: syzbot+ef4ca92d9d6f5ba2f880@syzkaller.appspotmail.com
Fix commit: a6555f844549 mac80211: Drop frames from invalid MAC address in ad-hoc mode
First crash: 1507d, last: 1069d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in sysfs_warn_dup (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) :
commit a6555f844549cd190eb060daef595f94d3de1582
Author: YueHaibing <yuehaibing@huawei.com>
Date: Fri Aug 27 14:42:30 2021 +0000

  mac80211: Drop frames from invalid MAC address in ad-hoc mode

  
Duplicate bugs (2)
duplicates (2):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
WARNING in sta_info_insert_check wireless 26 1340d 1376d 0/28 closed as dup on 2021/02/01 09:12
WARNING: CPU: 1 C done 1 1416d 1503d 0/28 closed as dup on 2021/01/05 10:18
Discussions (2)
Title Replies (including bot) Last reply
WARNING in sta_info_insert_rcu 1 (3) 2021/11/08 01:12
[PATCH] mac80211: Reject zero MAC address in sta_info_insert_check() 2 (2) 2021/06/26 10:48
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in sta_info_insert_rcu C 1648 612d 1506d 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 19d 466d 0/3 upstream: reported C repro on 2023/07/31 21:20
upstream WARNING in sta_info_insert_rcu (3) wireless C done 6 441d 482d 23/28 fixed on 2023/10/12 12:48
linux-4.14 WARNING in sta_info_insert_rcu C 13 628d 1503d 0/1 upstream: reported C repro on 2020/09/27 22:10
linux-6.1 WARNING in sta_info_insert_rcu origin:upstream C done 1 453d 453d 3/3 fixed on 2023/10/05 17:16
upstream WARNING in sta_info_insert_rcu (2) wireless 1 862d 858d 0/28 auto-obsoleted due to no activity on 2022/10/28 19:30

Sample crash report:
wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
------------[ cut here ]------------
WARNING: CPU: 1 PID: 9 at net/mac80211/sta_info.c:549 sta_info_insert_check net/mac80211/sta_info.c:549 [inline]
WARNING: CPU: 1 PID: 9 at net/mac80211/sta_info.c:549 sta_info_insert_rcu+0x274/0x2c40 net/mac80211/sta_info.c:727
Modules linked in:
CPU: 1 PID: 9 Comm: kworker/u4:0 Not tainted 5.13.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: phy3 ieee80211_iface_work
RIP: 0010:sta_info_insert_check net/mac80211/sta_info.c:549 [inline]
RIP: 0010:sta_info_insert_rcu+0x274/0x2c40 net/mac80211/sta_info.c:727

Crashes (2533):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/24 06:15 upstream 7266f2030eb0 fe4ab389 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in sta_info_insert_rcu
2021/05/21 09:00 upstream f01da525b3de 3c7fef33 .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in sta_info_insert_rcu
2021/05/19 07:06 upstream 8ac91e6c6033 a343ba6b .config console log report syz C ci-upstream-kasan-gce-root WARNING in sta_info_insert_rcu
2021/04/28 20:24 upstream acd3d2859453 77e2b668 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in sta_info_insert_rcu
2021/04/16 05:13 upstream 7e25f40eab52 c59079a6 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in sta_info_insert_rcu
2021/03/29 10:17 upstream 81b1d39fd39a a8529b82 .config console log report syz C ci-upstream-kasan-gce-root WARNING in sta_info_insert_rcu
2021/03/24 12:42 upstream 7acac4b3196c e613994b .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in sta_info_insert_rcu
2021/03/07 09:49 upstream a38fd8748464 e4b4d570 .config console log report syz C ci-upstream-kasan-gce-root WARNING in sta_info_insert_rcu
2021/02/03 15:19 upstream 3aaf0a27ffc2 624dad51 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in sta_info_insert_rcu
2021/01/31 21:30 upstream 6642d600b541 fc9fd31e .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in sta_info_insert_rcu
2021/05/05 11:53 linux-next 9a9aa07ae18b 06c27ff5 .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in sta_info_insert_rcu
2021/04/17 16:20 linux-next 1216f02e46a4 7e2b734b .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in sta_info_insert_rcu
2021/03/22 22:16 linux-next e3128d2f068e 8092f30d .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in sta_info_insert_rcu
2020/12/15 19:20 upstream 148842c98a24 97183ed7 .config console log report syz C ci-upstream-kasan-gce-root
2020/12/11 18:38 upstream 33dc9614dc20 ba24ffcd .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/12/04 21:56 upstream e87297fa080a 20366b87 .config console log report syz C ci-upstream-kasan-gce
2020/09/30 06:13 upstream ccc1d052eff9 5abc3f1a .config console log report syz C ci-upstream-kasan-gce
2020/09/26 06:40 upstream 7c7ec3226f5f 4a006f63 .config console log report syz C ci-upstream-kasan-gce
2020/09/26 04:29 upstream 171d4ff79f96 4a006f63 .config console log report syz C ci-upstream-kasan-gce
2020/09/26 04:09 upstream 171d4ff79f96 4a006f63 .config console log report syz C ci-upstream-kasan-gce
2020/09/23 06:12 upstream eff48ddeab78 3e8f6c27 .config console log report syz C ci-upstream-kasan-gce
2020/09/30 01:11 upstream ccc1d052eff9 5abc3f1a .config console log report syz C ci-upstream-kasan-gce-386
2020/09/25 21:01 upstream 171d4ff79f96 4a006f63 .config console log report syz C ci-upstream-kasan-gce-386
2020/09/25 14:22 upstream 171d4ff79f96 54289b08 .config console log report syz C ci-upstream-kasan-gce-386
2020/11/30 23:36 net-old 4d521943f76b 78d50c1d .config console log report syz C ci-upstream-net-this-kasan-gce
2020/10/01 23:26 net-old bb13a800620c 9602ddf4 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/09/23 07:03 net-old b334ec66d455 3e8f6c27 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/09/23 06:43 net-old b334ec66d455 3e8f6c27 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/09/23 06:23 net-old b334ec66d455 3e8f6c27 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/09/27 22:51 net-next-old 435be28b0789 5dd8aee8 .config console log report syz C ci-upstream-net-kasan-gce
2020/09/23 08:49 net-next-old 748d1c8a425e 3e8f6c27 .config console log report syz C ci-upstream-net-kasan-gce
2020/09/23 06:20 net-next-old 92ec804f3dbf 3e8f6c27 .config console log report syz C ci-upstream-net-kasan-gce
2021/11/25 00:27 upstream 5f53fa508db0 545ab074 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in sta_info_insert_rcu
2021/11/09 16:04 upstream d2f38a3c6507 59bcaf9a .config console log report info ci-upstream-kasan-gce-smack-root WARNING in sta_info_insert_rcu
2021/10/07 11:46 upstream 5af4055fa813 62ee0987 .config console log report info ci-upstream-kasan-gce WARNING in sta_info_insert_rcu
2021/10/01 13:33 upstream 02d5e016800d 1d849ab4 .config console log report info ci-upstream-kasan-gce-root WARNING in sta_info_insert_rcu
2021/10/01 00:07 upstream 02d5e016800d 1d849ab4 .config console log report info ci-upstream-kasan-gce WARNING in sta_info_insert_rcu
2021/09/30 23:03 upstream 02d5e016800d 1d849ab4 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in sta_info_insert_rcu
2021/09/30 21:38 upstream 02d5e016800d 1d849ab4 .config console log report info ci-upstream-kasan-gce WARNING in sta_info_insert_rcu
2021/09/30 19:59 upstream 02d5e016800d 1d849ab4 .config console log report info ci-upstream-kasan-gce WARNING in sta_info_insert_rcu
2021/09/30 17:49 upstream 02d5e016800d be530f6c .config console log report info ci-upstream-kasan-gce-root WARNING in sta_info_insert_rcu
2021/09/30 15:59 upstream 02d5e016800d be530f6c .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in sta_info_insert_rcu
2021/09/30 03:25 upstream 02d5e016800d be530f6c .config console log report info ci-upstream-kasan-gce-root WARNING in sta_info_insert_rcu
2021/09/29 22:34 upstream 02d5e016800d be530f6c .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in sta_info_insert_rcu
2021/09/29 09:00 upstream a4e6f95a891a d82cb927 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in sta_info_insert_rcu
2021/09/28 12:49 upstream 0513e464f900 78494d16 .config console log report info ci-upstream-kasan-gce-root WARNING in sta_info_insert_rcu
2021/09/28 06:40 upstream 0513e464f900 78494d16 .config console log report info ci-upstream-kasan-gce WARNING in sta_info_insert_rcu
2021/09/27 20:29 upstream 5816b3e6577e 78494d16 .config console log report info ci-upstream-kasan-gce-root WARNING in sta_info_insert_rcu
2021/09/27 18:34 upstream 5816b3e6577e 78494d16 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in sta_info_insert_rcu
2021/09/27 15:54 upstream 5816b3e6577e 78494d16 .config console log report info ci-upstream-kasan-gce WARNING in sta_info_insert_rcu
2021/09/27 09:06 upstream 996148ee05d0 78494d16 .config console log report info ci-upstream-kasan-gce WARNING in sta_info_insert_rcu
2021/09/27 07:44 upstream 996148ee05d0 78494d16 .config console log report info ci-upstream-kasan-gce-root WARNING in sta_info_insert_rcu
2021/09/27 03:58 upstream 996148ee05d0 78494d16 .config console log report info ci-upstream-kasan-gce WARNING in sta_info_insert_rcu
2021/09/26 16:30 upstream a3b397b4fffb 8cac236e .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in sta_info_insert_rcu
2021/09/26 10:57 upstream a5e0aceabef6 8cac236e .config console log report info ci-upstream-kasan-gce-smack-root WARNING in sta_info_insert_rcu
2021/09/26 08:34 upstream a5e0aceabef6 8cac236e .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in sta_info_insert_rcu
2021/06/17 12:01 upstream 70585216fe77 aba2b2fb .config console log report info ci-qemu-upstream WARNING in sta_info_insert_rcu
2021/09/30 00:12 upstream 02d5e016800d be530f6c .config console log report info ci-upstream-kasan-gce-386 WARNING in sta_info_insert_rcu
2021/07/29 05:32 upstream 4010a528219e b44001ce .config console log report info ci-qemu-upstream-386 WARNING in sta_info_insert_rcu
2021/03/10 13:59 upstream 05a59d79793d 26967e35 .config console log report info ci-qemu2-arm32 WARNING in sta_info_insert_rcu
2021/03/09 13:30 upstream 144c79ef3353 09fbf400 .config console log report info ci-qemu2-arm64 WARNING in sta_info_insert_rcu
2021/03/09 02:23 upstream 144c79ef3353 09fbf400 .config console log report info ci-qemu2-arm64-compat WARNING in sta_info_insert_rcu
2021/09/29 00:21 bpf 79e2c3066675 d82cb927 .config console log report info ci-upstream-bpf-kasan-gce WARNING in sta_info_insert_rcu
2021/09/28 18:33 bpf 79e2c3066675 d82cb927 .config console log report info ci-upstream-bpf-kasan-gce WARNING in sta_info_insert_rcu
2021/09/28 15:07 bpf 79e2c3066675 d82cb927 .config console log report info ci-upstream-bpf-kasan-gce WARNING in sta_info_insert_rcu
2021/09/28 01:27 bpf 2248c2fca9c2 78494d16 .config console log report info ci-upstream-bpf-kasan-gce WARNING in sta_info_insert_rcu
2021/09/27 14:07 net-old 763716a55cb1 78494d16 .config console log report info ci-upstream-net-this-kasan-gce WARNING in sta_info_insert_rcu
2021/09/27 00:28 bpf a3debf177f21 78494d16 .config console log report info ci-upstream-bpf-kasan-gce WARNING in sta_info_insert_rcu
2021/09/26 18:15 net-old b193e15ac69d 8cac236e .config console log report info ci-upstream-net-this-kasan-gce WARNING in sta_info_insert_rcu
2021/10/03 23:03 bpf-next d636c8da2d60 db0f5787 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in sta_info_insert_rcu
2021/10/03 19:52 bpf-next d636c8da2d60 db0f5787 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in sta_info_insert_rcu
2021/10/03 15:54 bpf-next d636c8da2d60 db0f5787 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in sta_info_insert_rcu
2021/10/03 13:46 bpf-next d636c8da2d60 db0f5787 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in sta_info_insert_rcu
2021/10/02 22:46 bpf-next d636c8da2d60 db0f5787 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in sta_info_insert_rcu
2021/10/02 18:28 bpf-next d636c8da2d60 db0f5787 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in sta_info_insert_rcu
2021/10/02 07:35 bpf-next d636c8da2d60 db0f5787 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in sta_info_insert_rcu
2021/10/01 23:06 bpf-next 6bbc7103738f cc80db95 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in sta_info_insert_rcu
2021/10/01 19:05 bpf-next 6bbc7103738f cc80db95 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in sta_info_insert_rcu
2021/10/01 10:36 bpf-next 6bbc7103738f 1d849ab4 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in sta_info_insert_rcu
2021/10/01 09:20 net-next-old 69508d43334e 1d849ab4 .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_insert_rcu
2021/10/01 05:57 net-next-old 69508d43334e 1d849ab4 .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_insert_rcu
2021/10/01 04:52 net-next-old 69508d43334e 1d849ab4 .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_insert_rcu
2021/09/30 05:56 net-next-old ef91abfb20c7 be530f6c .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_insert_rcu
2021/09/30 05:38 bpf-next 161ecd537948 be530f6c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in sta_info_insert_rcu
2021/09/29 18:27 net-next-old b69c99463d41 be530f6c .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_insert_rcu
2021/09/29 07:51 net-next-old b69c99463d41 d82cb927 .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_insert_rcu
2021/09/27 13:03 bpf-next e7d5184b24fb 78494d16 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in sta_info_insert_rcu
2021/09/26 18:53 net-next-old d59bdda85eb7 8cac236e .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_insert_rcu
2021/12/05 04:14 linux-next f81e94e91878 a617004c .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in sta_info_insert_rcu
2021/09/20 02:48 linux-next 9004fd387338 70b76c1d .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in sta_info_insert_rcu
2021/01/17 13:21 bpf-next 232164e041e9 813be542 .config console log report info ci-upstream-bpf-next-kasan-gce
2020/09/23 05:52 net-next-old 92ec804f3dbf 3e8f6c27 .config console log report info ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.