BUG: memory leak unreferenced object 0xffff88810df7a380 (size 32): comm "syz-executor765", pid 7372, jiffies 4294944563 (age 19.060s) 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: [<000000007cb7bd90>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] [<000000007cb7bd90>] slab_post_alloc_hook mm/slab.h:586 [inline] [<000000007cb7bd90>] slab_alloc mm/slab.c:3320 [inline] [<000000007cb7bd90>] __do_kmalloc mm/slab.c:3654 [inline] [<000000007cb7bd90>] __kmalloc_track_caller+0x165/0x300 mm/slab.c:3671 [<00000000af2a9d98>] kstrdup+0x3a/0x70 mm/util.c:60 [<000000003e23e481>] kstrdup_const+0x48/0x60 mm/util.c:82 [<00000000fc74365a>] kvasprintf_const+0x7e/0xe0 lib/kasprintf.c:48 [<00000000e4521d6b>] kobject_set_name_vargs+0x40/0xe0 lib/kobject.c:289 [<00000000b4f8ddab>] dev_set_name+0x63/0x90 drivers/base/core.c:2265 [<00000000e3d84494>] netdev_register_kobject+0x5a/0x1b0 net/core/net-sysfs.c:1736 [<00000000cd01fe3d>] register_netdevice+0x1ce/0x650 net/core/dev.c:9304 [<000000002e333573>] bond_newlink drivers/net/bonding/bond_netlink.c:458 [inline] [<000000002e333573>] bond_newlink+0x41/0x80 drivers/net/bonding/bond_netlink.c:448 [<000000003b4042ca>] __rtnl_newlink+0x89a/0xb80 net/core/rtnetlink.c:3305 [<00000000bd44508b>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3363 [<00000000b392515b>] rtnetlink_rcv_msg+0x178/0x4b0 net/core/rtnetlink.c:5424 [<0000000099050a96>] netlink_rcv_skb+0x61/0x170 net/netlink/af_netlink.c:2477 [<000000001fdf241e>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5442 [<000000005e604184>] netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] [<000000005e604184>] netlink_unicast+0x223/0x310 net/netlink/af_netlink.c:1328 [<000000007ff53ffa>] netlink_sendmsg+0x2c0/0x570 net/netlink/af_netlink.c:1917 BUG: memory leak unreferenced object 0xffff888121a75980 (size 32): comm "syz-executor765", pid 7374, jiffies 4294945126 (age 13.430s) hex dump (first 32 bytes): 62 6f 6e 64 31 00 00 00 00 00 00 00 20 00 00 00 bond1....... ... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<000000007cb7bd90>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] [<000000007cb7bd90>] slab_post_alloc_hook mm/slab.h:586 [inline] [<000000007cb7bd90>] slab_alloc mm/slab.c:3320 [inline] [<000000007cb7bd90>] __do_kmalloc mm/slab.c:3654 [inline] [<000000007cb7bd90>] __kmalloc_track_caller+0x165/0x300 mm/slab.c:3671 [<00000000af2a9d98>] kstrdup+0x3a/0x70 mm/util.c:60 [<000000003e23e481>] kstrdup_const+0x48/0x60 mm/util.c:82 [<00000000fc74365a>] kvasprintf_const+0x7e/0xe0 lib/kasprintf.c:48 [<00000000e4521d6b>] kobject_set_name_vargs+0x40/0xe0 lib/kobject.c:289 [<00000000b4f8ddab>] dev_set_name+0x63/0x90 drivers/base/core.c:2265 [<00000000e3d84494>] netdev_register_kobject+0x5a/0x1b0 net/core/net-sysfs.c:1736 [<00000000cd01fe3d>] register_netdevice+0x1ce/0x650 net/core/dev.c:9304 [<000000002e333573>] bond_newlink drivers/net/bonding/bond_netlink.c:458 [inline] [<000000002e333573>] bond_newlink+0x41/0x80 drivers/net/bonding/bond_netlink.c:448 [<000000003b4042ca>] __rtnl_newlink+0x89a/0xb80 net/core/rtnetlink.c:3305 [<00000000bd44508b>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3363 [<00000000b392515b>] rtnetlink_rcv_msg+0x178/0x4b0 net/core/rtnetlink.c:5424 [<0000000099050a96>] netlink_rcv_skb+0x61/0x170 net/netlink/af_netlink.c:2477 [<000000001fdf241e>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5442 [<000000005e604184>] netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] [<000000005e604184>] netlink_unicast+0x223/0x310 net/netlink/af_netlink.c:1328 [<000000007ff53ffa>] netlink_sendmsg+0x2c0/0x570 net/netlink/af_netlink.c:1917