kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 14501 Comm: syz-executor.4 Not tainted 4.14.184-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8881f2e8c140 task.stack: ffff8881de148000 RIP: 0010:do_con_write.part.0+0x78e/0x1a20 drivers/tty/vt/vt.c:2411 RSP: 0018:ffff8881de14f8d0 EFLAGS: 00010203 RAX: 0000000020000001 RBX: 000000010000000e RCX: ffffc9000af84000 RDX: 0000000000000198 RSI: ffffffff833fefe2 RDI: ffff8880541e6efd RBP: 000000000000075e R08: 0000000000000001 R09: 0000000000000000 R10: ffff8881f2e8ca68 R11: ffff8881f2e8c140 R12: dffffc0000000000 R13: ffff8880541e6f0c R14: ffff8880541e6b80 R15: ffff8881de14fa49 FS: 00007fd915acf700(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000561425b39ae0 CR3: 00000001e5c9b000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_con_write drivers/tty/vt/vt.c:2809 [inline] con_put_char+0xb4/0xc0 drivers/tty/vt/vt.c:2808 tty_put_char+0xa3/0x120 drivers/tty/tty_io.c:2879 __process_echoes+0x489/0x8c0 drivers/tty/n_tty.c:728 flush_echoes drivers/tty/n_tty.c:829 [inline] __receive_buf drivers/tty/n_tty.c:1648 [inline] n_tty_receive_buf_common+0x940/0x2490 drivers/tty/n_tty.c:1742 tiocsti drivers/tty/tty_io.c:2186 [inline] tty_ioctl+0xd5f/0x1220 drivers/tty/tty_io.c:2572 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xfe0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45c1d9 RSP: 002b:00007fd915acec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000017540 RCX: 000000000045c1d9 RDX: 0000000020000000 RSI: 0000000000005412 RDI: 0000000000000008 RBP: 000000000078bf40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c R13: 00007ffe514cf49f R14: 00007fd915acf9c0 R15: 000000000078bf0c Code: 24 b2 00 00 00 66 03 6c 24 38 e8 fe b5 1a fe 48 8b 44 24 78 80 38 00 0f 85 d2 10 00 00 49 8b 9e a0 03 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 14 20 48 89 d8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f RIP: do_con_write.part.0+0x78e/0x1a20 drivers/tty/vt/vt.c:2411 RSP: ffff8881de14f8d0 ---[ end trace 2cb1ecbce14a2ed9 ]---