syzbot


WARNING in sta_info_alloc

Status: fixed on 2021/11/10 00:50
Reported-by: syzbot+45d7c243c006f39dc55a@syzkaller.appspotmail.com
Fix commit: 0ee4d55534f8 mac80211: remove warning in ieee80211_get_sband()
First crash: 1507d, last: 1253d
Cause bisection: introduced by (bisect log) :
commit 643c332d519bdfbf80d21f40d1c0aa0ccf3ec1cb
Author: Zi Shen Lim <zlim.lnx@gmail.com>
Date: Thu Jun 9 04:18:50 2016 +0000

  arm64: bpf: optimize LD_ABS, LD_IND

Crash: KASAN: null-ptr-deref Read (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) :
commit 282ab3ff16120ec670fe3330e85f8ebf13092f21
Author: David Sterba <dsterba@suse.com>
Date: Mon Oct 14 12:38:33 2019 +0000

  btrfs: reduce compressed_bio members' types

  
Discussions (1)
Title Replies (including bot) Last reply
WARNING in sta_info_alloc 3 (5) 2021/07/28 08:36
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in sta_info_alloc C done 15 1250d 1507d 1/1 fixed on 2021/07/19 22:15
linux-4.14 WARNING in sta_info_alloc C 8 640d 1507d 0/1 upstream: reported C repro on 2020/10/05 12:47

Sample crash report:
netlink: 'syz-executor356': attribute type 16 has an invalid length.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8380 at net/mac80211/ieee80211_i.h:1458 ieee80211_get_sband net/mac80211/ieee80211_i.h:1458 [inline]
WARNING: CPU: 0 PID: 8380 at net/mac80211/ieee80211_i.h:1458 sta_info_alloc+0x192a/0x1fa0 net/mac80211/sta_info.c:487
Modules linked in:
CPU: 0 PID: 8380 Comm: syz-executor356 Not tainted 5.12.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ieee80211_get_sband net/mac80211/ieee80211_i.h:1458 [inline]
RIP: 0010:sta_info_alloc+0x192a/0x1fa0 net/mac80211/sta_info.c:487
Code: 85 8f 03 00 00 49 8b 9f 60 01 00 00 e9 fe f6 ff ff e8 8a 5b 1c f9 8b 5c 24 08 83 e3 01 83 c3 01 e9 a5 fb ff ff e8 76 5b 1c f9 <0f> 0b e8 3f 63 ac 00 31 ff 89 c3 89 c6 e8 b4 61 1c f9 85 db 74 1d
RSP: 0018:ffffc900015573e0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff888022a940c0 RSI: ffffffff8856ca5a RDI: 0000000000000003
RBP: ffff888035cf0d00 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff8856c997 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000008 R14: dffffc0000000000 R15: ffff88802fb1c000
FS:  0000000001735300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdff5d1d000 CR3: 0000000022f43000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ieee80211_add_station+0x28c/0x660 net/mac80211/cfg.c:1674
 rdev_add_station net/wireless/rdev-ops.h:190 [inline]
 nl80211_new_station+0xdd0/0x13c0 net/wireless/nl80211.c:6743
 genl_family_rcv_msg_doit+0x228/0x320 net/netlink/genetlink.c:739
 genl_family_rcv_msg net/netlink/genetlink.c:783 [inline]
 genl_rcv_msg+0x328/0x580 net/netlink/genetlink.c:800
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2502
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:811
 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1338
 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1927
 sock_sendmsg_nosec net/socket.c:654 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:674
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2350
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2404
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2433
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x440959
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 15 00 00 90 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffee88c2248 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004b73c0 RCX: 0000000000440959
RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000004
RBP: 0000000000000003 R08: 0000000c00000001 R09: 0000000c00000001
R10: 0000000c00000001 R11: 0000000000000246 R12: 0000000000000031
R13: 00007ffee88c2290 R14: 00007ffee88c227a R15: 00000000004b7430

