syzbot


WARNING in ieee80211_link_info_change_notify

Status: fixed on 2023/02/24 13:50
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+bce2ca140cc00578ed07@syzkaller.appspotmail.com
Fix commit: 591e73ee3f73 wifi: mac80211: properly skip link info driver update
First crash: 696d, last: 449d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in drv_bss_info_changed (log)
Repro: C syz .config
  
Discussions (3)
Title Replies (including bot) Last reply
[PATCH net,v2] wifi: mac80211: fix WARNING in ieee80211_link_info_change_notify() 3 (3) 2023/09/01 06:12
[PATCH net] wifi: mac80211: fix WARNING in ieee80211_link_info_change_notify() 2 (2) 2022/12/01 14:14
[syzbot] WARNING in ieee80211_link_info_change_notify 0 (1) 2022/06/26 17:07
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in ieee80211_link_info_change_notify origin:upstream C 740 22h31m 437d 0/3 upstream: reported C repro on 2023/03/08 22:37
upstream WARNING in ieee80211_link_info_change_notify (2) wireless C inconclusive 8676 1h15m 445d 0/26 upstream: reported C repro on 2023/02/28 15:47

Sample crash report:
netlink: 'syz-executor254': attribute type 27 has an invalid length.
------------[ cut here ]------------
wlan0: Failed check-sdata-in-driver check, flags: 0x0
WARNING: CPU: 0 PID: 5080 at net/mac80211/main.c:287 ieee80211_link_info_change_notify+0x1fd/0x270 net/mac80211/main.c:287
Modules linked in:
CPU: 0 PID: 5080 Comm: syz-executor254 Not tainted 6.2.0-rc3-syzkaller-00008-g1fe4fd6f5cad #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:ieee80211_link_info_change_notify+0x1fd/0x270 net/mac80211/main.c:287
Code: 8b 9d 08 09 00 00 48 85 db 74 32 e8 fd a8 42 f8 48 89 dd e8 f5 a8 42 f8 44 89 f2 48 89 ee 48 c7 c7 60 c5 7b 8b e8 83 08 81 00 <0f> 0b e9 76 ff ff ff e8 d7 a8 42 f8 0f 0b e9 43 fe ff ff e8 cb a8
RSP: 0018:ffffc90003e7f480 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff88801e350000 RCX: 0000000000000000
RDX: ffff888025da0000 RSI: ffffffff8166721c RDI: fffff520007cfe82
RBP: ffff88801e350000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88801e352248 R14: 0000000000000000 R15: ffff88807c3186c0
FS:  0000555556ed0300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020006440 CR3: 0000000017af4000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ieee80211_set_mcast_rate+0x42/0x50 net/mac80211/cfg.c:2830
 rdev_set_mcast_rate net/wireless/rdev-ops.h:1220 [inline]
 nl80211_set_mcast_rate+0x361/0x6d0 net/wireless/nl80211.c:11306
 genl_family_rcv_msg_doit.isra.0+0x1e6/0x2d0 net/netlink/genetlink.c:968
 genl_family_rcv_msg net/netlink/genetlink.c:1048 [inline]
 genl_rcv_msg+0x4ff/0x7e0 net/netlink/genetlink.c:1065
 netlink_rcv_skb+0x165/0x440 net/netlink/af_netlink.c:2564
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1076
 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline]
 netlink_unicast+0x547/0x7f0 net/netlink/af_netlink.c:1356
 netlink_sendmsg+0x91b/0xe10 net/netlink/af_netlink.c:1932
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg+0xd3/0x120 net/socket.c:734
 ____sys_sendmsg+0x712/0x8c0 net/socket.c:2476
 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2530
 __sys_sendmsg+0xf7/0x1c0 net/socket.c:2559
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7febbbc46bb9
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:00007ffe4810bbd8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007febbbcc03a0 RCX: 00007febbbc46bb9
RDX: 0000000000000000 RSI: 00000000200005c0 RDI: 0000000000000005
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000c00000001
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000031
R13: 00007ffe4810bc20 R14: 00007ffe4810bc0a R15: 00007febbbcc0410
 </TASK>

