------------[ cut here ]------------ WARNING: CPU: 0 PID: 12 at net/wireless/ibss.c:37 __cfg80211_ibss_joined+0x3c4/0x430 Modules linked in: CPU: 0 PID: 12 Comm: kworker/u4:1 Not tainted 6.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: cfg80211 cfg80211_event_work RIP: 0010:__cfg80211_ibss_joined+0x3c4/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 d5 1f 5d f7 0f 0b eb c4 e8 cc 1f 5d f7 <0f> 0b 4c 8b 6c 24 18 eb b6 e8 be 1f 5d f7 0f 0b e9 d0 fd ff ff e8 RSP: 0018:ffffc90000117ac0 EFLAGS: 00010293 RAX: ffffffff8a3083c4 RBX: 0000000000000006 RCX: ffff888016a45940 RDX: 0000000000000000 RSI: ffffffff8b599400 RDI: ffffffff8155b448 RBP: ffffc90000117b98 R08: ffffffff8e9a662f R09: 1ffffffff1d34cc5 R10: dffffc0000000000 R11: fffffbfff1d34cc6 R12: ffff8880202436d8 R13: 1ffff92000022f60 R14: dffffc0000000000 R15: ffff8880730b8c90 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000100 CR3: 0000000023f77000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cfg80211_process_wdev_events+0x3cf/0x530 net/wireless/util.c:1065 cfg80211_process_rdev_events+0xac/0x110 net/wireless/util.c:1093 cfg80211_event_work+0x2f/0x40 net/wireless/core.c:333 process_one_work+0x781/0x1130 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0xabf/0x1060 kernel/workqueue.c:2784 kthread+0x2b8/0x350 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304