------------[ cut here ]------------ WARNING: CPU: 0 PID: 8 at net/mac80211/mlme.c:1012 ieee80211_determine_chan_mode net/mac80211/mlme.c:1012 [inline] WARNING: CPU: 0 PID: 8 at net/mac80211/mlme.c:1012 ieee80211_prep_channel+0x389b/0x5120 net/mac80211/mlme.c:5666 Modules linked in: CPU: 0 UID: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.14.0-rc1-syzkaller-00235-g9946eaf552b1 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: events cfg80211_conn_work RIP: 0010:ieee80211_determine_chan_mode net/mac80211/mlme.c:1012 [inline] RIP: 0010:ieee80211_prep_channel+0x389b/0x5120 net/mac80211/mlme.c:5666 Code: c6 05 64 2a 86 04 01 48 c7 c7 57 9d 29 8d be 78 03 00 00 48 c7 c2 40 9e 29 8d e8 00 df 1b f6 e9 7e ca ff ff e8 06 1e 40 f6 90 <0f> 0b 90 48 8b 7c 24 30 e8 a8 3e 9b f6 48 c7 44 24 30 ea ff ff ff RSP: 0018:ffffc900001a6c80 EFLAGS: 00010293 RAX: ffffffff8b7f419a RBX: 0000000000000000 RCX: ffff88801c6fa440 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900001a6fd0 R08: ffffffff8b7f16b9 R09: ffffffff8b51d1c9 R10: 000000000000000e R11: ffff88801c6fa440 R12: dffffc0000000000 R13: ffff8880437d6758 R14: ffffc900001a6e90 R15: ffffc900001a6ed0 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000001f76a000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_prep_connection+0xda1/0x1310 net/mac80211/mlme.c:8538 ieee80211_mgd_auth+0xcec/0x1480 net/mac80211/mlme.c:8828 rdev_auth net/wireless/rdev-ops.h:486 [inline] cfg80211_mlme_auth+0x59f/0x970 net/wireless/mlme.c:291 cfg80211_conn_do_work+0x601/0xeb0 net/wireless/sme.c:183 cfg80211_conn_work+0x27c/0x4e0 net/wireless/sme.c:273 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3317 worker_thread+0x870/0xd30 kernel/workqueue.c:3398 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244