BUG: memory leak unreferenced object 0xffff88811846a900 (size 32): comm "syz-executor003", pid 6992, jiffies 4294944014 (age 14.270s) hex dump (first 32 bytes): 73 6c 63 61 6e 30 00 ff 80 27 74 04 00 ea ff ff slcan0...'t..... 80 09 a2 04 00 ea ff ff 00 00 00 00 00 00 00 00 ................ backtrace: [<000000009ac57945>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] [<000000009ac57945>] slab_post_alloc_hook mm/slab.h:586 [inline] [<000000009ac57945>] slab_alloc mm/slab.c:3319 [inline] [<000000009ac57945>] __do_kmalloc mm/slab.c:3653 [inline] [<000000009ac57945>] __kmalloc_track_caller+0x165/0x300 mm/slab.c:3670 [<00000000eef6edb1>] kstrdup+0x3a/0x70 mm/util.c:60 [<000000000c37326c>] kstrdup_const+0x48/0x60 mm/util.c:82 [<000000003287690a>] kvasprintf_const+0x7e/0xe0 lib/kasprintf.c:48 [<00000000a7c07980>] kobject_set_name_vargs+0x40/0xe0 lib/kobject.c:289 [<00000000608d477f>] dev_set_name+0x63/0x90 drivers/base/core.c:2006 [<0000000069c61e0b>] netdev_register_kobject+0x5a/0x1b0 net/core/net-sysfs.c:1730 [<00000000288c1626>] register_netdevice+0x397/0x610 net/core/dev.c:9086 [<0000000070eddc0e>] slcan_open+0x288/0x330 drivers/net/can/slcan.c:604 [<000000008081ce1b>] tty_ldisc_open.isra.0+0x40/0x70 drivers/tty/tty_ldisc.c:469 [<000000009653bb9a>] tty_set_ldisc+0x149/0x240 drivers/tty/tty_ldisc.c:596 [<0000000077036e67>] tiocsetd drivers/tty/tty_io.c:2334 [inline] [<0000000077036e67>] tty_ioctl+0x366/0xa30 drivers/tty/tty_io.c:2594 [<000000003aa92949>] vfs_ioctl fs/ioctl.c:46 [inline] [<000000003aa92949>] file_ioctl fs/ioctl.c:509 [inline] [<000000003aa92949>] do_vfs_ioctl+0x62a/0x810 fs/ioctl.c:696 [<0000000015ecd5c5>] ksys_ioctl+0x86/0xb0 fs/ioctl.c:713 [<000000006d5f7040>] __do_sys_ioctl fs/ioctl.c:720 [inline] [<000000006d5f7040>] __se_sys_ioctl fs/ioctl.c:718 [inline] [<000000006d5f7040>] __x64_sys_ioctl+0x1e/0x30 fs/ioctl.c:718 [<0000000081d95a0d>] do_syscall_64+0x73/0x1f0 arch/x86/entry/common.c:290 BUG: memory leak unreferenced object 0xffff8881187fda00 (size 32): comm "syz-executor003", pid 6997, jiffies 4294944630 (age 8.110s) hex dump (first 32 bytes): 73 6c 63 61 6e 30 00 ff 40 ba 67 04 00 ea ff ff slcan0..@.g..... c0 95 87 04 00 ea ff ff 00 00 00 00 00 00 00 00 ................ backtrace: [<000000009ac57945>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] [<000000009ac57945>] slab_post_alloc_hook mm/slab.h:586 [inline] [<000000009ac57945>] slab_alloc mm/slab.c:3319 [inline] [<000000009ac57945>] __do_kmalloc mm/slab.c:3653 [inline] [<000000009ac57945>] __kmalloc_track_caller+0x165/0x300 mm/slab.c:3670 [<00000000eef6edb1>] kstrdup+0x3a/0x70 mm/util.c:60 [<000000000c37326c>] kstrdup_const+0x48/0x60 mm/util.c:82 [<000000003287690a>] kvasprintf_const+0x7e/0xe0 lib/kasprintf.c:48 [<00000000a7c07980>] kobject_set_name_vargs+0x40/0xe0 lib/kobject.c:289 [<00000000608d477f>] dev_set_name+0x63/0x90 drivers/base/core.c:2006 [<0000000069c61e0b>] netdev_register_kobject+0x5a/0x1b0 net/core/net-sysfs.c:1730 [<00000000288c1626>] register_netdevice+0x397/0x610 net/core/dev.c:9086 [<0000000070eddc0e>] slcan_open+0x288/0x330 drivers/net/can/slcan.c:604 [<000000008081ce1b>] tty_ldisc_open.isra.0+0x40/0x70 drivers/tty/tty_ldisc.c:469 [<000000009653bb9a>] tty_set_ldisc+0x149/0x240 drivers/tty/tty_ldisc.c:596 [<0000000077036e67>] tiocsetd drivers/tty/tty_io.c:2334 [inline] [<0000000077036e67>] tty_ioctl+0x366/0xa30 drivers/tty/tty_io.c:2594 [<000000003aa92949>] vfs_ioctl fs/ioctl.c:46 [inline] [<000000003aa92949>] file_ioctl fs/ioctl.c:509 [inline] [<000000003aa92949>] do_vfs_ioctl+0x62a/0x810 fs/ioctl.c:696 [<0000000015ecd5c5>] ksys_ioctl+0x86/0xb0 fs/ioctl.c:713 [<000000006d5f7040>] __do_sys_ioctl fs/ioctl.c:720 [inline] [<000000006d5f7040>] __se_sys_ioctl fs/ioctl.c:718 [inline] [<000000006d5f7040>] __x64_sys_ioctl+0x1e/0x30 fs/ioctl.c:718 [<0000000081d95a0d>] do_syscall_64+0x73/0x1f0 arch/x86/entry/common.c:290