------------[ cut here ]------------ WARNING: CPU: 0 PID: 5351 at net/wireless/scan.c:1182 cfg80211_scan_done+0x2fd/0x4b0 net/wireless/scan.c:1181 Modules linked in: CPU: 0 UID: 0 PID: 5351 Comm: syz.0.0 Not tainted 6.16.0-rc5-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 RIP: 0010:cfg80211_scan_done+0x2fd/0x4b0 net/wireless/scan.c:1181 Code: 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d e9 98 d0 ae 00 cc e8 f2 13 fd f6 90 0f 0b 90 e9 c9 fd ff ff e8 e4 13 fd f6 90 <0f> 0b 90 e9 cc fe ff ff e8 d6 13 fd f6 c6 05 58 ce c8 04 01 90 48 RSP: 0018:ffffc9000d587680 EFLAGS: 00010287 RAX: ffffffff8ac3121c RBX: ffff88803569fc00 RCX: 0000000000100000 RDX: ffffc90020802000 RSI: 000000000000094c RDI: 000000000000094d RBP: ffffc9000d587738 R08: ffffffff8fa1e5f7 R09: 1ffffffff1f43cbe R10: dffffc0000000000 R11: fffffbfff1f43cbf R12: ffff8880330681b8 R13: 1ffff11006ad3f8c R14: dffffc0000000000 R15: ffff88803569fc60 FS: 00007f151778e6c0(0000) GS:ffff88808d21d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f15101ff000 CR3: 0000000043a14000 CR4: 0000000000352ef0 Call Trace: __ieee80211_scan_completed+0x550/0xb40 net/mac80211/scan.c:501 ieee80211_do_stop+0x202/0x1fa0 net/mac80211/iface.c:474 ieee80211_stop+0x1b1/0x220 net/mac80211/iface.c:814 __dev_close_many+0x364/0x6f0 net/core/dev.c:1756 __dev_close net/core/dev.c:1768 [inline] __dev_change_flags+0x2c7/0x6d0 net/core/dev.c:9456 netif_change_flags+0x88/0x1a0 net/core/dev.c:9521 dev_change_flags+0x130/0x260 net/core/dev_api.c:68 dev_ioctl+0x7b4/0x1150 net/core/dev_ioctl.c:823 sock_do_ioctl+0x22c/0x300 net/socket.c:1204 sock_ioctl+0x576/0x790 net/socket.c:1311 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xf9/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f151c38e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f151778e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f151c5b6320 RCX: 00007f151c38e929 RDX: 0000200000000080 RSI: 0000000000008914 RDI: 0000000000000009 RBP: 00007f151c410b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f151c5b6320 R15: 00007ffd596fcbd8