syzbot


WARNING in sta_info_insert_rcu (2)

Status: auto-obsoleted due to no activity on 2022/10/28 19:30
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+f15276a56871c04c7c4e@syzkaller.appspotmail.com
First crash: 665d, last: 665d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in sta_info_insert_rcu (2) 0 (1) 2022/07/04 19:34
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 415d 1309d 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 2 100d 269d 0/3 upstream: reported C repro on 2023/07/31 21:20
upstream WARNING in sta_info_insert_rcu (3) wireless C done 6 244d 285d 23/26 fixed on 2023/10/12 12:48
linux-4.14 WARNING in sta_info_insert_rcu C 13 431d 1306d 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 256d 256d 3/3 fixed on 2023/10/05 17:16
upstream WARNING in sta_info_insert_rcu C done done 2533 872d 1309d 20/26 fixed on 2022/03/08 16:11

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 16069 at net/mac80211/sta_info.c:555 sta_info_insert_check net/mac80211/sta_info.c:555 [inline]
WARNING: CPU: 1 PID: 16069 at net/mac80211/sta_info.c:555 sta_info_insert_rcu+0x284/0x2b50 net/mac80211/sta_info.c:736
Modules linked in:
CPU: 0 PID: 16069 Comm: syz-executor.2 Not tainted 5.19.0-rc4-syzkaller-00044-g1a0e93df1e10 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/18/2022
RIP: 0010:sta_info_insert_check net/mac80211/sta_info.c:555 [inline]
RIP: 0010:sta_info_insert_rcu+0x284/0x2b50 net/mac80211/sta_info.c:736
Code: ba f8 44 89 e6 31 ff 83 e6 01 40 88 b5 38 ff ff ff e8 40 d2 ba f8 0f b6 85 38 ff ff ff 84 c0 0f 84 fa 00 00 00 e8 2c d6 ba f8 <0f> 0b 41 bc ea ff ff ff e8 1f d6 ba f8 48 8b bd 28 ff ff ff 4c 89
RSP: 0018:ffffc9000febeb30 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88801ca90c80 RCX: 0000000000000000
RDX: ffff8880795cbb00 RSI: ffffffff88bf9084 RDI: 0000000000000005
RBP: ffffc9000febec78 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000110208
R13: ffff888016fb8048 R14: ffff888044711798 R15: ffff888016fb8000
FS:  00007f2220d12700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200bd038 CR3: 000000001f5f5000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 sta_info_insert+0x13/0xb0 net/mac80211/sta_info.c:749
 ieee80211_prep_connection+0x31ca/0x44b0 net/mac80211/mlme.c:5701
 ieee80211_mgd_auth.cold+0x287/0x46d net/mac80211/mlme.c:5846
 rdev_auth net/wireless/rdev-ops.h:458 [inline]
 cfg80211_mlme_auth+0x3bd/0x760 net/wireless/mlme.c:273
 cfg80211_conn_do_work+0xc3f/0xf50 net/wireless/sme.c:170
 cfg80211_sme_connect net/wireless/sme.c:581 [inline]
 cfg80211_connect+0x10a5/0x2020 net/wireless/sme.c:1255
 nl80211_connect+0x1682/0x22e0 net/wireless/nl80211.c:11274
 genl_family_rcv_msg_doit+0x228/0x320 net/netlink/genetlink.c:731
 genl_family_rcv_msg net/netlink/genetlink.c:775 [inline]
 genl_rcv_msg+0x328/0x580 net/netlink/genetlink.c:792
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2501
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803
 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
 netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345
 netlink_sendmsg+0x917/0xe10 net/netlink/af_netlink.c:1921
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:734
 ____sys_sendmsg+0x6eb/0x810 net/socket.c:2492
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2546
 __sys_sendmsg net/socket.c:2575 [inline]
 __do_sys_sendmsg net/socket.c:2584 [inline]
 __se_sys_sendmsg net/socket.c:2582 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2582
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f221fc89109
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2220d12168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f221fd9bf60 RCX: 00007f221fc89109
RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003
RBP: 00007f221fce305d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd01bab36f R14: 00007f2220d12300 R15: 0000000000022000
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/06/30 19:30 upstream 1a0e93df1e10 1434eec0 .config console log report info ci-upstream-kasan-gce-root WARNING in sta_info_insert_rcu
* Struck through repros no longer work on HEAD.