Crashes (1376):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/09 18:41 upstream 1fe4fd6f5cad 1dac8c7a .config strace log report syz C ci-upstream-kasan-gce WARNING in ieee80211_link_info_change_notify
2022/10/30 11:29 upstream b229b6ca5abb 2a71366b .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in ieee80211_link_info_change_notify
2023/01/09 18:37 net-old 60ea6f00c57d 1dac8c7a .config strace log report syz C ci-upstream-net-this-kasan-gce WARNING in ieee80211_link_info_change_notify
2023/01/09 18:48 net-next-old fb59bf28cd63 1dac8c7a .config strace log report syz C ci-upstream-net-kasan-gce WARNING in ieee80211_link_info_change_notify
2022/07/16 09:11 linux-next cb71b93c2dc3 95cb00d1 .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2022/06/22 20:09 linux-next ac0ba5454ca8 0fc5c330 .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/24 12:09 upstream d2980d8d8265 9e2ebb3c .config console log report info ci-upstream-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/24 10:29 upstream d2980d8d8265 9e2ebb3c .config console log report info ci-upstream-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/24 03:53 upstream a5c95ca18a98 9e2ebb3c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_link_info_change_notify
2023/02/23 23:55 upstream a5c95ca18a98 9e2ebb3c .config console log report info ci-upstream-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/23 19:44 upstream a5c95ca18a98 9e2ebb3c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in ieee80211_link_info_change_notify
2023/02/23 18:13 upstream a5c95ca18a98 9e2ebb3c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_link_info_change_notify
2023/02/23 08:44 upstream 307e14c03906 9e2ebb3c .config console log report info ci-qemu-upstream WARNING in ieee80211_link_info_change_notify
2023/02/23 06:38 upstream d8ca6dbb8de7 9e2ebb3c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ieee80211_link_info_change_notify
2023/02/23 02:54 upstream d8ca6dbb8de7 409945bc .config console log report info ci-upstream-kasan-gce WARNING in ieee80211_link_info_change_notify
2023/02/22 15:23 upstream 5b7c4cabbb65 409945bc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/22 11:02 upstream 5b7c4cabbb65 42a4d508 .config console log report info ci-upstream-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/22 04:11 upstream 69308402ca6f 42a4d508 .config console log report info ci-qemu-upstream WARNING in ieee80211_link_info_change_notify
2023/02/21 22:40 upstream 4a7d37e824f5 42a4d508 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ieee80211_link_info_change_notify
2023/02/21 16:38 upstream 89f5349e0673 f949448d .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in ieee80211_link_info_change_notify
2023/02/21 13:18 upstream 89f5349e0673 f949448d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/20 02:00 upstream c9c3395d5e3d bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_link_info_change_notify
2023/02/19 23:31 upstream c9c3395d5e3d bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_link_info_change_notify
2023/02/19 14:19 upstream 925cf0457d7e bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/19 10:07 upstream 925cf0457d7e bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/19 08:50 upstream 925cf0457d7e bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_link_info_change_notify
2023/02/19 02:56 upstream 5e725d112e1a bcdf85f8 .config console log report info ci-qemu-upstream WARNING in ieee80211_link_info_change_notify
2023/02/19 00:08 upstream 38f8ccde04a3 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ieee80211_link_info_change_notify
2023/02/18 21:10 upstream 38f8ccde04a3 bcdf85f8 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in ieee80211_link_info_change_notify
2023/02/18 11:35 upstream dbeed98d89ea d02e9a70 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in ieee80211_link_info_change_notify
2023/02/18 08:53 upstream dbeed98d89ea d02e9a70 .config console log report info ci-upstream-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/18 07:51 upstream dbeed98d89ea d02e9a70 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in ieee80211_link_info_change_notify
2023/02/18 04:32 upstream dbeed98d89ea 3e7039f4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/17 22:40 upstream ec35307e18ba 3e7039f4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ieee80211_link_info_change_notify
2023/02/17 12:13 upstream ec35307e18ba 3e7039f4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ieee80211_link_info_change_notify
2023/02/17 02:57 upstream 3ac88fa4605e 851bc19a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ieee80211_link_info_change_notify
2023/02/17 01:27 upstream 3ac88fa4605e 851bc19a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in ieee80211_link_info_change_notify
2023/02/16 22:31 upstream 3ac88fa4605e 851bc19a .config console log report info ci-qemu-upstream WARNING in ieee80211_link_info_change_notify
2023/02/16 15:44 upstream 033c40a89f55 7338e3c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/24 06:00 upstream d2980d8d8265 630c6bc9 .config console log report info ci-qemu-upstream-386 WARNING in ieee80211_link_info_change_notify
2023/02/23 15:36 upstream d8ca6dbb8de7 9e2ebb3c .config console log report info ci-upstream-kasan-gce-386 WARNING in ieee80211_link_info_change_notify
2023/02/23 05:04 upstream 307e14c03906 9e2ebb3c .config console log report info ci-qemu-upstream-386 WARNING in ieee80211_link_info_change_notify
2023/02/22 17:52 upstream 5b7c4cabbb65 409945bc .config console log report info ci-upstream-kasan-gce-386 WARNING in ieee80211_link_info_change_notify
2023/02/22 06:39 upstream 69308402ca6f 42a4d508 .config console log report info ci-qemu-upstream-386 WARNING in ieee80211_link_info_change_notify
2023/02/22 02:58 upstream 69308402ca6f 42a4d508 .config console log report info ci-qemu-upstream-386 WARNING in ieee80211_link_info_change_notify
2023/02/21 18:51 upstream 89f5349e0673 ec0a9fe9 .config console log report info ci-qemu-upstream-386 WARNING in ieee80211_link_info_change_notify
2023/02/21 13:56 upstream 89f5349e0673 f949448d .config console log report info ci-upstream-kasan-gce-386 WARNING in ieee80211_link_info_change_notify
2023/02/20 04:38 upstream c9c3395d5e3d bcdf85f8 .config console log report info ci-upstream-kasan-gce-386 WARNING in ieee80211_link_info_change_notify
2023/02/19 19:09 upstream 925cf0457d7e bcdf85f8 .config console log report info ci-qemu-upstream-386 WARNING in ieee80211_link_info_change_notify
2023/02/19 15:52 upstream 925cf0457d7e bcdf85f8 .config console log report info ci-upstream-kasan-gce-386 WARNING in ieee80211_link_info_change_notify
2023/02/18 17:26 upstream 38f8ccde04a3 bcdf85f8 .config console log report info ci-qemu-upstream-386 WARNING in ieee80211_link_info_change_notify
2023/02/18 10:13 upstream 38f8ccde04a3 bcdf85f8 .config console log report info ci-qemu-upstream-386 WARNING in ieee80211_link_info_change_notify
2023/02/16 23:49 upstream 3ac88fa4605e 851bc19a .config console log report info ci-upstream-kasan-gce-386 WARNING in ieee80211_link_info_change_notify
2023/02/16 13:40 upstream 033c40a89f55 38b317a7 .config console log report info ci-qemu-upstream-386 WARNING in ieee80211_link_info_change_notify
2023/02/17 08:32 net-old b20b8aec6ffc 851bc19a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in ieee80211_link_info_change_notify
2023/02/18 19:13 net-next-old 675f176b4dcc bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ieee80211_link_info_change_notify
2023/02/18 03:29 net-next-old 675f176b4dcc 3e7039f4 .config console log report info ci-upstream-net-kasan-gce WARNING in ieee80211_link_info_change_notify
2023/02/16 16:50 net-next-old 10d13421a6ae 7338e3c4 .config console log report info ci-upstream-net-kasan-gce WARNING in ieee80211_link_info_change_notify
2023/02/22 13:37 linux-next aaf70d5ad5e2 409945bc .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/22 07:40 linux-next aaf70d5ad5e2 42a4d508 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/21 23:50 linux-next 465461cf4846 42a4d508 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/21 20:24 linux-next 465461cf4846 42a4d508 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/19 00:33 linux-next c068f40300a0 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/18 13:15 linux-next c068f40300a0 d02e9a70 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/17 14:54 linux-next c068f40300a0 3e7039f4 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2022/06/22 16:57 linux-next ac0ba5454ca8 0fc5c330 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in ieee80211_link_info_change_notify
2023/02/21 11:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a9b06ec42c0f f949448d .config console log report info ci-upstream-gce-arm64 WARNING in ieee80211_link_info_change_notify
2023/02/21 00:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a9b06ec42c0f 4f5f5209 .config console log report info ci-upstream-gce-arm64 WARNING in ieee80211_link_info_change_notify
2023/02/20 17:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2d3827b3f393 4f5f5209 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ieee80211_link_info_change_notify
2023/02/18 04:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2d3827b3f393 3e7039f4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ieee80211_link_info_change_notify
* Struck through repros no longer work on HEAD.