syzbot


WARNING in sta_info_alloc

Status: upstream: reported C repro on 2020/10/05 12:47
Reported-by: syzbot+0a4b4bdcf93b75a474e5@syzkaller.appspotmail.com
First crash: 1508d, last: 640d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in sta_info_alloc C done done 145 1253d 1507d 20/28 fixed on 2021/11/10 00:50
linux-4.19 WARNING in sta_info_alloc C done 15 1250d 1507d 1/1 fixed on 2021/07/19 22:15
Fix bisection attempts (25)
Created Duration User Patch Repo Result
2023/02/19 13:27 34m bisect fix linux-4.14.y OK (0) job log log
2023/01/20 03:32 22m bisect fix linux-4.14.y OK (0) job log log
2022/10/27 01:28 30m bisect fix linux-4.14.y OK (0) job log log
2022/09/19 10:35 23m bisect fix linux-4.14.y OK (0) job log log
2022/08/20 09:20 21m bisect fix linux-4.14.y OK (0) job log log
2022/07/21 08:53 22m bisect fix linux-4.14.y OK (0) job log log
2022/06/21 07:40 26m bisect fix linux-4.14.y OK (0) job log log
2022/05/22 07:06 21m bisect fix linux-4.14.y OK (0) job log log
2022/04/22 03:33 21m bisect fix linux-4.14.y OK (0) job log log
2022/03/23 03:05 27m bisect fix linux-4.14.y OK (0) job log log
2022/02/20 11:33 28m bisect fix linux-4.14.y OK (0) job log log
2022/01/21 11:00 24m bisect fix linux-4.14.y OK (0) job log log
2021/12/22 10:30 25m bisect fix linux-4.14.y OK (0) job log log
2021/11/22 08:57 23m bisect fix linux-4.14.y OK (0) job log log
2021/10/23 08:18 23m bisect fix linux-4.14.y OK (0) job log log
2021/09/22 15:56 27m bisect fix linux-4.14.y OK (0) job log log
2021/08/23 13:48 22m bisect fix linux-4.14.y OK (0) job log log
2021/07/24 13:01 21m bisect fix linux-4.14.y OK (0) job log log
2021/06/24 12:27 20m bisect fix linux-4.14.y OK (0) job log log
2021/05/25 08:16 29m bisect fix linux-4.14.y OK (0) job log log
2021/04/25 07:47 28m bisect fix linux-4.14.y OK (0) job log log
2021/03/26 02:26 21m bisect fix linux-4.14.y OK (0) job log log
2021/02/24 01:25 23m bisect fix linux-4.14.y OK (0) job log log
2021/01/23 20:12 22m bisect fix linux-4.14.y OK (0) job log log
2020/12/24 19:48 23m bisect fix linux-4.14.y OK (0) job log log

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
IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8004 at net/mac80211/ieee80211_i.h:1408 ieee80211_get_sband net/mac80211/ieee80211_i.h:1408 [inline]
WARNING: CPU: 1 PID: 8004 at net/mac80211/ieee80211_i.h:1408 sta_info_alloc+0x1299/0x16e0 net/mac80211/sta_info.c:403
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 8004 Comm: syz-executor100 Not tainted 4.14.202-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
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:ieee80211_get_sband net/mac80211/ieee80211_i.h:1408 [inline]
RIP: 0010:sta_info_alloc+0x1299/0x16e0 net/mac80211/sta_info.c:403
RSP: 0018:ffff8880954b75d8 EFLAGS: 00010297
RAX: ffff88809b778140 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000282
RBP: ffff8880a1df10e0 R08: 0000000000000000 R09: 0000000000020012
R10: ffff88809b778a40 R11: ffff88809b778140 R12: ffff8880b17a6980
R13: ffff8880b2ee9640 R14: ffff8880b17a6f08 R15: ffff8880b17a6d90
 ieee80211_add_station+0x223/0x550 net/mac80211/cfg.c:1422
 rdev_add_station net/wireless/rdev-ops.h:176 [inline]
 nl80211_new_station+0xb4e/0x1290 net/wireless/nl80211.c:5259
 genl_family_rcv_msg+0x572/0xb20 net/netlink/genetlink.c:600
 genl_rcv_msg+0xaf/0x140 net/netlink/genetlink.c:625
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:636
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
 __sys_sendmsg+0xa3/0x120 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x27/0x40 net/socket.c:2103
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x441979
RSP: 002b:00007ffdbebae048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441979
RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000005
RBP: 000000306e616c77 R08: 0000000000000000 R09: 0000001300000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000032
R13: 0000000000000000 R14: 000000000000000c R15: 0000000000000004
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/28 08:46 linux-4.14.y 5b7a52cd2eef 96e03c1c .config console log report syz C ci2-linux-4-14
2020/10/28 06:24 linux-4.14.y 5b7a52cd2eef 96e03c1c .config console log report syz C ci2-linux-4-14
2020/10/27 05:37 linux-4.14.y 5b7a52cd2eef 8b3eaf58 .config console log report syz C ci2-linux-4-14
2020/10/26 23:55 linux-4.14.y 5b7a52cd2eef 8b3eaf58 .config console log report syz C ci2-linux-4-14
2020/11/24 17:18 linux-4.14.y 87335852c5d9 e34b696c .config console log report info ci2-linux-4-14
2020/10/22 00:22 linux-4.14.y 5b7a52cd2eef be6b1582 .config console log report info ci2-linux-4-14
2020/10/05 12:47 linux-4.14.y cbfa1702aaf6 5ef9c291 .config console log report info ci2-linux-4-14
2020/10/05 12:46 linux-4.14.y cbfa1702aaf6 5ef9c291 .config console log report info ci2-linux-4-14
* Struck through repros no longer work on HEAD.