syzbot


WARNING in ieee80211_bss_info_change_notify (2)

Status: fixed on 2024/03/26 17:39
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+dd4779978217b1973180@syzkaller.appspotmail.com
Fix commit: f78c1375339a wifi: nl80211: reject iftype change with mesh ID change
First crash: 278d, last: 134d
Cause bisection: introduced by (bisect log) :
commit 7b0a0e3c3a88260b6fcb017e49f198463aa62ed1
Author: Johannes Berg <johannes.berg@intel.com>
Date: Thu Apr 14 14:50:57 2022 +0000

  wifi: cfg80211: do some rework towards MLO link APIs

Crash: WARNING in drv_bss_info_changed (log)
Repro: C syz .config
  
Discussions (5)
Title Replies (including bot) Last reply
[PATCH] wifi: nl80211: reject iftype change with mesh ID change 1 (1) 2024/02/14 19:08
[syzbot] Monthly wireless report (Feb 2024) 0 (1) 2024/02/03 08:34
[syzbot] Monthly wireless report (Jan 2024) 0 (1) 2024/01/03 10:47
[syzbot] Monthly wireless report (Nov 2023) 0 (1) 2023/12/01 18:49
[syzbot] [net?] [wireless?] WARNING in ieee80211_bss_info_change_notify (2) 0 (3) 2023/10/13 23:50
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in ieee80211_bss_info_change_notify C done 442 134d 497d 3/3 fixed on 2024/04/04 09:15
upstream WARNING in ieee80211_bss_info_change_notify wireless C done 7725 278d 1383d 23/27 fixed on 2023/10/12 12:47
linux-4.19 WARNING in ieee80211_bss_info_change_notify C 534 501d 1384d 0/1 upstream: reported C repro on 2020/10/02 07:16
linux-5.15 WARNING in ieee80211_bss_info_change_notify origin:upstream C 1923 1d22h 496d 0/3 upstream: reported C repro on 2023/03/08 18:54
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/10/14 03:06 28m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master OK log
2023/10/14 01:31 14m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master report log

Sample crash report:
------------[ cut here ]------------
wlan1: Failed check-sdata-in-driver check, flags: 0x0
WARNING: CPU: 0 PID: 5061 at net/mac80211/main.c:238 ieee80211_bss_info_change_notify+0x2d6/0x840 net/mac80211/main.c:238
Modules linked in:
CPU: 0 PID: 5061 Comm: syz-executor123 Not tainted 6.8.0-rc1-syzkaller-00286-g168174d78157 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:ieee80211_bss_info_change_notify+0x2d6/0x840 net/mac80211/main.c:238
Code: 8b 74 24 08 48 81 c6 20 01 00 00 48 89 74 24 08 e8 1f 80 8c f7 8b 14 24 48 c7 c7 c0 2d 0d 8c 48 8b 74 24 08 e8 ab 73 52 f7 90 <0f> 0b 90 90 e8 01 80 8c f7 4c 89 f2 48 b8 00 00 00 00 00 fc ff df
RSP: 0018:ffffc9000436f320 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff88804c2e0c80 RCX: ffffffff814e18f9
RDX: ffff88807e595940 RSI: ffffffff814e1906 RDI: 0000000000000001
RBP: 0000000000000a00 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffff88804f3d8e20
R13: ffff88804c2e26e8 R14: ffff88804c2e14d0 R15: 0000000000000000
FS:  0000555556edb380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffed4758f18 CR3: 000000004ca0f000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 ieee80211_ibss_disconnect+0x45b/0x8f0 net/mac80211/ibss.c:713
 ieee80211_ibss_leave+0x16/0x160 net/mac80211/ibss.c:1826
 rdev_leave_ibss net/wireless/rdev-ops.h:569 [inline]
 cfg80211_leave_ibss+0x1a4/0x440 net/wireless/ibss.c:200
 cfg80211_change_iface+0x412/0xd40 net/wireless/util.c:1183
 nl80211_set_interface+0x6f4/0x9a0 net/wireless/nl80211.c:4229
 genl_family_rcv_msg_doit+0x1fc/0x2e0 net/netlink/genetlink.c:1113
 genl_family_rcv_msg net/netlink/genetlink.c:1193 [inline]
 genl_rcv_msg+0x561/0x800 net/netlink/genetlink.c:1208
 netlink_rcv_skb+0x16b/0x440 net/netlink/af_netlink.c:2543
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1217
 netlink_unicast_kernel net/netlink/af_netlink.c:1341 [inline]
 netlink_unicast+0x53b/0x810 net/netlink/af_netlink.c:1367
 netlink_sendmsg+0x8b7/0xd70 net/netlink/af_netlink.c:1908
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0xd5/0x180 net/socket.c:745
 ____sys_sendmsg+0x6ac/0x940 net/socket.c:2584
 ___sys_sendmsg+0x135/0x1d0 net/socket.c:2638
 __sys_sendmsg+0x117/0x1e0 net/socket.c:2667
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f125b9293e9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 d1 19 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffed4759f88 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f125b9293e9
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000d74e
R13: 00007ffed4759fbc R14: 00007ffed475a000 R15: 00007ffed4759ff0
 </TASK>

