BUG: memory leak unreferenced object 0xffff88811adc1be0 (size 32): comm "syz-executor500", pid 7116, jiffies 4294951764 (age 13.900s) hex dump (first 32 bytes): 74 78 2d 31 00 6e 65 74 2f 74 75 6e 00 00 00 00 tx-1.net/tun.... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<000000000ab3d6b7>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] [<000000000ab3d6b7>] slab_post_alloc_hook mm/slab.h:586 [inline] [<000000000ab3d6b7>] slab_alloc mm/slab.c:3319 [inline] [<000000000ab3d6b7>] __do_kmalloc mm/slab.c:3653 [inline] [<000000000ab3d6b7>] __kmalloc_track_caller+0x165/0x300 mm/slab.c:3670 [<0000000018f7adae>] kvasprintf+0x6d/0xe0 lib/kasprintf.c:25 [<00000000d26285a4>] kvasprintf_const+0x96/0xe0 lib/kasprintf.c:49 [<000000008a09b11d>] kobject_set_name_vargs+0x40/0xe0 lib/kobject.c:289 [<00000000cd0584a9>] kobject_add_varg lib/kobject.c:384 [inline] [<00000000cd0584a9>] kobject_init_and_add+0x6d/0xc0 lib/kobject.c:473 [<00000000351f5ddf>] netdev_queue_add_kobject net/core/net-sysfs.c:1461 [inline] [<00000000351f5ddf>] netdev_queue_update_kobjects+0x76/0x190 net/core/net-sysfs.c:1490 [<00000000461ca3e1>] netif_set_real_num_tx_queues+0xa3/0x220 net/core/dev.c:2589 [<0000000018fe3c36>] tun_set_real_num_queues drivers/net/tun.c:631 [inline] [<0000000018fe3c36>] tun_attach+0x1aa/0x670 drivers/net/tun.c:878 [<00000000a20402a3>] tun_set_iff drivers/net/tun.c:2733 [inline] [<00000000a20402a3>] __tun_chr_ioctl+0xd9e/0x17a0 drivers/net/tun.c:3075 [<000000008927169a>] tun_chr_ioctl+0x2b/0x40 drivers/net/tun.c:3355 [<0000000071283603>] vfs_ioctl fs/ioctl.c:46 [inline] [<0000000071283603>] file_ioctl fs/ioctl.c:509 [inline] [<0000000071283603>] do_vfs_ioctl+0x62a/0x810 fs/ioctl.c:696 [<00000000bc797535>] ksys_ioctl+0x86/0xb0 fs/ioctl.c:713 [<0000000069f4ecde>] __do_sys_ioctl fs/ioctl.c:720 [inline] [<0000000069f4ecde>] __se_sys_ioctl fs/ioctl.c:718 [inline] [<0000000069f4ecde>] __x64_sys_ioctl+0x1e/0x30 fs/ioctl.c:718 [<000000006e873488>] do_syscall_64+0x73/0x1f0 arch/x86/entry/common.c:290 [<00000000764763d1>] entry_SYSCALL_64_after_hwframe+0x44/0xa9