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 Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 3805 Comm: syz-executor257 Not tainted 4.9.97-g2bcbbd5 #11 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801b7118000 task.stack: ffff8801c51a0000 RIP: 0010:[] [] n_tty_set_termios+0x2a3/0xd30 drivers/tty/n_tty.c:1784 RSP: 0018:ffff8801c51a77b0 EFLAGS: 00010203 RAX: 000000000000009a RBX: 0000000000000000 RCX: 000000000000000b RDX: dffffc0000000000 RSI: ffffffff8211b79f RDI: ffff8801c51a7854 RBP: ffff8801c51a77e8 R08: ffff8801b7118938 R09: 0000000000000001 R10: ffff8801b7118000 R11: 0000000000000001 R12: ffff8801b616cc80 R13: ffff8801b616d034 R14: 000000000000005d R15: ffff8801c51a7848 FS: 00007f7c6c885700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7c6c842e78 CR3: 00000001c23dc000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801b616cc80 ffff88010000009a ffff8801d02c8e80 ffffffff8211b510 dffffc0000000000 ffff8801b616d04c ffff8801b616cc80 ffff8801c51a78d0 ffffffff821252e6 0000000000000001 00ff8801000000bf 1ffff10038a34f05 Call Trace: [] tty_set_termios+0x626/0x8a0 drivers/tty/tty_ioctl.c:562 [] set_termios+0x38f/0x620 drivers/tty/tty_ioctl.c:635 [] tty_mode_ioctl+0x8c2/0x980 drivers/tty/tty_ioctl.c:970 [] n_tty_ioctl_helper+0x44/0x370 drivers/tty/tty_ioctl.c:1161 [] n_tty_ioctl+0x46/0x2c0 drivers/tty/n_tty.c:2443 [] tty_ioctl+0x5a4/0x2270 drivers/tty/tty_io.c:3009 [] vfs_ioctl fs/ioctl.c:43 [inline] [] file_ioctl fs/ioctl.c:493 [inline] [] do_vfs_ioctl+0x1ac/0x11a0 fs/ioctl.c:677 [] SYSC_ioctl fs/ioctl.c:694 [inline] [] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: d2 0f 85 9b 09 00 00 41 8b 84 24 b4 03 00 00 89 45 d0 e8 61 12 24 ff 4c 89 f1 8b 45 d0 48 ba 00 00 00 00 00 fc ff df 48 c1 e9 03 <0f> b6 14 11 4c 89 f1 83 e1 07 d1 e8 83 e0 01 38 ca 7f 08 84 d2 RIP [] n_tty_set_termios+0x2a3/0xd30 drivers/tty/n_tty.c:1784 RSP ---[ end trace 3781f35b40af2b0d ]---