------------[ cut here ]------------ WARNING: CPU: 0 PID: 5706 at net/wireless/ibss.c:37 __cfg80211_ibss_joined+0x3c0/0x430 Modules linked in: CPU: 0 PID: 5706 Comm: kworker/u4:8 Not tainted 6.4.0-rc1-syzkaller-gac9a78681b92 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Workqueue: cfg80211 cfg80211_event_work RIP: 0010:__cfg80211_ibss_joined+0x3c0/0x430 net/wireless/ibss.c:37 Code: 00 00 00 48 3b 84 24 80 00 00 00 75 75 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 f9 18 7e f7 0f 0b eb c4 e8 f0 18 7e f7 <0f> 0b 4c 8b 6c 24 18 eb b6 e8 e2 18 7e f7 0f 0b e9 d0 fd ff ff e8 RSP: 0018:ffffc9000ade7ac0 EFLAGS: 00010293 RAX: ffffffff8a0caab0 RBX: 0000000000000006 RCX: ffff88806918d940 RDX: 0000000000000000 RSI: ffffffff8aebee20 RDI: ffffffff8b3daf80 RBP: ffffc9000ade7b98 R08: dffffc0000000000 R09: fffffbfff20a325a R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888021923678 R13: 1ffff920015bcf60 R14: dffffc0000000000 R15: ffff88806baf0c90 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f88d19831b8 CR3: 000000007570d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cfg80211_process_wdev_events+0x394/0x510 net/wireless/util.c:1063 cfg80211_process_rdev_events+0xa8/0x100 net/wireless/util.c:1091 cfg80211_event_work+0x2b/0x40 net/wireless/core.c:328 process_one_work+0x894/0x10c0 kernel/workqueue.c:2405 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2552 kthread+0x2b0/0x340 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308