sp0: Synchronizing with TNC 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: 4307 Comm: syz-executor.3 Not tainted 4.19.134-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 bf e5 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:ffff88804d637910 EFLAGS: 00010207 RAX: 000000001ffffff5 RBX: 00000000ffffffac RCX: ffffc9000c3f6000 RDX: 0000000000011f1d RSI: ffffffff83abc981 RDI: 0000000000000003 RBP: 00000000000007fe R08: ffffffff83aa6770 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000001 R13: ffff88804dd14600 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f0561e68700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000b90004 CR3: 00000000501ad000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: con_write+0x22/0xb0 drivers/tty/vt/vt.c:3138 tnc_init drivers/net/hamradio/6pack.c:536 [inline] sixpack_open+0x94c/0xbc0 drivers/net/hamradio/6pack.c:632 tty_ldisc_open+0x81/0xc0 drivers/tty/tty_ldisc.c:469 tty_set_ldisc+0x2d2/0x650 drivers/tty/tty_ldisc.c:594 tiocsetd drivers/tty/tty_io.c:2359 [inline] tty_ioctl+0xb4b/0x15c0 drivers/tty/tty_io.c:2603 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:0x45c1f9 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:00007f0561e67c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000017f00 RCX: 000000000045c1f9 RDX: 0000000020000040 RSI: 0000000000005423 RDI: 0000000000000004 RBP: 000000000078bfe0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bfac R13: 00007fff2a33801f R14: 00007f0561e689c0 R15: 000000000078bfac Modules linked in: ---[ end trace 8e500f5067047d52 ]--- RIP: 0010:do_con_write+0x94d/0x1d90 drivers/tty/vt/vt.c:2766 Code: 03 9c 24 ba 00 00 00 01 dd e8 bf e5 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:ffff88804d637910 EFLAGS: 00010207 RAX: 000000001ffffff5 RBX: 00000000ffffffac RCX: ffffc9000c3f6000 RDX: 0000000000011f1d RSI: ffffffff83abc981 RDI: 0000000000000003 RBP: 00000000000007fe R08: ffffffff83aa6770 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000001 R13: ffff88804dd14600 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f0561e68700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000b90004 CR3: 00000000501ad000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400