BUG: memory leak unreferenced object 0xffff888103594800 (size 1024): comm "syz-executor363", pid 8504, jiffies 4294950599 (age 8.030s) hex dump (first 32 bytes): 01 54 00 00 01 00 00 00 00 4c e2 42 81 88 ff ff .T.......L.B.... 00 90 f3 42 81 88 ff ff a0 0a a3 84 ff ff ff ff ...B............ backtrace: [<00000000d3bb5e8e>] kmalloc include/linux/slab.h:552 [inline] [<00000000d3bb5e8e>] kzalloc include/linux/slab.h:682 [inline] [<00000000d3bb5e8e>] alloc_tty_struct+0x3c/0x2e0 drivers/tty/tty_io.c:2987 [<0000000077f9f223>] tty_init_dev.part.0+0x20/0x250 drivers/tty/tty_io.c:1335 [<00000000e34fdf59>] tty_init_dev drivers/tty/tty_io.c:1979 [inline] [<00000000e34fdf59>] tty_open_by_driver drivers/tty/tty_io.c:1987 [inline] [<00000000e34fdf59>] tty_open+0x882/0xa20 drivers/tty/tty_io.c:2035 [<00000000823449f7>] chrdev_open+0x10d/0x340 fs/char_dev.c:414 [<00000000668d13a6>] do_dentry_open+0x1e6/0x620 fs/open.c:817 [<0000000046ee900c>] do_open fs/namei.c:3252 [inline] [<0000000046ee900c>] path_openat+0x74a/0x1b00 fs/namei.c:3369 [<0000000047a29f0e>] do_filp_open+0xa0/0x190 fs/namei.c:3396 [<0000000032daf280>] do_sys_openat2+0xed/0x230 fs/open.c:1172 [<0000000082ad7bd6>] do_sys_open fs/open.c:1188 [inline] [<0000000082ad7bd6>] __do_sys_openat fs/open.c:1204 [inline] [<0000000082ad7bd6>] __se_sys_openat fs/open.c:1199 [inline] [<0000000082ad7bd6>] __x64_sys_openat+0x7f/0xe0 fs/open.c:1199 [<0000000002cdbfc4>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 [<00000000c9a90f9f>] entry_SYSCALL_64_after_hwframe+0x44/0xa9