------------[ cut here ]------------ WARNING: CPU: 1 PID: 5760 at net/wireless/ibss.c:37 __cfg80211_ibss_joined+0x3c4/0x430 Modules linked in: CPU: 1 PID: 5760 Comm: kworker/u4:10 Not tainted 6.4.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/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 65 86 76 f7 0f 0b eb c4 e8 5c 86 76 f7 <0f> 0b 4c 8b 6c 24 18 eb b6 e8 4e 86 76 f7 0f 0b e9 d0 fd ff ff e8 RSP: 0018:ffffc90006f4fac0 EFLAGS: 00010293 RAX: ffffffff8a139874 RBX: 0000000000000006 RCX: ffff888023abbb80 RDX: 0000000000000000 RSI: ffffffff8aea6900 RDI: ffffffff8b389d00 RBP: ffffc90006f4fb98 R08: dffffc0000000000 R09: fffffbfff2061c3a R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888075f5b678 R13: 1ffff92000de9f60 R14: dffffc0000000000 R15: ffff88806a924c10 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00120f000 CR3: 000000000cd30000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cfg80211_process_wdev_events+0x3cf/0x530 net/wireless/util.c:1063 cfg80211_process_rdev_events+0xac/0x110 net/wireless/util.c:1091 cfg80211_event_work+0x2f/0x40 net/wireless/core.c:328 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308