syzbot


WARNING in __cfg80211_connect_result (2)

Status: upstream: reported C repro on 2024/05/27 10:59
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+d6eb9cee2885ec06f5e3@syzkaller.appspotmail.com
Fix commit: wifi: virt_wifi: avoid reporting connection success with wrong SSID
Patched on: [ci-upstream-bpf-next-kasan-gce ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci2-upstream-net-next-test-gce], missing on: [ci-qemu-native-arm64-kvm ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-upstream-bpf-kasan-gce ci-upstream-gce-arm64 ci-upstream-gce-leak ci-upstream-kasan-badwrites-root ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce-386-root ci-upstream-kmsan-gce-root ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb]
First crash: 50d, last: 14h28m
Cause bisection: failed (error log, bisect log)
  
Discussions (3)
Title Replies (including bot) Last reply
[PATCH v2] wifi: virt_wifi: avoid reporting connection success with wrong SSID 1 (1) 2024/07/05 02:37
[PATCH] wifi: virt_wifi: avoid reporting connection success with wrong SSID 3 (3) 2024/07/04 08:52
[syzbot] [wireless?] WARNING in __cfg80211_connect_result (2) 0 (4) 2024/07/03 15:16
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in __cfg80211_connect_result 2 13d 50d 0/3 upstream: reported on 2024/05/26 22:05
linux-5.15 WARNING in __cfg80211_connect_result origin:upstream C 4 16d 31d 0/3 upstream: reported C repro on 2024/06/15 00:59
upstream WARNING in __cfg80211_connect_result wireless syz done inconclusive 14 1159d 1473d 0/27 auto-obsoleted due to no activity on 2022/09/14 19:03
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/07/03 15:16 21m en-wei.wu@canonical.com patch net-next report log
2024/07/03 15:01 21m en-wei.wu@canonical.com patch net-next report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 35 at net/wireless/sme.c:846 __cfg80211_connect_result+0x19ea/0x21d0 net/wireless/sme.c:846
Modules linked in:
CPU: 0 PID: 35 Comm: kworker/u8:2 Not tainted 6.10.0-rc4-syzkaller-00937-ga6a6a9809411 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Workqueue: cfg80211 cfg80211_event_work
RIP: 0010:__cfg80211_connect_result+0x19ea/0x21d0 net/wireless/sme.c:846
Code: a4 00 89 c3 31 ff 89 c6 e8 43 4f b2 f6 85 db 74 29 e8 0a 7b 98 f6 84 c0 74 27 e8 f1 4a b2 f6 e9 84 00 00 00 e8 e7 4a b2 f6 90 <0f> 0b 90 4c 89 ff 4c 89 f6 e8 68 23 00 00 eb 91 e8 d1 4a b2 f6 eb
RSP: 0018:ffffc90000ab79e0 EFLAGS: 00010293
RAX: ffffffff8ae3da39 RBX: 0000000000000000 RCX: ffff88801aefbc00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000ab7b00 R08: ffffffff8ae3d609 R09: 1ffffffff25f6cbd
R10: dffffc0000000000 R11: fffffbfff25f6cbe R12: ffff88802ac63098
R13: dffffc0000000000 R14: ffff88802ac63018 R15: ffff888022eeb000
FS:  0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200029c0 CR3: 0000000078998000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 cfg80211_process_wdev_events+0x356/0x510 net/wireless/util.c:1105
 cfg80211_process_rdev_events+0xac/0x110 net/wireless/util.c:1147
 cfg80211_event_work+0x2f/0x40 net/wireless/core.c:335
 process_one_work kernel/workqueue.c:3231 [inline]
 process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (226):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/27 00:16 net-next a6a6a9809411 880c1ca1 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/07/15 07:02 upstream 0c3836482481 c605e6a2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __cfg80211_connect_result
