------------[ cut here ]------------ WARNING: CPU: 0 PID: 13678 at lib/nlattr.c:118 nla_get_range_unsigned+0x199/0x560 Modules linked in: CPU: 0 PID: 13678 Comm: syz-executor.5 Not tainted 6.2.0-next-20230227 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:nla_get_range_unsigned+0x199/0x560 Code: 00 00 a8 90 0f 85 41 02 00 00 a9 08 00 08 00 75 20 e8 4b d9 26 ff 0f 0b 5b 41 5c 41 5d 41 5e 5d e9 3c d9 26 ff e8 37 d9 26 ff <0f> 0b e9 50 ff ff ff e8 2b d9 26 ff 4d 8d 74 24 08 48 b8 00 00 00 RSP: 0018:ffff8880353c70d0 EFLAGS: 00010216 RAX: 000000000000151c RBX: ffffffff84ddec40 RCX: ffffc9000bc29000 RDX: 0000000000040000 RSI: ffffffff82249c79 RDI: 0000000000000003 RBP: ffff8880353c70f0 R08: 0000000000000003 R09: 0000000000000000 R10: 000000000000ffff R11: 0000000000000001 R12: ffff8880353c71a8 R13: ffffffff84ddec41 R14: 000000000000ffff R15: ffff88803c94b014 FS: 00007f33aec1e700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001380 CR3: 000000004552c000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: __nla_validate_parse+0x169f/0x2590 __nla_parse+0x42/0x60 nl80211_dump_wiphy_parse.constprop.0+0x154/0x5a0 nl80211_dump_wiphy+0x581/0x760 netlink_dump+0x585/0x1070 __netlink_dump_start+0x652/0x910 genl_family_rcv_msg_dumpit+0x2bf/0x310 genl_rcv_msg+0x419/0x7e0 netlink_rcv_skb+0x15d/0x450 genl_rcv+0x28/0x40 netlink_unicast+0x552/0x800 netlink_sendmsg+0x923/0xe30 sock_sendmsg+0x1b6/0x200 ____sys_sendmsg+0x74e/0x980 ___sys_sendmsg+0x110/0x1b0 __sys_sendmsg+0xf7/0x1d0 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f33b16a8b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f33aec1e188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f33b17bbf60 RCX: 00007f33b16a8b19 RDX: 0000000000000000 RSI: 0000000020001380 RDI: 0000000000000004 RBP: 00007f33b1702f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd4654d6bf R14: 00007f33aec1e300 R15: 0000000000022000 irq event stamp: 2111 hardirqs last enabled at (2123): [] __up_console_sem+0x78/0x80 hardirqs last disabled at (2132): [] __up_console_sem+0x5d/0x80 softirqs last enabled at (1248): [] __irq_exit_rcu+0xcc/0x110 softirqs last disabled at (1243): [] __irq_exit_rcu+0xcc/0x110 ---[ end trace 0000000000000000 ]--- netlink: 'syz-executor.5': attribute type 322 has an invalid length. netlink: 'syz-executor.5': attribute type 322 has an invalid length. syz_tun: entered promiscuous mode syz_tun: left promiscuous mode syz_tun: entered promiscuous mode syz_tun: left promiscuous mode