syzbot


WARNING in ieee80211_bss_info_change_notify

Status: fixed on 2024/04/04 09:15
Reported-by: syzbot+a171518375d8f4311bc4@syzkaller.appspotmail.com
Fix commit: 930e826962d9 wifi: nl80211: reject iftype change with mesh ID change
First crash: 624d, last: 262d
Fix bisection: fixed by (bisect log) :
commit 930e826962d9f01dcd2220176134427358d112f2
Author: Johannes Berg <johannes.berg@intel.com>
Date: Wed Feb 14 19:08:35 2024 +0000

  wifi: nl80211: reject iftype change with mesh ID change

  
Bug presence (1)
Date Name Commit Repro Result
2024/03/15 upstream (ToT) e5eb28f6d1af C Didn't crash
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in ieee80211_bss_info_change_notify (2) wireless C done 1392 261d 406d 25/28 fixed on 2024/03/26 17:39
upstream WARNING in ieee80211_bss_info_change_notify wireless C done 7725 406d 1510d 23/28 fixed on 2023/10/12 12:47
linux-4.19 WARNING in ieee80211_bss_info_change_notify C 534 628d 1511d 0/1 upstream: reported C repro on 2020/10/02 07:16
linux-5.15 WARNING in ieee80211_bss_info_change_notify origin:upstream missing-backport C inconclusive 2133 10h07m 623d 0/3 upstream: reported C repro on 2023/03/08 18:54

Sample crash report:
netlink: 'syz-executor387': attribute type 27 has an invalid length.
------------[ cut here ]------------
wlan1: Failed check-sdata-in-driver check, flags: 0x0
WARNING: CPU: 0 PID: 3547 at net/mac80211/main.c:235 ieee80211_bss_info_change_notify+0x4aa/0x6d0 net/mac80211/main.c:235
Modules linked in:
CPU: 0 PID: 3547 Comm: syz-executor387 Not tainted 6.1.64-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
RIP: 0010:ieee80211_bss_info_change_notify+0x4aa/0x6d0 net/mac80211/main.c:235
Code: 8c 5b e1 f7 49 8b 86 20 09 00 00 49 81 c6 40 09 00 00 48 85 c0 4c 0f 45 f0 48 c7 c7 c0 2a fc 8b 4c 89 f6 89 ea e8 26 e7 51 f7 <0f> 0b e9 f5 fb ff ff e8 0a fe 89 f7 0f 0b e9 44 fe ff ff e8 fe fd
RSP: 0018:ffffc90003cdf230 EFLAGS: 00010246
RAX: 6759e94ecefdcb00 RBX: 0000000000000a00 RCX: ffff88801fb13b80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff81527dae R09: ffffed1017304f1c
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801e23e798
R13: ffff8880272a8e80 R14: ffff88801e23c000 R15: dffffc0000000000
FS:  0000555556f84380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020006440 CR3: 00000000239fb000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ieee80211_ibss_disconnect+0x567/0x700 net/mac80211/ibss.c:723
 ieee80211_ibss_leave+0x21/0x130 net/mac80211/ibss.c:1868
 rdev_leave_ibss net/wireless/rdev-ops.h:557 [inline]
 __cfg80211_leave_ibss+0x1dd/0x470 net/wireless/ibss.c:211
 cfg80211_leave_ibss+0x5b/0x70 net/wireless/ibss.c:229
 cfg80211_change_iface+0x4e3/0x1030 net/wireless/util.c:1056
 nl80211_set_interface+0x5fa/0x870 net/wireless/nl80211.c:4170
 genl_family_rcv_msg_doit net/netlink/genetlink.c:756 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:833 [inline]
 genl_rcv_msg+0xc1a/0xf70 net/netlink/genetlink.c:850
 netlink_rcv_skb+0x1cd/0x410 net/netlink/af_netlink.c:2508
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:861
 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline]
 netlink_unicast+0x7d8/0x970 net/netlink/af_netlink.c:1352
 netlink_sendmsg+0xa26/0xd60 net/netlink/af_netlink.c:1874
 sock_sendmsg_nosec net/socket.c:716 [inline]
 __sock_sendmsg net/socket.c:728 [inline]
 ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2499
 ___sys_sendmsg net/socket.c:2553 [inline]
 __sys_sendmsg+0x2a9/0x390 net/socket.c:2582
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff75cb384e9
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:00007ffddd3b4a18 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007ff75cb384e9
RDX: 0000000000000000 RSI: 0000000020000440 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffddd3b4a90 R15: 00007ffddd3b4a80
 </TASK>

