------------[ cut here ]------------ WARNING: CPU: 0 PID: 1042 at net/wireless/scan.c:1194 cfg80211_scan_done+0x2f3/0x480 net/wireless/scan.c:1193 Modules linked in: CPU: 0 UID: 0 PID: 1042 Comm: kworker/u4:7 Not tainted 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_unbound cfg80211_wiphy_work RIP: 0010:cfg80211_scan_done+0x2f3/0x480 net/wireless/scan.c:1193 Code: 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d e9 02 51 b0 00 cc e8 0c 63 f1 f6 90 0f 0b 90 e9 07 fe ff ff e8 fe 62 f1 f6 90 <0f> 0b 90 e9 d7 fe ff ff e8 f0 62 f1 f6 c6 05 c1 57 bf 04 01 90 48 RSP: 0018:ffffc9000259f8e0 EFLAGS: 00010293 RAX: ffffffff8ace5af2 RBX: ffff88803fba9218 RCX: ffff8880334cc880 RDX: 0000000000000000 RSI: ffffffff8be349e0 RDI: ffffffff8be349a0 RBP: ffffc9000259f9a8 R08: ffffffff8fa3b637 R09: 1ffffffff1f476c6 R10: dffffc0000000000 R11: fffffbfff1f476c7 R12: ffff88803fba9200 R13: ffff88803fba9278 R14: dffffc0000000000 R15: ffff888036fe8700 FS: 0000000000000000(0000) GS:ffff88808d20d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdcbee1f00 CR3: 000000004382c000 CR4: 0000000000352ef0 Call Trace: __ieee80211_scan_completed+0x550/0xb40 net/mac80211/scan.c:501 cfg80211_wiphy_work+0x2bb/0x470 net/wireless/core.c:435 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3319 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400 kthread+0x70e/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245