2024/07/12 14:32 upstream 43db1e03c086 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __cfg80211_connect_result
2024/07/12 02:23 upstream 8a18fda0febb eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __cfg80211_connect_result
2024/07/11 23:40 upstream 8a18fda0febb c699c2eb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __cfg80211_connect_result
2024/07/08 06:00 upstream 256abd8e550c bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __cfg80211_connect_result
2024/07/08 03:35 upstream 256abd8e550c bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __cfg80211_connect_result
2024/07/05 20:32 upstream 661e504db04c 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __cfg80211_connect_result
2024/07/05 10:30 upstream 661e504db04c 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __cfg80211_connect_result
2024/07/03 11:54 upstream e9d22f7a6655 409d975c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __cfg80211_connect_result
2024/07/02 00:08 upstream 73e931504f8e b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __cfg80211_connect_result
2024/06/29 15:01 upstream de0a9f448633 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in __cfg80211_connect_result
2024/06/24 02:03 upstream 7c16f0a4ed1c edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in __cfg80211_connect_result
2024/07/16 01:09 upstream 0c3836482481 efee4ed2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __cfg80211_connect_result
2024/07/15 20:24 upstream 0c3836482481 efee4ed2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __cfg80211_connect_result
2024/07/15 11:57 upstream 882ddcd1bf63 252f67bd .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __cfg80211_connect_result
2024/07/11 10:13 upstream 9d9a2f29aefd 6ca1eb5a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __cfg80211_connect_result
2024/07/10 18:06 upstream a19ea421490d 9e136b95 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __cfg80211_connect_result
2024/07/10 09:27 upstream 34afb82a3c67 9e136b95 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __cfg80211_connect_result
2024/07/08 20:19 upstream 256abd8e550c bc23a442 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __cfg80211_connect_result
2024/07/05 22:31 upstream d270dd21bee0 bc4ebbb5 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __cfg80211_connect_result
2024/06/20 12:50 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in __cfg80211_connect_result
2024/07/15 13:31 net 97d9fba9a812 c605e6a2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __cfg80211_connect_result
2024/07/08 03:15 net 0ec986ed7bab bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __cfg80211_connect_result
2024/07/07 16:55 net 0ec986ed7bab bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __cfg80211_connect_result
2024/07/05 14:57 net 0005b2dc43f9 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __cfg80211_connect_result
2024/07/04 03:27 net 9a0c28efeec6 409d975c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __cfg80211_connect_result
2024/07/04 03:27 net 9a0c28efeec6 409d975c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __cfg80211_connect_result
2024/07/03 23:33 net 8eb301bd7b0f 409d975c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __cfg80211_connect_result
2024/07/03 17:31 net 8eb301bd7b0f 409d975c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __cfg80211_connect_result
2024/07/03 03:47 net 8905a2c7d39b 1ecfa2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __cfg80211_connect_result
2024/06/30 00:44 net 134061163ee5 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __cfg80211_connect_result
2024/06/29 09:00 net dc6be0b73f4f 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __cfg80211_connect_result
2024/06/29 05:47 net dc6be0b73f4f 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __cfg80211_connect_result
2024/05/27 03:10 net 0b4f5add9fa5 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __cfg80211_connect_result
2024/05/26 21:46 bpf 95348e463eab a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in __cfg80211_connect_result
2024/07/11 19:55 net-next 58f9416d413a c699c2eb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/07/10 01:28 net-next 870a1dbcbc2e 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/07/09 16:27 net-next 870a1dbcbc2e 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/07/09 00:11 net-next 3abbd7ed8b76 cde64f7d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/07/08 18:51 net-next 3abbd7ed8b76 cde64f7d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/07/08 00:24 net-next 2f5e6395714d bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/07/07 15:15 net-next 2f5e6395714d bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/07/07 03:38 net-next 2f5e6395714d bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/07/06 18:15 net-next 2f5e6395714d bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/07/06 12:52 net-next 2f5e6395714d bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/07/05 09:12 net-next 390b14b5e9f6 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/07/03 21:35 net-next cda91d5b911a 409d975c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/07/03 19:37 net-next cda91d5b911a 409d975c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/07/03 16:26 net-next cda91d5b911a 409d975c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/07/03 08:45 net-next ac26327635d6 1ecfa2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/07/02 15:22 net-next 19e6ad2c7578 8373af66 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/07/02 01:16 net-next 74d6529b78f7 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/06/29 02:30 net-next 748e3bbf4721 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/06/27 06:47 net-next f261aa15b2ca 5c045c04 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __cfg80211_connect_result
2024/06/13 15:20 bpf-next 041c1dc988fd 2aa5052f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in __cfg80211_connect_result
2024/07/06 14:17 linux-next 0b58e108042b bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __cfg80211_connect_result
2024/06/26 23:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b4a3f9b4863a 880c1ca1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __cfg80211_connect_result
* Struck through repros no longer work on HEAD.