BUG: memory leak unreferenced object 0xffff88810fc7d200 (size 32): comm "syz-executor151", pid 7109, jiffies 4294957357 (age 7.890s) hex dump (first 32 bytes): 74 61 70 30 00 00 00 00 00 00 00 00 00 00 00 00 tap0............ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<00000000c8e0a707>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] [<00000000c8e0a707>] slab_post_alloc_hook mm/slab.h:586 [inline] [<00000000c8e0a707>] slab_alloc mm/slab.c:3320 [inline] [<00000000c8e0a707>] __do_kmalloc mm/slab.c:3654 [inline] [<00000000c8e0a707>] __kmalloc_track_caller+0x165/0x300 mm/slab.c:3671 [<000000004cd748ae>] kstrdup+0x3a/0x70 mm/util.c:60 [<00000000ab48e6cb>] kstrdup_const+0x48/0x60 mm/util.c:82 [<00000000c1db4231>] kvasprintf_const+0x7e/0xe0 lib/kasprintf.c:48 [<00000000c800cc35>] kobject_set_name_vargs+0x40/0xe0 lib/kobject.c:289 [<00000000432bf449>] dev_set_name+0x63/0x90 drivers/base/core.c:2265 [<00000000d07b35bb>] netdev_register_kobject+0x5a/0x1b0 net/core/net-sysfs.c:1736 [<00000000e01ee22d>] register_netdevice+0x1ce/0x650 net/core/dev.c:9316 [<0000000048fbe691>] tun_set_iff drivers/net/tun.c:2841 [inline] [<0000000048fbe691>] __tun_chr_ioctl+0x124b/0x17b0 drivers/net/tun.c:3082 [<00000000061804fa>] tun_chr_ioctl+0x2b/0x40 drivers/net/tun.c:3362 [<0000000088941892>] vfs_ioctl fs/ioctl.c:47 [inline] [<0000000088941892>] file_ioctl fs/ioctl.c:545 [inline] [<0000000088941892>] do_vfs_ioctl+0x551/0x890 fs/ioctl.c:732 [<000000001d42d017>] ksys_ioctl+0x86/0xb0 fs/ioctl.c:749 [<00000000ac72f2bf>] __do_sys_ioctl fs/ioctl.c:756 [inline] [<00000000ac72f2bf>] __se_sys_ioctl fs/ioctl.c:754 [inline] [<00000000ac72f2bf>] __x64_sys_ioctl+0x1e/0x30 fs/ioctl.c:754 [<0000000037247b1d>] do_syscall_64+0x73/0x220 arch/x86/entry/common.c:294 [<00000000181e8464>] entry_SYSCALL_64_after_hwframe+0x44/0xa9