Crashes (442):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/30 17:07 linux-6.1.y 6ac30d748bb0 f819d6f7 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2023/08/11 10:09 linux-6.1.y 0a4a7855302d da3c3ef8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2023/07/03 14:14 linux-6.1.y 0f4ac6b4c5f0 bfc47836 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2023/06/03 20:05 linux-6.1.y d2869ace6eeb a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2023/03/27 05:16 linux-6.1.y e3a87a10f259 fbf0499a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2023/03/11 07:00 linux-6.1.y 8a923980a190 5205ef30 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/03/04 11:46 linux-6.1.y a3eb3a74aa8c 25905f5d .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2023/06/06 04:38 linux-6.1.y 76ba310227d2 a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2023/05/31 15:18 linux-6.1.y d2869ace6eeb 09898419 .config console log report syz C ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2023/05/05 14:39 linux-6.1.y ca48fc16c493 518a39a6 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2023/03/11 07:31 linux-6.1.y 8a923980a190 5205ef30 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/02/26 17:31 linux-6.1.y 81e1dc2f7001 da36a36b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/02/21 03:26 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/02/19 23:11 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/02/19 21:57 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/02/17 08:36 linux-6.1.y 8b4118fabd6e 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/02/16 21:42 linux-6.1.y 8b4118fabd6e 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/02/16 09:48 linux-6.1.y f1bb70486c9c 578f7538 .config console log report info ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/02/14 06:36 linux-6.1.y f1bb70486c9c d902085f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/02/13 19:06 linux-6.1.y f1bb70486c9c e66542d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/02/13 15:36 linux-6.1.y f1bb70486c9c e66542d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/02/09 23:45 linux-6.1.y f1bb70486c9c 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/02/05 14:29 linux-6.1.y e5c3b988b827 e23e8c20 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/02/05 12:22 linux-6.1.y e5c3b988b827 e23e8c20 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/02/02 19:59 linux-6.1.y e5c3b988b827 60bf9982 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/01/31 16:48 linux-6.1.y 883d1a956208 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/01/25 07:01 linux-6.1.y 8fd7f4462453 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/01/25 04:04 linux-6.1.y 8fd7f4462453 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/01/23 22:05 linux-6.1.y 8fd7f4462453 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/01/23 19:45 linux-6.1.y 8fd7f4462453 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/01/23 09:58 linux-6.1.y 8fd7f4462453 1c0ecc51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/01/20 08:40 linux-6.1.y fec3b1451d5f 9bd8dcda .config console log report info ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/01/19 03:34 linux-6.1.y fec3b1451d5f 21772ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
2024/03/01 16:29 linux-6.1.y a3eb3a74aa8c 83acf9e0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/02/28 17:14 linux-6.1.y 81e1dc2f7001 55d6f11d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/02/27 09:13 linux-6.1.y 81e1dc2f7001 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/02/27 04:48 linux-6.1.y 81e1dc2f7001 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/02/22 14:43 linux-6.1.y 8b4118fabd6e 345111b5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/02/19 12:37 linux-6.1.y 8b4118fabd6e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/02/19 01:53 linux-6.1.y 8b4118fabd6e 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/02/16 12:07 linux-6.1.y f1bb70486c9c 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/02/14 16:55 linux-6.1.y f1bb70486c9c d9b1cdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/02/13 22:25 linux-6.1.y f1bb70486c9c e66542d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/02/13 14:51 linux-6.1.y f1bb70486c9c e66542d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/02/13 08:32 linux-6.1.y f1bb70486c9c 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/02/12 05:31 linux-6.1.y f1bb70486c9c 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/02/08 16:17 linux-6.1.y f1bb70486c9c 7f07e9b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/02/01 02:03 linux-6.1.y e5c3b988b827 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/01/31 10:59 linux-6.1.y 883d1a956208 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/01/30 14:05 linux-6.1.y 883d1a956208 7f400fcb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/01/25 17:30 linux-6.1.y 8fd7f4462453 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/01/23 03:17 linux-6.1.y 8fd7f4462453 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/01/22 12:41 linux-6.1.y 8fd7f4462453 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2024/01/22 03:22 linux-6.1.y 8fd7f4462453 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_bss_info_change_notify
2023/03/08 05:11 linux-6.1.y 42616e0f09fb d2b00170 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_bss_info_change_notify
* Struck through repros no longer work on HEAD.