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: 17483 Comm: syz-executor0 Not tainted 4.19.0-rc8-next-20181019+ #98 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:n_tty_set_termios+0x2d9/0xe80 drivers/tty/n_tty.c:1813 Code: 45 d0 31 ff 83 e0 02 89 c6 89 45 d0 e8 60 bb a3 fd 8b 45 d0 4c 89 f1 48 ba 00 00 00 00 00 fc ff df 85 c0 0f 95 c0 48 c1 e9 03 <0f> b6 14 11 4c 89 f1 83 e1 07 38 ca 7f 08 84 d2 0f 85 96 09 00 00 RSP: 0018:ffff8801cd587578 EFLAGS: 00010203 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 000000000000000b RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffff8801cd5875b0 R08: ffff8801b9aba6c0 R09: 0000000000000008 R10: 0000000000000050 R11: ffff8801b9aba6c0 R12: ffff8801d256ad80 R13: ffff8801d256b134 R14: 000000000000005d R15: ffff8801cd587610 FS: 00007f7665057700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7665014db8 CR3: 00000001ce852000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tty_set_termios+0x7a0/0xac0 drivers/tty/tty_ioctl.c:341 set_termios+0x41e/0x7d0 drivers/tty/tty_ioctl.c:414 tty_mode_ioctl+0x83a/0xb40 drivers/tty/tty_ioctl.c:779 n_tty_ioctl_helper+0x54/0x3b0 drivers/tty/tty_ioctl.c:940 n_tty_ioctl+0x54/0x360 drivers/tty/n_tty.c:2464 tty_ioctl+0x5c6/0x17d0 drivers/tty/tty_io.c:2646 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x1de/0x1720 fs/ioctl.c:685 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:702 __do_sys_ioctl fs/ioctl.c:709 [inline] __se_sys_ioctl fs/ioctl.c:707 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:707 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: fd b3 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 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f7665056c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000020000040 RSI: 0000000000005407 RDI: 0000000000000005 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f76650576d4 R13: 00000000004c0d89 R14: 00000000004d17a0 R15: 00000000ffffffff Modules linked in: ---[ end trace 839cc3b93aba61d1 ]--- RIP: 0010:n_tty_set_termios+0x2d9/0xe80 drivers/tty/n_tty.c:1813 Code: 45 d0 31 ff 83 e0 02 89 c6 89 45 d0 e8 60 bb a3 fd 8b 45 d0 4c 89 f1 48 ba 00 00 00 00 00 fc ff df 85 c0 0f 95 c0 48 c1 e9 03 <0f> b6 14 11 4c 89 f1 83 e1 07 38 ca 7f 08 84 d2 0f 85 96 09 00 00 RSP: 0018:ffff8801cd587578 EFLAGS: 00010203 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 000000000000000b RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffff8801cd5875b0 R08: ffff8801b9aba6c0 R09: 0000000000000008 R10: 0000000000000050 R11: ffff8801b9aba6c0 R12: ffff8801d256ad80 R13: ffff8801d256b134 R14: 000000000000005d R15: ffff8801cd587610 FS: 00007f7665057700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7665014db8 CR3: 00000001ce852000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400