syzbot


WARNING in __cfg80211_connect_result

Status: upstream: reported C repro on 2024/06/15 00:59
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+82dd66674b8a7090fdb1@syzkaller.appspotmail.com
First crash: 122d, last: 67d
Fix commit to backport (bisect log) :
tree: upstream
commit b5d14b0c6716fad7f0c94ac6e1d6f60a49f985c7
Author: En-Wei Wu <en-wei.wu@canonical.com>
Date: Fri Jul 5 02:37:56 2024 +0000

  wifi: virt_wifi: avoid reporting connection success with wrong SSID

  
Bug presence (3)
Date Name Commit Repro Result
2024/08/09 linux-5.15.y (ToT) 7e89efd3ae1c C [report] WARNING in __cfg80211_connect_result
2024/06/24 upstream (ToT) 55027e689933 C [report] WARNING in __cfg80211_connect_result
2024/08/09 upstream (ToT) ee9a43b7cfe2 C Didn't crash
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in __cfg80211_connect_result 2 105d 142d 0/3 auto-obsoleted due to no activity on 2024/10/10 15:44
upstream WARNING in __cfg80211_connect_result (2) wireless C error 232 75d 141d 27/28 fixed on 2024/08/14 03:44
upstream WARNING in __cfg80211_connect_result wireless syz done inconclusive 14 1250d 1564d 0/28 auto-obsoleted due to no activity on 2022/09/14 19:03
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2024/08/14 09:13 7h58m (2) fix candidate upstream OK (1) job log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 300 at net/wireless/sme.c:768 __cfg80211_connect_result+0xe2e/0x10b0
Modules linked in:
CPU: 0 PID: 300 Comm: kworker/u4:3 Not tainted 5.15.161-syzkaller #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+0xe2e/0x10b0 net/wireless/sme.c:768
Code: ff e8 b6 a0 e4 f7 0f 0b e9 35 f7 ff ff e8 aa a0 e4 f7 0f 0b e9 95 f7 ff ff e8 9e a0 e4 f7 0f 0b e9 f9 f8 ff ff e8 92 a0 e4 f7 <0f> 0b e9 4a ff ff ff e8 86 a0 e4 f7 0f 0b e9 49 fa ff ff e8 7a a0
RSP: 0018:ffffc90002e87ac0 EFLAGS: 00010293
RAX: ffffffff899bba3e RBX: 0000000000000000 RCX: ffff888018a4d940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002e87ba0 R08: ffffffff899bb23e R09: fffffbfff1f7f226
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880779691c0
R13: ffff888012b19528 R14: dffffc0000000000 R15: 1ffff1100ef2d238
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007faf8b5a22d0 CR3: 0000000022f11000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 cfg80211_process_wdev_events+0x238/0x4c0 net/wireless/util.c:965
 cfg80211_process_rdev_events+0xa8/0x100 net/wireless/util.c:1006
 cfg80211_event_work+0x2b/0x40 net/wireless/core.c:330
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
 kthread+0x3f6/0x4f0 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/22 19:40 linux-5.15.y 4878aadf2d15 edc5149a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __cfg80211_connect_result
2024/07/19 03:45 linux-5.15.y 7c6d66f0266f ee4e11c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __cfg80211_connect_result
2024/06/30 15:02 linux-5.15.y 4878aadf2d15 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __cfg80211_connect_result
2024/06/22 16:44 linux-5.15.y 4878aadf2d15 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __cfg80211_connect_result
2024/06/15 00:58 linux-5.15.y c61bd26ae81a f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in __cfg80211_connect_result
* Struck through repros no longer work on HEAD.