BUG: memory leak unreferenced object 0xffff888116e13a60 (size 32): comm "syz-executor329", pid 7011, jiffies 4294944829 (age 33.340s) hex dump (first 32 bytes): 62 6f 6e 64 31 00 00 00 00 00 00 00 00 00 00 00 bond1........... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<00000000ec7f63f1>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] [<00000000ec7f63f1>] slab_post_alloc_hook mm/slab.h:586 [inline] [<00000000ec7f63f1>] slab_alloc mm/slab.c:3319 [inline] [<00000000ec7f63f1>] __do_kmalloc mm/slab.c:3653 [inline] [<00000000ec7f63f1>] __kmalloc_track_caller+0x165/0x300 mm/slab.c:3670 [<0000000069a55f96>] kstrdup+0x3a/0x70 mm/util.c:60 [<0000000052872be0>] kstrdup_const+0x48/0x60 mm/util.c:82 [<0000000094017c88>] kvasprintf_const+0x7e/0xe0 lib/kasprintf.c:48 [<00000000f515deda>] kobject_set_name_vargs+0x40/0xe0 lib/kobject.c:289 [<000000002c5d8a06>] dev_set_name+0x63/0x90 drivers/base/core.c:2006 [<0000000064589ede>] netdev_register_kobject+0x5a/0x1b0 net/core/net-sysfs.c:1727 [<00000000ddd318f9>] register_netdevice+0x397/0x610 net/core/dev.c:9086 [<0000000065c8f3be>] bond_newlink drivers/net/bonding/bond_netlink.c:458 [inline] [<0000000065c8f3be>] bond_newlink+0x41/0x80 drivers/net/bonding/bond_netlink.c:448 [<0000000080828a1d>] __rtnl_newlink+0x892/0xb30 net/core/rtnetlink.c:3197 [<000000004f8be379>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3255 [<0000000047fd0fad>] rtnetlink_rcv_msg+0x178/0x4b0 net/core/rtnetlink.c:5224 [<0000000069a32aad>] netlink_rcv_skb+0x61/0x170 net/netlink/af_netlink.c:2477 [<00000000043d9fec>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5242 [<00000000906d7c53>] netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] [<00000000906d7c53>] netlink_unicast+0x1ec/0x2d0 net/netlink/af_netlink.c:1328 [<0000000061c49935>] netlink_sendmsg+0x270/0x480 net/netlink/af_netlink.c:1917 BUG: memory leak unreferenced object 0xffff888115d3cac0 (size 32): comm "syz-executor329", pid 7052, jiffies 4294946084 (age 20.790s) hex dump (first 32 bytes): 62 6f 6e 64 32 00 00 00 03 00 00 00 00 00 00 00 bond2........... 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<00000000ec7f63f1>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] [<00000000ec7f63f1>] slab_post_alloc_hook mm/slab.h:586 [inline] [<00000000ec7f63f1>] slab_alloc mm/slab.c:3319 [inline] [<00000000ec7f63f1>] __do_kmalloc mm/slab.c:3653 [inline] [<00000000ec7f63f1>] __kmalloc_track_caller+0x165/0x300 mm/slab.c:3670 [<0000000069a55f96>] kstrdup+0x3a/0x70 mm/util.c:60 [<0000000052872be0>] kstrdup_const+0x48/0x60 mm/util.c:82 [<0000000094017c88>] kvasprintf_const+0x7e/0xe0 lib/kasprintf.c:48 [<00000000f515deda>] kobject_set_name_vargs+0x40/0xe0 lib/kobject.c:289 [<000000002c5d8a06>] dev_set_name+0x63/0x90 drivers/base/core.c:2006 [<0000000064589ede>] netdev_register_kobject+0x5a/0x1b0 net/core/net-sysfs.c:1727 [<00000000ddd318f9>] register_netdevice+0x397/0x610 net/core/dev.c:9086 [<0000000065c8f3be>] bond_newlink drivers/net/bonding/bond_netlink.c:458 [inline] [<0000000065c8f3be>] bond_newlink+0x41/0x80 drivers/net/bonding/bond_netlink.c:448 [<0000000080828a1d>] __rtnl_newlink+0x892/0xb30 net/core/rtnetlink.c:3197 [<000000004f8be379>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3255 [<0000000047fd0fad>] rtnetlink_rcv_msg+0x178/0x4b0 net/core/rtnetlink.c:5224 [<0000000069a32aad>] netlink_rcv_skb+0x61/0x170 net/netlink/af_netlink.c:2477 [<00000000043d9fec>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5242 [<00000000906d7c53>] netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] [<00000000906d7c53>] netlink_unicast+0x1ec/0x2d0 net/netlink/af_netlink.c:1328 [<0000000061c49935>] netlink_sendmsg+0x270/0x480 net/netlink/af_netlink.c:1917