BUG: memory leak unreferenced object 0xffff888122804080 (size 32): comm "syz-executor377", pid 7151, jiffies 4294947650 (age 19.930s) hex dump (first 32 bytes): 62 6f 6e 64 37 00 00 00 03 00 00 00 00 00 00 00 bond7........... 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<00000000c2d20262>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] [<00000000c2d20262>] slab_post_alloc_hook mm/slab.h:586 [inline] [<00000000c2d20262>] slab_alloc mm/slab.c:3319 [inline] [<00000000c2d20262>] __do_kmalloc mm/slab.c:3653 [inline] [<00000000c2d20262>] __kmalloc_track_caller+0x165/0x300 mm/slab.c:3670 [<000000002771861c>] kstrdup+0x3a/0x70 mm/util.c:60 [<00000000d8625e19>] kstrdup_const+0x48/0x60 mm/util.c:82 [<000000009b9bb3c1>] kvasprintf_const+0x7e/0xe0 lib/kasprintf.c:48 [<00000000cf02c81a>] kobject_set_name_vargs+0x40/0xe0 lib/kobject.c:289 [<0000000034c47ebf>] dev_set_name+0x63/0x90 drivers/base/core.c:2006 [<00000000fab1fe08>] netdev_register_kobject+0x5a/0x1b0 net/core/net-sysfs.c:1727 [<0000000002eae48c>] register_netdevice+0x397/0x610 net/core/dev.c:8781 [<000000004719110b>] bond_newlink drivers/net/bonding/bond_netlink.c:458 [inline] [<000000004719110b>] bond_newlink+0x41/0x80 drivers/net/bonding/bond_netlink.c:448 [<00000000cdc45846>] __rtnl_newlink+0x892/0xb30 net/core/rtnetlink.c:3196 [<000000008b7a5075>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3254 [<00000000b651eef4>] rtnetlink_rcv_msg+0x178/0x4b0 net/core/rtnetlink.c:5223 [<000000009f4ab494>] netlink_rcv_skb+0x61/0x170 net/netlink/af_netlink.c:2477 [<0000000066ebc8eb>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5241 [<0000000035adbb3a>] netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] [<0000000035adbb3a>] netlink_unicast+0x1ec/0x2d0 net/netlink/af_netlink.c:1328 [<0000000037647584>] netlink_sendmsg+0x270/0x480 net/netlink/af_netlink.c:1917