IPVS: ftp: loaded support on port[0] = 21 ================================================================== BUG: KASAN: global-out-of-bounds in validate_nla+0x12c4/0x1580 lib/nlattr.c:169 Read of size 1 at addr ffffffff88f419c0 by task syz-executor2/5281 CPU: 1 PID: 5281 Comm: syz-executor2 Not tainted 5.0.0-rc3+ #24 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1db/0x2d0 lib/dump_stack.c:113 print_address_description.cold+0x5/0x20d mm/kasan/report.c:187 kasan_report.cold+0x1b/0x40 mm/kasan/report.c:317 __asan_report_load1_noabort+0x14/0x20 mm/kasan/generic_report.c:132 validate_nla+0x12c4/0x1580 lib/nlattr.c:169 nla_validate+0xc1/0x130 lib/nlattr.c:340 validate_nla+0x711/0x1580 lib/nlattr.c:247 __nla_parse+0x206/0x340 lib/nlattr.c:415 nla_parse+0x45/0x60 lib/nlattr.c:439 nlmsg_parse include/net/netlink.h:527 [inline] genl_family_rcv_msg+0x56f/0x11a0 net/netlink/genetlink.c:579 genl_rcv_msg+0xca/0x16c net/netlink/genetlink.c:626 netlink_rcv_skb+0x17d/0x410 net/netlink/af_netlink.c:2485 genl_rcv+0x29/0x40 net/netlink/genetlink.c:637 netlink_unicast_kernel net/netlink/af_netlink.c:1310 [inline] netlink_unicast+0x574/0x770 net/netlink/af_netlink.c:1336 netlink_sendmsg+0xa05/0xf90 net/netlink/af_netlink.c:1925 kobject: 'gre0' (0000000036778f71): kobject_add_internal: parent: 'net', set: 'devices' sock_sendmsg_nosec net/socket.c:621 [inline] sock_sendmsg+0xdd/0x130 net/socket.c:631 ___sys_sendmsg+0x7ec/0x910 net/socket.c:2116 kobject: 'gre0' (0000000036778f71): kobject_uevent_env kobject: 'gre0' (0000000036778f71): fill_kobj_path: path = '/devices/virtual/net/gre0' kobject: 'queues' (0000000046abb2ff): kobject_add_internal: parent: 'gre0', set: '' kobject: 'queues' (0000000046abb2ff): kobject_uevent_env __sys_sendmsg+0x112/0x270 net/socket.c:2154 __do_sys_sendmsg net/socket.c:2163 [inline] __se_sys_sendmsg net/socket.c:2161 [inline] __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2161 kobject: 'queues' (0000000046abb2ff): kobject_uevent_env: filter function caused the event to drop! do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458089 kobject: 'rx-0' (000000001f3fa387): kobject_add_internal: parent: 'queues', set: 'queues' Code: 6d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f1809525c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458089 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000003 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f18095266d4 R13: 00000000004c55f4 R14: 00000000004d9328 R15: 00000000ffffffff The buggy address belongs to the variable: nl80211_pmsr_attr_policy+0x60/0x80 kobject: 'rx-0' (000000001f3fa387): kobject_uevent_env Memory state around the buggy address: ffffffff88f41880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff88f41900: 00 00 00 00 00 00 00 00 fa fa fa fa 00 00 00 00 >ffffffff88f41980: 00 00 00 00 00 00 00 00 fa fa fa fa 00 00 00 00 ^ ffffffff88f41a00: 00 00 00 00 00 00 fa fa fa fa fa fa 00 00 00 00 ffffffff88f41a80: 00 00 fa fa fa fa fa fa 00 00 00 00 fa fa fa fa ==================================================================