------------[ cut here ]------------ WARNING: CPU: 0 PID: 5309 at net/mac80211/mlme.c:1124 ieee80211_determine_chan_mode net/mac80211/mlme.c:1124 [inline] WARNING: CPU: 0 PID: 5309 at net/mac80211/mlme.c:1124 ieee80211_prep_channel+0x490c/0x60f0 net/mac80211/mlme.c:5946 Modules linked in: CPU: 0 UID: 0 PID: 5309 Comm: kworker/0:5 Not tainted 6.15.0-rc4-syzkaller #0 PREEMPT(full) 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:1124 [inline] RIP: 0010:ieee80211_prep_channel+0x490c/0x60f0 net/mac80211/mlme.c:5946 Code: c6 05 76 78 83 04 01 48 c7 c7 b7 ac 8c 8c be e8 03 00 00 48 c7 c2 20 ae 8c 8c e8 6f f3 b8 f6 e9 17 ba ff ff e8 35 7b da f6 90 <0f> 0b 90 48 8b 7c 24 48 e8 47 ad 31 f7 48 c7 44 24 48 ea ff ff ff RSP: 0018:ffffc9000d556c00 EFLAGS: 00010293 RAX: ffffffff8ae5439b RBX: 0000000000000000 RCX: ffff88801f238000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000d556fa8 R08: ffff88801f238000 R09: 000000000000000e R10: 000000000000000d R11: 0000000000000000 R12: ffffc9000d556eb0 R13: dffffc0000000000 R14: 1ffff11009960ceb R15: ffffc9000d556eb0 FS: 0000000000000000(0000) GS:ffff88808d6cc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007feea4ff3fb8 CR3: 0000000050eaf000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_prep_connection+0xeb9/0x1600 net/mac80211/mlme.c:8825 ieee80211_mgd_auth+0xee3/0x1770 net/mac80211/mlme.c:9115 rdev_auth net/wireless/rdev-ops.h:486 [inline] cfg80211_mlme_auth+0x62f/0x9c0 net/wireless/mlme.c:291 cfg80211_conn_do_work+0x501/0xd10 net/wireless/sme.c:183 cfg80211_conn_work+0x2c0/0x440 net/wireless/sme.c:273 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xadb/0x17a0 kernel/workqueue.c:3319 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245