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: 0 PID: 30537 Comm: agetty Not tainted 4.14.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88805c1a8540 task.stack: ffff88805d128000 RIP: 0010:do_con_write+0x702/0x19b0 drivers/tty/vt/vt.c:2411 RSP: 0018:ffff88805d12f9c0 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000744 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff888095d6637d RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffff88805c1a8540 R12: ffff888095d66000 R13: ffff888095d6638c R14: 0000000000000010 R15: ffff888096cf6941 FS: 00007f0b97287500(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556dbe47df98 CR3: 00000000a069d000 CR4: 00000000001406f0 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:0x7f0b96da5970 RSP: 002b:00007ffea62611c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f0b96da5970 RDX: 0000000000000001 RSI: 00007f0b97064683 RDI: 0000000000000001 RBP: 00007f0b97064683 R08: 00007f0b97065760 R09: 00007f0b97287500 R10: 0000000000000097 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000001 R14: 00007f0b97064600 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: ffff88805d12f9c0 ---[ end trace fec4748d43fce940 ]---