Crashes (145):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/15 13:43 upstream 7f75285ca572 fcdb12ba .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in sta_info_alloc
2021/04/02 02:02 upstream ffd9fb546d49 6a81331a .config console log report syz C ci-upstream-kasan-gce WARNING in sta_info_alloc
2021/03/24 10:01 upstream 7acac4b3196c e613994b .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in sta_info_alloc
2021/03/07 02:55 upstream a38fd8748464 e4b4d570 .config console log report syz C ci-upstream-kasan-gce-root WARNING in sta_info_alloc
2021/02/07 05:03 upstream 964d069f93c4 0655e081 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in sta_info_alloc
2021/02/06 01:37 upstream dd86e7fa07a3 23a562df .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in sta_info_alloc
2021/02/04 07:43 upstream 3afe9076a7c1 624dad51 .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in sta_info_alloc
2021/02/03 20:09 upstream 3aaf0a27ffc2 624dad51 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in sta_info_alloc
2021/02/03 14:59 upstream 3aaf0a27ffc2 624dad51 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in sta_info_alloc
2021/02/01 23:56 upstream 1048ba83fb1c e6b95f32 .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in sta_info_alloc
2021/02/01 20:35 upstream 1048ba83fb1c e6b95f32 .config console log report syz C ci-upstream-kasan-gce-root WARNING in sta_info_alloc
2021/01/31 21:05 upstream 6642d600b541 fc9fd31e .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in sta_info_alloc
2021/01/31 20:16 upstream 6642d600b541 fc9fd31e .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in sta_info_alloc
2021/01/25 21:22 upstream 6ee1d745b7c9 52e37319 .config console log report syz C ci-upstream-kasan-gce-root WARNING in sta_info_alloc
2021/01/24 11:23 upstream e1ae4b0be158 52e37319 .config console log report syz C ci-upstream-kasan-gce-root WARNING in sta_info_alloc
2021/01/23 19:59 upstream fe75a21824e7 52e37319 .config console log report syz C ci-upstream-kasan-gce-root WARNING in sta_info_alloc
2021/01/23 19:08 upstream fe75a21824e7 52e37319 .config console log report syz C ci-upstream-kasan-gce-root WARNING in sta_info_alloc
2021/01/25 09:35 net-old 344db93ae3ee 52e37319 .config console log report syz C ci-upstream-net-this-kasan-gce WARNING in sta_info_alloc
2021/01/25 07:20 net-next-old a61e4b60761f 52e37319 .config console log report syz C ci-upstream-net-kasan-gce WARNING in sta_info_alloc
2021/04/17 09:02 linux-next 1216f02e46a4 7e2b734b .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in sta_info_alloc
2021/03/30 03:02 linux-next 931294922e65 6a81331a .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in sta_info_alloc
2021/03/25 04:39 linux-next 20f1b5f9c07c 607e3baf .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in sta_info_alloc
2021/03/23 08:49 linux-next e3128d2f068e 8092f30d .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in sta_info_alloc
2020/12/03 17:07 upstream 34816d20f173 e6b0d314 .config console log report syz C ci-upstream-kasan-gce
2020/10/05 13:53 upstream 549738f15da0 5ef9c291 .config console log report syz C ci-upstream-kasan-gce
2020/10/05 13:41 upstream 549738f15da0 5ef9c291 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/11/27 00:09 upstream 4df910620beb 1d2b823e .config console log report syz C ci-upstream-kasan-gce-386
2020/11/20 19:54 upstream 4d02da974ea8 740ff461 .config console log report syz C ci-upstream-kasan-gce-386
2020/10/13 12:12 net-old 64a632da538a bd69ee0d .config console log report syz C ci-upstream-net-this-kasan-gce
2020/10/10 08:10 net-old 923527dcb4d1 93817d89 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/10/10 05:50 net-old 923527dcb4d1 93817d89 .config console log report syz C ci-upstream-net-this-kasan-gce
2020/10/09 18:35 net-old 3fdd47c3b40a d81b165e .config console log report syz C ci-upstream-net-this-kasan-gce
2020/10/09 16:29 net-old 3fdd47c3b40a d81b165e .config console log report syz C ci-upstream-net-this-kasan-gce
2020/10/10 22:24 net-next-old c77fb07fae36 4a77ae0b .config console log report syz C ci-upstream-net-kasan-gce
2020/10/07 03:32 net-next-old 8b0308fe319b 1880b4a9 .config console log report syz C ci-upstream-net-kasan-gce
2020/10/06 01:50 net-next-old c2568c8c9e63 1880b4a9 .config console log report syz C ci-upstream-net-kasan-gce
2020/10/05 19:39 net-next-old c2568c8c9e63 1880b4a9 .config console log report syz C ci-upstream-net-kasan-gce
2020/10/05 18:51 net-next-old c2568c8c9e63 1880b4a9 .config console log report syz C ci-upstream-net-kasan-gce
2021/06/16 18:48 upstream 6b00bc639f1f c06f97ad .config console log report info ci-upstream-kasan-gce WARNING in sta_info_alloc
2021/06/16 11:48 upstream 94f0b2d4a1d0 c06f97ad .config console log report info ci-upstream-kasan-gce WARNING in sta_info_alloc
2021/06/16 00:53 upstream 94f0b2d4a1d0 990d3cbe .config console log report info ci-upstream-kasan-gce WARNING in sta_info_alloc
2021/06/15 10:31 upstream 009c9aa5be65 58636922 .config console log report info ci-upstream-kasan-gce WARNING in sta_info_alloc
2021/06/14 16:58 upstream 009c9aa5be65 1ba81399 .config console log report info ci-upstream-kasan-gce WARNING in sta_info_alloc
2021/06/11 09:33 upstream 06af8679449d 1ba81399 .config console log report info ci-upstream-kasan-gce WARNING in sta_info_alloc
2021/05/13 19:07 upstream c06a2ba62fc4 80f9b418 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in sta_info_alloc
2021/05/10 15:27 upstream 6efb943b8616 ca873091 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in sta_info_alloc
2021/04/22 00:50 upstream 16fc44d6387e 2bc8999a .config console log report info ci-upstream-kasan-gce WARNING in sta_info_alloc
2021/04/11 03:45 upstream 52e44129fba5 bfeda1b1 .config console log report info ci-upstream-kasan-gce-root WARNING in sta_info_alloc
2021/04/10 12:01 upstream d4961772226d bfeda1b1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in sta_info_alloc
2021/04/08 01:57 upstream 3a22981230f9 6a81331a .config console log report info ci-upstream-kasan-gce-root WARNING in sta_info_alloc
2021/04/07 14:47 upstream 2d743660786e 6a81331a .config console log report info ci-upstream-kasan-gce-root WARNING in sta_info_alloc
2021/01/31 05:58 upstream 8c947645151c fc9fd31e .config console log report info ci-upstream-kasan-gce WARNING in sta_info_alloc
2021/01/30 06:11 upstream 0e9bcda5d286 fc9fd31e .config console log report info ci-upstream-kasan-gce WARNING in sta_info_alloc
2021/01/26 13:00 upstream 13391c60da33 52e37319 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in sta_info_alloc
2021/01/20 09:32 upstream 45dfb8a5659a d4f4eca5 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in sta_info_alloc
2021/01/20 07:53 upstream 45dfb8a5659a 63631df1 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in sta_info_alloc
2021/06/09 13:48 upstream 368094df48e6 84fe5d96 .config console log report info ci-upstream-kasan-gce-386 WARNING in sta_info_alloc
2021/04/24 09:15 upstream 8db5efb83fa9 17f0b706 .config console log report info ci-upstream-kasan-gce-386 WARNING in sta_info_alloc
2021/01/20 06:46 upstream 45dfb8a5659a 63631df1 .config console log report info ci-upstream-kasan-gce-386 WARNING in sta_info_alloc
2021/05/18 04:51 net-old 31db0dbd7244 a343ba6b .config console log report info ci-upstream-net-this-kasan-gce WARNING in sta_info_alloc
2021/03/11 06:12 net-old 47142ed6c34d c2ca1f2a .config console log report info ci-upstream-net-this-kasan-gce WARNING in sta_info_alloc
2021/06/12 21:53 net-next-old 02b0bb51a8da 1ba81399 .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_alloc
2021/04/30 18:43 net-next-old 95aafe911db6 77e2b668 .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_alloc
2021/04/07 04:28 net-next-old be107538c529 6a81331a .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_alloc
2021/04/06 05:36 net-next-old 514e1150da9c 6a81331a .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_alloc
2021/04/04 13:46 net-next-old 428e68e1a85a 6a81331a .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_alloc
2021/01/31 18:52 net-next-old 14e8e0f60088 fc9fd31e .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_alloc
2021/01/29 05:10 net-next-old 462512824f90 7df34f59 .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_alloc
2021/01/27 22:19 net-next-old 6b2e04bc240f eefc07f2 .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_alloc
2021/01/27 21:52 net-next-old 6b2e04bc240f eefc07f2 .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_alloc
2021/01/27 09:14 net-next-old 6626a0266566 a0ebf917 .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_alloc
2021/01/26 00:32 net-next-old 24f97b6af9a0 52e37319 .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_alloc
2021/01/24 06:36 net-next-old e7b76db36240 52e37319 .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_alloc
2021/01/22 14:45 net-next-old fdb6b338d2e5 d4f4eca5 .config console log report info ci-upstream-net-kasan-gce WARNING in sta_info_alloc
2021/01/17 13:38 upstream 0da0a8a0a0e1 813be542 .config console log report info ci-upstream-kasan-gce
2021/01/16 13:46 upstream 1d94330a437a 65a7a854 .config console log report info ci-upstream-kasan-gce-smack-root
2021/01/09 13:05 upstream 996e435fd401 a6c52263 .config console log report info ci-upstream-kasan-gce
2020/10/05 12:47 upstream 549738f15da0 5ef9c291 .config console log report info ci-upstream-kasan-gce-smack-root
2021/01/12 04:34 upstream a0d54b4f5b21 2c1f2513 .config console log report info ci-upstream-kasan-gce-386
2021/01/09 15:59 upstream 996e435fd401 2c1f2513 .config console log report info ci-upstream-kasan-gce-386
2020/10/18 01:50 upstream 9d9af1007bc0 fea47c01 .config console log report info ci-qemu-upstream-386
2020/12/16 13:58 net-old 3db1a3fa9880 f213e07e .config console log report info ci-upstream-net-this-kasan-gce
2021/01/11 22:18 net-next-old 73b7a6047971 2c1f2513 .config console log report info ci-upstream-net-kasan-gce
2020/12/29 03:07 net-next-old 3db1a3fa9880 8259d56c .config console log report info ci-upstream-net-kasan-gce
2020/12/28 15:13 net-next-old 3db1a3fa9880 8259d56c .config console log report info ci-upstream-net-kasan-gce
2020/12/28 02:19 net-next-old 3db1a3fa9880 2242f77f .config console log report info ci-upstream-net-kasan-gce
2020/12/21 14:08 net-next-old 3db1a3fa9880 04201c06 .config console log report info ci-upstream-net-kasan-gce
2020/12/20 08:53 net-next-old 3db1a3fa9880 04201c06 .config console log report info ci-upstream-net-kasan-gce
2020/12/19 12:10 net-next-old 3db1a3fa9880 04201c06 .config console log report info ci-upstream-net-kasan-gce
2020/12/19 10:39 net-next-old 3db1a3fa9880 04201c06 .config console log report info ci-upstream-net-kasan-gce
2020/12/17 19:26 net-next-old 3db1a3fa9880 04201c06 .config console log report info ci-upstream-net-kasan-gce
2020/12/26 01:49 linux-next d7a03a44a5e9 821e0b09 .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.