netlink: 'syz.0.0': attribute type 10 has an invalid length. ------------[ cut here ]------------ intreq != rdev->scan_req && intreq != rdev->int_scan_req WARNING: net/wireless/scan.c:1193 at cfg80211_scan_done+0x2d8/0x4a0 net/wireless/scan.c:1192, CPU#0: syz.0.0/5323 Modules linked in: CPU: 0 UID: 0 PID: 5323 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:cfg80211_scan_done+0x2d8/0x4a0 net/wireless/scan.c:1192 Code: 75 7b 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc e8 07 f3 c8 f6 90 0f 0b 90 e9 2a fe ff ff e8 f9 f2 c8 f6 90 <0f> 0b 90 e9 d0 fe ff ff e8 eb f2 c8 f6 48 8d 3d 54 ed 25 05 67 48 RSP: 0018:ffffc9000ddde600 EFLAGS: 00010283 RAX: ffffffff8afcbed7 RBX: ffff88803e14d218 RCX: 0000000000100000 RDX: ffffc9000ef1a000 RSI: 0000000000000cc3 RDI: 0000000000000cc4 RBP: ffffc9000ddde6d0 R08: ffffffff9011d7b7 R09: 1ffffffff2023af6 R10: dffffc0000000000 R11: fffffbfff2023af7 R12: ffff8880367e81b8 R13: dffffc0000000000 R14: ffff88803e14d200 R15: ffff8880367e8720 FS: 00007ff6283ad6c0(0000) GS:ffff88808ca51000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f13d2a582e0 CR3: 00000000448d2000 CR4: 0000000000352ef0 Call Trace: __ieee80211_scan_completed+0x563/0xb70 net/mac80211/scan.c:510 ieee80211_do_stop+0x233/0x2010 net/mac80211/iface.c:495 ieee80211_stop+0x1b1/0x240 net/mac80211/iface.c:832 __dev_close_many+0x368/0x6d0 net/core/dev.c:1775 __dev_close net/core/dev.c:1787 [inline] __dev_change_flags+0x2cb/0x690 net/core/dev.c:9762 netif_change_flags+0x88/0x1a0 net/core/dev.c:9827 do_setlink+0xf82/0x4590 net/core/rtnetlink.c:3158 rtnl_changelink net/core/rtnetlink.c:3776 [inline] __rtnl_newlink net/core/rtnetlink.c:3935 [inline] rtnl_newlink+0x15a9/0x1be0 net/core/rtnetlink.c:4072 rtnetlink_rcv_msg+0x7d5/0xbe0 net/core/rtnetlink.c:6958 netlink_rcv_skb+0x232/0x4b0 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x80f/0x9b0 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg net/socket.c:742 [inline] ____sys_sendmsg+0x972/0x9f0 net/socket.c:2592 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2646 __sys_sendmsg net/socket.c:2678 [inline] __do_sys_sendmsg net/socket.c:2683 [inline] __se_sys_sendmsg net/socket.c:2681 [inline] __x64_sys_sendmsg+0x1bd/0x2a0 net/socket.c:2681 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff62759c799 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff6283acfe8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007ff627815fa0 RCX: 00007ff62759c799 RDX: 0000000000000000 RSI: 0000200000000600 RDI: 0000000000000006 RBP: 00007ff627632c99 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff627816038 R14: 00007ff627815fa0 R15: 00007ffdf83f25d8