BUG: memory leak unreferenced object 0xffff8881161e4f00 (size 32): comm "syz-executor458", pid 7140, jiffies 4294943566 (age 9.200s) hex dump (first 32 bytes): 63 66 70 74 6d 30 00 ff 40 36 14 04 00 ea ff ff cfptm0..@6...... 80 6d 13 04 00 ea ff ff 00 00 00 00 00 00 00 00 .m.............. backtrace: [<000000000ff8f5e4>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] [<000000000ff8f5e4>] slab_post_alloc_hook mm/slab.h:439 [inline] [<000000000ff8f5e4>] slab_alloc mm/slab.c:3326 [inline] [<000000000ff8f5e4>] __do_kmalloc mm/slab.c:3658 [inline] [<000000000ff8f5e4>] __kmalloc_track_caller+0x15d/0x2c0 mm/slab.c:3675 [<0000000046743892>] kstrdup+0x3a/0x70 mm/util.c:52 [<0000000004510e1b>] kstrdup_const+0x48/0x60 mm/util.c:74 [<000000003f34b563>] kvasprintf_const+0x7e/0xe0 lib/kasprintf.c:48 [<00000000550e52a0>] kobject_set_name_vargs+0x40/0xe0 lib/kobject.c:289 [<000000007411539e>] dev_set_name+0x63/0x90 drivers/base/core.c:1915 [<00000000fa0f8ddd>] netdev_register_kobject+0x5a/0x1b0 net/core/net-sysfs.c:1727 [<0000000058a348ff>] register_netdevice+0x397/0x600 net/core/dev.c:8733 [<00000000833be467>] ldisc_open+0x1f7/0x350 drivers/net/caif/caif_serial.c:359 [<00000000a0fdc40b>] tty_ldisc_open.isra.0+0x40/0x70 drivers/tty/tty_ldisc.c:469 [<0000000048085b33>] tty_set_ldisc+0x149/0x240 drivers/tty/tty_ldisc.c:596 [<0000000034e7a341>] tiocsetd drivers/tty/tty_io.c:2332 [inline] [<0000000034e7a341>] tty_ioctl+0x366/0xa30 drivers/tty/tty_io.c:2592 [<000000003ccf2121>] vfs_ioctl fs/ioctl.c:46 [inline] [<000000003ccf2121>] file_ioctl fs/ioctl.c:509 [inline] [<000000003ccf2121>] do_vfs_ioctl+0x62a/0x810 fs/ioctl.c:696 [<00000000934b844f>] ksys_ioctl+0x86/0xb0 fs/ioctl.c:713 [<000000007ea050c2>] __do_sys_ioctl fs/ioctl.c:720 [inline] [<000000007ea050c2>] __se_sys_ioctl fs/ioctl.c:718 [inline] [<000000007ea050c2>] __x64_sys_ioctl+0x1e/0x30 fs/ioctl.c:718 [<000000004788cb4b>] do_syscall_64+0x76/0x1a0 arch/x86/entry/common.c:301