netlink: 'syz.0.229': attribute type 10 has an invalid length. ------------[ cut here ]------------ WARNING: CPU: 3 PID: 6610 at net/mac80211/offchannel.c:404 ieee80211_start_next_roc+0x24c/0x2c0 net/mac80211/offchannel.c:404 Modules linked in: CPU: 3 UID: 0 PID: 6610 Comm: syz.0.229 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 RIP: 0010:ieee80211_start_next_roc+0x24c/0x2c0 net/mac80211/offchannel.c:404 Code: 7b 40 e8 27 7d db ff 48 83 c4 10 5b 5d e9 4c 83 b5 f6 e8 47 83 b5 f6 48 89 df e8 4f 5f ff ff e9 40 ff ff ff e8 35 83 b5 f6 90 <0f> 0b 90 e9 32 ff ff ff 48 c7 c7 54 a8 ab 90 e8 20 eb 1b f7 e9 db RSP: 0018:ffffc90005816bc0 EFLAGS: 00010287 RAX: 0000000000001beb RBX: ffff888055418e40 RCX: ffffc90007792000 RDX: 0000000000080000 RSI: ffffffff8b061a4b RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000041 R13: ffff88805541a8c0 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f6f251a16c0(0000) GS:ffff8880d69b2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3eae61 CR3: 000000005b2d2000 CR4: 0000000000352ef0 Call Trace: __ieee80211_scan_completed+0x4fb/0xe40 net/mac80211/scan.c:528 ieee80211_scan_cancel+0x1cf/0x980 net/mac80211/scan.c:1318 ieee80211_do_stop+0x1b46/0x2520 net/mac80211/iface.c:474 ieee80211_stop+0x169/0x320 net/mac80211/iface.c:814 __dev_close_many+0x298/0x760 net/core/dev.c:1755 __dev_close net/core/dev.c:1767 [inline] __dev_change_flags+0x4d8/0x720 net/core/dev.c:9547 netif_change_flags+0x8d/0x160 net/core/dev.c:9612 do_setlink.constprop.0+0xb53/0x4380 net/core/rtnetlink.c:3143 rtnl_changelink net/core/rtnetlink.c:3761 [inline] __rtnl_newlink net/core/rtnetlink.c:3920 [inline] rtnl_newlink+0x1446/0x2000 net/core/rtnetlink.c:4057 rtnetlink_rcv_msg+0x95b/0xe90 net/core/rtnetlink.c:6946 netlink_rcv_skb+0x155/0x420 net/netlink/af_netlink.c:2552 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x5aa/0x870 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:714 [inline] __sock_sendmsg net/socket.c:729 [inline] ____sys_sendmsg+0xa98/0xc70 net/socket.c:2614 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2668 __sys_sendmsg+0x16d/0x220 net/socket.c:2700 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4e0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6f2438eec9 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:00007f6f251a1038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f6f245e5fa0 RCX: 00007f6f2438eec9 RDX: 0000000000000000 RSI: 00002000000003c0 RDI: 0000000000000004 RBP: 00007f6f24411f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f6f245e6038 R14: 00007f6f245e5fa0 R15: 00007ffd1ff76dd8