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 CPU: 0 PID: 2330 Comm: syz-executor.0 Not tainted 4.19.133-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:do_con_write+0x94d/0x1d90 drivers/tty/vt/vt.c:2766 Code: 03 9c 24 ba 00 00 00 01 dd e8 ef ea bd fd 48 8b 44 24 70 80 38 00 0f 85 75 11 00 00 49 8b 9d a0 03 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 14 30 48 89 d8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 RSP: 0018:ffff888035e474c0 EFLAGS: 00010203 RAX: 0000000020000001 RBX: 000000010000000e RCX: ffffc90005bbe000 RDX: 000000000000023e RSI: ffffffff83abbde1 RDI: 0000000000000003 RBP: 0000000000000732 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000001 R13: ffff88808c3662c0 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f7a0752c700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055836120e238 CR3: 0000000087642000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: con_put_char+0x96/0xe0 drivers/tty/vt/vt.c:3148 tty_put_char+0xb7/0x150 drivers/tty/tty_io.c:2887 do_output_char+0x155/0x850 drivers/tty/n_tty.c:486 __process_echoes+0x38e/0x9f0 drivers/tty/n_tty.c:737 flush_echoes drivers/tty/n_tty.c:827 [inline] __receive_buf drivers/tty/n_tty.c:1646 [inline] n_tty_receive_buf_common+0xc0c/0x2a90 drivers/tty/n_tty.c:1740 tty_ldisc_receive_buf+0xa9/0x190 drivers/tty/tty_buffer.c:456 paste_selection+0x1e5/0x46d drivers/tty/vt/selection.c:390 tioclinux+0x122/0x510 drivers/tty/vt/vt.c:3047 vt_ioctl+0x1775/0x24d0 drivers/tty/vt/vt_ioctl.c:372 tty_ioctl+0x5b0/0x15c0 drivers/tty/tty_io.c:2669 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c1d9 Code: 8d b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 5b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f7a0752bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000017480 RCX: 000000000045c1d9 RDX: 0000000020000100 RSI: 000000000000541c RDI: 0000000000000003 RBP: 000000000078bf40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c R13: 00007ffd6411e6af R14: 00007f7a0752c9c0 R15: 000000000078bf0c Modules linked in: ---[ end trace 1866c331109e1dba ]--- RIP: 0010:do_con_write+0x94d/0x1d90 drivers/tty/vt/vt.c:2766 Code: 03 9c 24 ba 00 00 00 01 dd e8 ef ea bd fd 48 8b 44 24 70 80 38 00 0f 85 75 11 00 00 49 8b 9d a0 03 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 14 30 48 89 d8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 RSP: 0018:ffff888035e474c0 EFLAGS: 00010203 RAX: 0000000020000001 RBX: 000000010000000e RCX: ffffc90005bbe000 RDX: 000000000000023e RSI: ffffffff83abbde1 RDI: 0000000000000003 RBP: 0000000000000732 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000001 R13: ffff88808c3662c0 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f7a0752c700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055836120e238 CR3: 0000000087642000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400