Crashes (1392):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/27 07:11 upstream 168174d78157 cc4a4020 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in ieee80211_bss_info_change_notify
2024/01/25 08:04 upstream 443b349019f2 1e153dc8 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in ieee80211_bss_info_change_notify
2024/01/14 07:25 upstream 052d534373b7 551587c1 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in ieee80211_bss_info_change_notify
2023/12/27 22:36 upstream fbafc3e621c3 fb427a07 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in ieee80211_bss_info_change_notify
2023/12/15 23:35 upstream 3f7168591ebf 3222d10c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in ieee80211_bss_info_change_notify
2023/11/01 23:15 upstream 8bc9e6515183 69904c9f .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_bss_info_change_notify
2023/10/13 13:48 upstream ce583d5fb9d3 6388bc36 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in ieee80211_bss_info_change_notify
2024/01/30 09:13 upstream 861c0981648f 991a98f4 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in ieee80211_bss_info_change_notify
2023/11/22 19:18 net-next 750011e239a5 03e12510 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ieee80211_bss_info_change_notify
2023/12/10 02:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d46efae31672 28b24332 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ieee80211_bss_info_change_notify
2023/12/06 00:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d46efae31672 f819d6f7 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ieee80211_bss_info_change_notify
2023/11/19 16:52 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ieee80211_bss_info_change_notify
2023/11/11 04:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 6d6dbf8a .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ieee80211_bss_info_change_notify
2024/03/01 04:32 upstream 805d849d7c3c 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in ieee80211_bss_info_change_notify
2024/02/29 21:27 upstream 805d849d7c3c 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/29 18:36 upstream 805d849d7c3c 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in ieee80211_bss_info_change_notify
2024/02/29 16:57 upstream 805d849d7c3c 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/29 15:37 upstream 805d849d7c3c 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/29 13:47 upstream 805d849d7c3c 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ieee80211_bss_info_change_notify
2024/02/29 11:58 upstream e326df53af00 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/29 05:31 upstream e326df53af00 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/29 02:16 upstream e326df53af00 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in ieee80211_bss_info_change_notify
2024/02/28 21:56 upstream e326df53af00 d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in ieee80211_bss_info_change_notify
2024/02/28 17:14 upstream cf1182944c7c d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in ieee80211_bss_info_change_notify
2024/02/28 16:01 upstream cf1182944c7c d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/28 12:55 upstream cf1182944c7c d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in ieee80211_bss_info_change_notify
2024/02/28 11:25 upstream cf1182944c7c d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in ieee80211_bss_info_change_notify
2024/02/28 10:18 upstream cf1182944c7c d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/28 10:12 upstream cf1182944c7c d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/28 05:01 upstream cf1182944c7c d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in ieee80211_bss_info_change_notify
2024/02/28 03:58 upstream cf1182944c7c 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/28 01:01 upstream 45ec2f5f6ed3 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in ieee80211_bss_info_change_notify
2024/02/27 18:23 upstream 45ec2f5f6ed3 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/27 15:27 upstream 45ec2f5f6ed3 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in ieee80211_bss_info_change_notify
2024/02/27 11:51 upstream 45ec2f5f6ed3 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in ieee80211_bss_info_change_notify
2024/02/27 07:12 upstream 45ec2f5f6ed3 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/27 05:47 upstream 45ec2f5f6ed3 edd6a5e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in ieee80211_bss_info_change_notify
2024/02/27 04:38 upstream d206a76d7d27 edd6a5e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/26 23:22 upstream d206a76d7d27 edd6a5e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in ieee80211_bss_info_change_notify
2024/02/26 22:20 upstream d206a76d7d27 edd6a5e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/26 16:25 upstream d206a76d7d27 edd6a5e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in ieee80211_bss_info_change_notify
2024/02/26 15:25 upstream d206a76d7d27 edd6a5e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ieee80211_bss_info_change_notify
2024/03/01 02:56 upstream 805d849d7c3c 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in ieee80211_bss_info_change_notify
2024/02/28 06:36 upstream cf1182944c7c d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in ieee80211_bss_info_change_notify
2023/10/12 14:33 upstream 401644852d0b 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in ieee80211_bss_info_change_notify
2024/02/29 21:27 upstream 805d849d7c3c 352ab904 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in ieee80211_bss_info_change_notify
2024/02/29 00:54 upstream e326df53af00 352ab904 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in ieee80211_bss_info_change_notify
2024/02/28 20:12 upstream e326df53af00 55d6f11d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in ieee80211_bss_info_change_notify
2024/02/28 19:01 upstream e326df53af00 55d6f11d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in ieee80211_bss_info_change_notify
2024/02/28 13:58 upstream cf1182944c7c 55d6f11d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in ieee80211_bss_info_change_notify
2024/02/27 17:04 upstream 45ec2f5f6ed3 d367cbe5 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in ieee80211_bss_info_change_notify
2024/02/27 16:01 upstream 45ec2f5f6ed3 d367cbe5 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in ieee80211_bss_info_change_notify
2024/02/27 09:48 upstream 45ec2f5f6ed3 05e69c83 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in ieee80211_bss_info_change_notify
2024/02/28 23:38 upstream e326df53af00 352ab904 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in ieee80211_bss_info_change_notify
2024/02/28 20:43 upstream e326df53af00 55d6f11d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in ieee80211_bss_info_change_notify
2024/02/27 01:47 upstream 45ec2f5f6ed3 05e69c83 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in ieee80211_bss_info_change_notify
2024/02/28 02:30 net 1ce7d306ea63 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/27 22:47 net 1ce7d306ea63 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/26 20:54 net 1a825e4cdf45 edd6a5e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/27 20:46 net-next f8cbf6bde4c8 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/27 00:08 net-next 5f6000aa24b9 edd6a5e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/26 19:47 net-next 5f6000aa24b9 edd6a5e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ieee80211_bss_info_change_notify
2024/02/19 07:46 linux-next 2c3b09aac00d 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in ieee80211_bss_info_change_notify
2024/03/05 05:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9910665503b3 5fc53669 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ieee80211_bss_info_change_notify
2024/03/04 21:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9910665503b3 3717835d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ieee80211_bss_info_change_notify
2024/03/02 00:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9910665503b3 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ieee80211_bss_info_change_notify
2024/03/01 19:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 381f163531d8 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ieee80211_bss_info_change_notify
2024/02/27 08:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9abbc24128bc 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ieee80211_bss_info_change_notify
* Struck through repros no longer work on HEAD.