------------[ cut here ]------------ WARNING: CPU: 1 PID: 7639 at lib/nlattr.c:119 nla_get_range_unsigned+0xc0/0x3d4 lib/nlattr.c:118 Modules linked in: CPU: 1 PID: 7639 Comm: syz-executor.0 Not tainted 6.3.0-rc1-syzkaller-gfe15c26ee26e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : nla_get_range_unsigned+0xc0/0x3d4 lib/nlattr.c:118 lr : nla_get_range_unsigned+0x2ec/0x3d4 lib/nlattr.c:118 sp : ffff800022ac6f50 x29: ffff800022ac6f50 x28: ffff800014730540 x27: ffff700004558e10 x26: 0000000000000142 x25: 1ffff000028e60a8 x24: dfff800000000000 x23: 1fffe0001a457865 x22: 00000000ffffffff x21: ffff800014730541 x20: ffff800014730540 x19: ffff800022ac7100 x18: 0000000000000000 x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000002 x13: 0000000000000013 x12: 0000000000040000 x11: 00000000000010fe x10: ffff80001f929000 x9 : ffff80000ada29cc x8 : 00000000000010ff x7 : 0000000000000000 x6 : 000000000000003f x5 : 0000000000000040 x4 : 0000000000000000 x3 : 0000000000000010 x2 : 0000000000000000 x1 : 000000000000ffff x0 : 0000000000000000 Call trace: nla_get_range_unsigned+0xc0/0x3d4 lib/nlattr.c:118 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+0x1448/0x24cc lib/nlattr.c:603 __nla_parse+0x60/0x7c lib/nlattr.c:700 __nlmsg_parse include/net/netlink.h:749 [inline] genl_family_rcv_msg_attrs_parse+0x184/0x240 net/netlink/genetlink.c:785 genl_family_rcv_msg_doit net/netlink/genetlink.c:946 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1048 [inline] genl_rcv_msg+0x65c/0xc1c net/netlink/genetlink.c:1065 netlink_rcv_skb+0x214/0x3c4 net/netlink/af_netlink.c:2574 genl_rcv+0x38/0x50 net/netlink/genetlink.c:1076 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0x660/0x8d4 net/netlink/af_netlink.c:1365 netlink_sendmsg+0x834/0xb18 net/netlink/af_netlink.c:1942 sock_sendmsg_nosec net/socket.c:722 [inline] sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x568/0x81c net/socket.c:2504 ___sys_sendmsg net/socket.c:2558 [inline] __sys_sendmsg+0x26c/0x33c net/socket.c:2587 __do_sys_sendmsg net/socket.c:2596 [inline] __se_sys_sendmsg net/socket.c:2594 [inline] __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2594 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 672 hardirqs last enabled at (671): [] __local_bh_enable_ip+0x24c/0x4ac kernel/softirq.c:401 hardirqs last disabled at (672): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (670): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (650): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---