------------[ cut here ]------------ WARNING: CPU: 1 PID: 12841 at lib/nlattr.c:118 nla_get_range_unsigned+0x199/0x560 lib/nlattr.c:118 Modules linked in: CPU: 1 PID: 12841 Comm: syz-executor.4 Not tainted 6.2.0-next-20230306-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:nla_get_range_unsigned+0x199/0x560 lib/nlattr.c:118 Code: 00 00 a8 90 0f 85 41 02 00 00 a9 08 00 08 00 75 20 e8 3b 1e 3b fd 0f 0b 5b 41 5c 41 5d 41 5e 5d e9 2c 1e 3b fd e8 27 1e 3b fd <0f> 0b e9 50 ff ff ff e8 1b 1e 3b fd 4d 8d 74 24 08 48 b8 00 00 00 RSP: 0018:ffffc900093473b0 EFLAGS: 00010212 RAX: 000000000000040c RBX: ffffffff8b7cd760 RCX: ffffc90006253000 RDX: 0000000000040000 RSI: ffffffff8449a339 RDI: 0000000000000003 RBP: ffffc900093473d0 R08: 0000000000000003 R09: 0000000000000000 R10: 000000000000ffff R11: 0000000000094001 R12: ffffc90009347488 R13: ffffffff8b7cd761 R14: 000000000000ffff R15: ffff8880282ddb28 FS: 00007fcdd2a0e700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcdd2a0e718 CR3: 000000007e6d7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nla_validate_range_unsigned lib/nlattr.c:202 [inline] nla_validate_int_range lib/nlattr.c:327 [inline] validate_nla lib/nlattr.c:547 [inline] __nla_validate_parse+0x16be/0x25e0 lib/nlattr.c:603 __nla_parse+0x41/0x50 lib/nlattr.c:700 __nlmsg_parse include/net/netlink.h:749 [inline] genl_family_rcv_msg_attrs_parse.constprop.0+0x1ab/0x290 net/netlink/genetlink.c:785 genl_family_rcv_msg_doit.isra.0+0x9f/0x2d0 net/netlink/genetlink.c:946 genl_family_rcv_msg net/netlink/genetlink.c:1048 [inline] genl_rcv_msg+0x4ff/0x7e0 net/netlink/genetlink.c:1065 netlink_rcv_skb+0x165/0x440 net/netlink/af_netlink.c:2574 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1076 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0x547/0x7f0 net/netlink/af_netlink.c:1365 netlink_sendmsg+0x925/0xe30 net/netlink/af_netlink.c:1942 sock_sendmsg_nosec net/socket.c:722 [inline] sock_sendmsg+0xde/0x190 net/socket.c:745 ____sys_sendmsg+0x71c/0x900 net/socket.c:2504 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2558 __sys_sendmsg+0xf7/0x1c0 net/socket.c:2587 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fcdd1c8c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcdd2a0e168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fcdd1dac050 RCX: 00007fcdd1c8c0f9 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003 RBP: 00007fcdd1ce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe94accd3f R14: 00007fcdd2a0e300 R15: 0000000000022000