------------[ cut here ]------------ WARNING: CPU: 0 PID: 5248 at net/mac80211/ibss.c:500 ieee80211_ibss_csa_beacon+0x5fd/0x750 net/mac80211/ibss.c:500 Modules linked in: CPU: 0 PID: 5248 Comm: kworker/u16:4 Not tainted 6.2.0-syzkaller-00081-g91bc559d8d3a #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Workqueue: phy8 ieee80211_iface_work RIP: 0010:ieee80211_ibss_csa_beacon+0x5fd/0x750 net/mac80211/ibss.c:500 Code: f8 48 c7 c2 60 77 7c 8b be fd 02 00 00 48 c7 c7 c0 77 7c 8b c6 05 a1 63 17 05 01 e8 a5 ea 7a 00 e9 df fb ff ff e8 e3 fa 37 f8 <0f> 0b 41 bd ea ff ff ff e9 ee fd ff ff e8 c1 f5 87 f8 e9 d3 fa ff RSP: 0018:ffffc90004a6f5d0 EFLAGS: 00010216 RAX: 0000000000001743 RBX: ffff888071504c80 RCX: ffffc90027aef000 RDX: 0000000000040000 RSI: ffffffff89490e5d RDI: 0000000000000000 RBP: 0000000000000002 R08: 0000000000000001 R09: ffffffff9136bb8f R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888071505af0 R14: ffff8880715d8de0 R15: ffff888071505590 FS: 0000000000000000(0000) GS:ffff88802c600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002f03f000 CR3: 0000000022e52000 CR4: 0000000000150ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_set_csa_beacon net/mac80211/cfg.c:3686 [inline] __ieee80211_channel_switch net/mac80211/cfg.c:3816 [inline] ieee80211_channel_switch+0x150f/0x26c0 net/mac80211/cfg.c:3856 ieee80211_ibss_process_chanswitch.constprop.0+0x5e8/0xcc0 net/mac80211/ibss.c:888 ieee80211_rx_mgmt_spectrum_mgmt net/mac80211/ibss.c:927 [inline] ieee80211_ibss_rx_queued_mgmt+0x26ab/0x3160 net/mac80211/ibss.c:1662 ieee80211_iface_process_skb net/mac80211/iface.c:1583 [inline] ieee80211_iface_work+0xa4d/0xd70 net/mac80211/iface.c:1637 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308