syzbot


WARNING in cfg80211_ch_switch_notify

Status: fixed on 2023/02/24 13:50
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+90d912872157e63589e4@syzkaller.appspotmail.com
Fix commit: 77e7b6ba78ed wifi: cfg80211: handle IBSS in channel switch
First crash: 675d, last: 627d
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 cfg80211_ch_switch_notify (log)
Repro: C syz .config
  
Discussions (2)
Title Replies (including bot) Last reply
[PATCH 5.19 0000/1157] 5.19.2-rc1 review 1184 (1184) 2022/08/21 08:05
[syzbot] WARNING in cfg80211_ch_switch_notify 0 (1) 2022/06/25 10:25

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 91 at net/wireless/nl80211.c:18562 cfg80211_ch_switch_notify+0x3b2/0x890 net/wireless/nl80211.c:18562
Modules linked in:
CPU: 0 PID: 91 Comm: kworker/u4:4 Not tainted 5.19.0-rc4-next-20220628-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
Workqueue: phy4 ieee80211_csa_finalize_work
RIP: 0010:cfg80211_ch_switch_notify+0x3b2/0x890 net/wireless/nl80211.c:18562
Code: fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 d2 04 00 00 49 8b 14 24 44 89 ee 48 89 ef e8 d8 fa fb ff e9 44 ff ff ff e8 ce 32 ce f8 <0f> 0b e9 38 ff ff ff e8 c2 32 ce f8 48 8d bd f8 04 00 00 48 ba 00
RSP: 0018:ffffc900015d7c60 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff8880181e9d40 RSI: ffffffff88ac8442 RDI: 0000000000000005
RBP: ffff8880785c8c90 R08: 0000000000000005 R09: 0000000000000009
R10: 0000000000000001 R11: 0000000000000001 R12: ffff8880785ca458
R13: 0000000000000000 R14: ffff8880785c8000 R15: ffff8880220a0000
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000140 CR3: 000000007e85c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __ieee80211_csa_finalize+0x733/0xc90 net/mac80211/cfg.c:3432
 ieee80211_csa_finalize net/mac80211/cfg.c:3439 [inline]
 ieee80211_csa_finalize_work+0x131/0x170 net/mac80211/cfg.c:3464
 process_one_work+0x991/0x1610 kernel/workqueue.c:2289
 worker_thread+0x665/0x1080 kernel/workqueue.c:2436
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302

Crashes (744):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/08/07 00:48 linux-next cb71b93c2dc3 88e3a122 .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/04 20:02 linux-next cb71b93c2dc3 1c9013ac .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/07/24 21:41 linux-next cb71b93c2dc3 22343af4 .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/07/03 21:39 linux-next cb71b93c2dc3 1434eec0 .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/06/21 15:33 linux-next 34d1d36073ea 0fc5c330 .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/08 01:57 linux-next cb71b93c2dc3 88e3a122 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/08 00:18 linux-next cb71b93c2dc3 88e3a122 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/07 22:03 linux-next cb71b93c2dc3 88e3a122 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/07 20:01 linux-next cb71b93c2dc3 88e3a122 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/07 18:45 linux-next cb71b93c2dc3 88e3a122 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/07 17:21 linux-next cb71b93c2dc3 88e3a122 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/07 15:01 linux-next cb71b93c2dc3 88e3a122 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/07 10:37 linux-next cb71b93c2dc3 88e3a122 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/07 07:26 linux-next cb71b93c2dc3 88e3a122 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/06 23:27 linux-next cb71b93c2dc3 88e3a122 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/06 22:15 linux-next cb71b93c2dc3 88e3a122 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/06 20:57 linux-next cb71b93c2dc3 88e3a122 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/06 18:37 linux-next cb71b93c2dc3 88e3a122 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/06 14:27 linux-next cb71b93c2dc3 88e3a122 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/06 11:22 linux-next cb71b93c2dc3 e853abd9 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/06 10:08 linux-next cb71b93c2dc3 e853abd9 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/06 06:05 linux-next cb71b93c2dc3 e853abd9 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/06 01:50 linux-next cb71b93c2dc3 e853abd9 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/06 01:25 linux-next cb71b93c2dc3 e853abd9 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/06 00:21 linux-next cb71b93c2dc3 e853abd9 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/05 20:20 linux-next cb71b93c2dc3 e853abd9 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/05 13:59 linux-next cb71b93c2dc3 a65a7ce9 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/05 10:09 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/05 08:18 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/05 06:39 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/05 04:58 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/05 01:58 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/04 22:13 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/04 18:21 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/04 16:13 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/04 14:31 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/04 07:41 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/04 05:51 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/04 04:47 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/04 02:16 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/03 21:36 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/03 19:25 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/03 13:38 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/03 10:15 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/03 08:02 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/03 05:58 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/03 02:15 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/02 20:15 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/02 19:09 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/08/02 17:47 linux-next cb71b93c2dc3 1c9013ac .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
2022/06/21 10:19 linux-next 34d1d36073ea 0fc5c330 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cfg80211_ch_switch_notify
* Struck through repros no longer work on HEAD.