BUG: memory leak unreferenced object 0xffff88812270c520 (size 32): comm "syz-executor270", pid 7055, jiffies 4294948523 (age 8.130s) hex dump (first 32 bytes): 68 73 72 32 00 74 61 73 6b 2f 37 30 35 35 00 00 hsr2.task/7055.. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<00000000b42e7710>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] [<00000000b42e7710>] slab_post_alloc_hook mm/slab.h:586 [inline] [<00000000b42e7710>] slab_alloc mm/slab.c:3320 [inline] [<00000000b42e7710>] __do_kmalloc mm/slab.c:3654 [inline] [<00000000b42e7710>] __kmalloc_track_caller+0x165/0x300 mm/slab.c:3671 [<000000008569963f>] kstrdup+0x3a/0x70 mm/util.c:60 [<00000000204bbed3>] kstrdup_const+0x48/0x60 mm/util.c:82 [<00000000ff52391d>] kvasprintf_const+0x7e/0xe0 lib/kasprintf.c:48 [<00000000a20bbc65>] kobject_set_name_vargs+0x40/0xe0 lib/kobject.c:289 [<00000000cfc008cf>] dev_set_name+0x63/0x90 drivers/base/core.c:2265 [<00000000ccb59687>] netdev_register_kobject+0x5a/0x1b0 net/core/net-sysfs.c:1736 [<00000000e6b9a240>] register_netdevice+0x1ce/0x650 net/core/dev.c:9316 [<0000000096892948>] hsr_dev_finalize+0x18a/0x237 net/hsr/hsr_device.c:485 [<00000000c8518644>] hsr_newlink+0xf3/0x140 net/hsr/hsr_netlink.c:69 [<000000007cf93c00>] __rtnl_newlink+0x89a/0xb80 net/core/rtnetlink.c:3305 [<0000000042958141>] rtnl_newlink+0x4e/0x80 net/core/rtnetlink.c:3363 [<000000000dee18e6>] rtnetlink_rcv_msg+0x178/0x4b0 net/core/rtnetlink.c:5424 [<000000009454c64e>] netlink_rcv_skb+0x61/0x170 net/netlink/af_netlink.c:2477 [<0000000037bee182>] rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5442 [<00000000a11ea5f9>] netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] [<00000000a11ea5f9>] netlink_unicast+0x223/0x310 net/netlink/af_netlink.c:1328