------------[ cut here ]------------ WARNING: CPU: 0 PID: 1260 at lib/nlattr.c:118 nla_get_range_unsigned+0x199/0x560 lib/nlattr.c:118 Modules linked in: CPU: 0 PID: 1260 Comm: syz-executor.5 Not tainted 6.2.0-syzkaller-12970-ged69e0667db5 #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 6b 64 3b fd 0f 0b 5b 41 5c 41 5d 41 5e 5d e9 5c 64 3b fd e8 57 64 3b fd <0f> 0b e9 50 ff ff ff e8 4b 64 3b fd 4d 8d 74 24 08 48 b8 00 00 00 RSP: 0018:ffffc90015e273b0 EFLAGS: 00010216 RAX: 00000000000003f4 RBX: ffffffff8b7ca560 RCX: ffffc9000c182000 RDX: 0000000000040000 RSI: ffffffff84499db9 RDI: 0000000000000003 RBP: ffffc90015e273d0 R08: 0000000000000003 R09: 0000000000000000 R10: 000000000000ffff R11: 0000000000094001 R12: ffffc90015e27488 R13: ffffffff8b7ca561 R14: 000000000000ffff R15: ffff8880227ba41c FS: 00007fd5c498f700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd5c498f718 CR3: 000000005cea0000 CR4: 00000000003506f0 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:0x7fd5c3c8c0f9 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:00007fd5c498f168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fd5c3dac050 RCX: 00007fd5c3c8c0f9 RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000004 RBP: 00007fd5c3ce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd388609ff R14: 00007fd5c498f300 R15: 0000000000022000