BUG: unable to handle kernel NULL pointer dereference at 000000000000005d
PGD 8000000197f62067 P4D 8000000197f62067 PUD 1c7cc3067 PMD 0
Oops: 0000 [#1] SMP PTI
Dumping ftrace buffer:
(ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 4483 Comm: syz-executor713 Not tainted 4.17.0-rc5+ #102
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:n_tty_set_termios+0x251/0x1aa0 drivers/tty/n_tty.c:1782
RSP: 0018:ffff880197d3f7d0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8801cdceba80
RDX: 0000000000000000 RSI: aaaaaaaaaaaab000 RDI: ffffea0000000000
RBP: ffff880197d3f878 R08: 0000000001080020 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000005d
R13: 0000000000000006 R14: 0000000000000000 R15: 0000000000000000
FS: 00007fd72c25d700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000000005d CR3: 00000001a9104000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
tty_set_termios+0x15ab/0x1d90 drivers/tty/tty_ioctl.c:341
set_termios+0xadb/0xb50 drivers/tty/tty_ioctl.c:414
tty_mode_ioctl+0x10bc/0x13b0 drivers/tty/tty_ioctl.c:770
n_tty_ioctl_helper+0x186/0xc20 drivers/tty/tty_ioctl.c:940
n_tty_ioctl+0x2b3/0x5f0 drivers/tty/n_tty.c:2441
tty_ioctl+0x24c9/0x2ba0 drivers/tty/tty_io.c:2655
vfs_ioctl fs/ioctl.c:46 [inline]
do_vfs_ioctl+0xaf8/0x2410 fs/ioctl.c:686
ksys_ioctl fs/ioctl.c:701 [inline]
__do_sys_ioctl fs/ioctl.c:708 [inline]
__se_sys_ioctl fs/ioctl.c:706 [inline]
__x64_sys_ioctl+0x280/0x320 fs/ioctl.c:706
do_syscall_64+0x152/0x230 arch/x86/entry/common.c:287
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x445cf9
RSP: 002b:00007fd72c25cd18 EFLAGS: 00000297 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000006dac24 RCX: 0000000000445cf9
RDX: 0000000020000040 RSI: 0000000000005402 RDI: 0000000000000207
RBP: 00000000006dac20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000297 R12: 6d74702f7665642f
R13: 00007ffd8d118e1f R14: 00007fd72c25d9c0 R15: 0000000000000007
Code: e8 d5 37 f9 fc 4c 8b 6d b0 e9 fe 00 00 00 89 55 b0 89 cb e8 c2 37 f9 fc 48 8b 45 b8 4c 8d 60 5d 48 83 7d c8 00 0f 85 2e 0c 00 00 <45> 8a 3c 24 4c 89 e7 e8 43 7a 53 fd 44 8a 30 8b 02 89 d9 8b 55
RIP: n_tty_set_termios+0x251/0x1aa0 drivers/tty/n_tty.c:1782 RSP: ffff880197d3f7d0
CR2: 000000000000005d
---[ end trace 8d45df83312d8540 ]---