------------[ cut here ]------------ WARNING: CPU: 0 PID: 10665 at net/wireless/nl80211.c:18562 cfg80211_ch_switch_notify+0x3b2/0x890 net/wireless/nl80211.c:18562 Modules linked in: CPU: 0 PID: 10665 Comm: kworker/u4:19 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: phy13 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:ffffc9001565fc60 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88803cc01d40 RSI: ffffffff88ac8442 RDI: 0000000000000005 RBP: ffff888020448c90 R08: 0000000000000005 R09: 0000000000000009 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802044a458 R13: 0000000000000000 R14: ffff888020448000 R15: ffff8880789e0000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e524000 CR3: 00000000885f1000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __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