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: 15351 Comm: agetty Not tainted 4.14.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880500a2180 task.stack: ffff888046148000 RIP: 0010:do_con_write+0x702/0x19b0 drivers/tty/vt/vt.c:2411 RSP: 0018:ffff88804614f9c0 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000744 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8880923dadfd RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffff8880500a2180 R12: ffff8880923daa80 R13: ffff8880923dae0c R14: 0000000000000010 R15: ffff8880a55896c1 FS: 00007f8e4b7ab500(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b0a9441f98 CR3: 000000004f32a000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: con_write+0x21/0xa0 drivers/tty/vt/vt.c:2798 process_output_block drivers/tty/n_tty.c:595 [inline] n_tty_write+0x352/0xda0 drivers/tty/n_tty.c:2333 do_tty_write drivers/tty/tty_io.c:959 [inline] tty_write+0x410/0x740 drivers/tty/tty_io.c:1043 __vfs_write+0xe4/0x630 fs/read_write.c:480 vfs_write+0x17f/0x4d0 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0xf2/0x210 fs/read_write.c:582 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f8e4b2c9970 RSP: 002b:00007fff45d90df8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f8e4b2c9970 RDX: 0000000000000001 RSI: 00007f8e4b588683 RDI: 0000000000000001 RBP: 00007f8e4b588683 R08: 00007f8e4b589760 R09: 00007f8e4b7ab500 R10: 0000000000000097 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000001 R14: 00007f8e4b588600 R15: 0000000000000001 Code: b2 00 00 00 66 03 5c 24 30 e8 5b 8d 13 fe 48 8b 44 24 78 80 38 00 0f 85 4c 10 00 00 4d 8b b4 24 a0 03 00 00 4c 89 f0 48 c1 e8 03 <0f> b6 14 28 4c 89 f0 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 RIP: do_con_write+0x702/0x19b0 drivers/tty/vt/vt.c:2411 RSP: ffff88804614f9c0 ---[ end trace 082495450fc304f1 ]---