kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 35 Comm: kworker/u4:2 Not tainted 4.15.0-rc7+ #257
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound flush_to_ldisc
RIP: 0010:__read_once_size include/linux/compiler.h:183 [inline]
RIP: 0010:n_tty_receive_buf_common+0x154/0x2520 drivers/tty/n_tty.c:1688
RSP: 0018:ffff8801d99e7170 EFLAGS: 00010202
RAX: 000000000000044c RBX: ffff8801d557e440 RCX: ffffffff828fc2df
RDX: 0000000000000000 RSI: ffff8801d557e7e8 RDI: 0000000000002260
RBP: ffff8801d99e7318 R08: 1ffff1003b33cd5d R09: 0000000000000005
R10: ffff8801d99e6fa8 R11: 0000000000000002 R12: ffff8801c9786074
R13: 0000000000000000 R14: dffffc0000000000 R15: ffff8801c9786074
FS:  0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 0000000006822004 CR4: 00000000001606f0
Call Trace:
 n_tty_receive_buf2+0x33/0x40 drivers/tty/n_tty.c:1744
 tty_ldisc_receive_buf+0xa7/0x180 drivers/tty/tty_buffer.c:456
 tty_port_default_receive_buf+0x106/0x160 drivers/tty/tty_port.c:38
 receive_buf drivers/tty/tty_buffer.c:475 [inline]
 flush_to_ldisc+0x3c4/0x590 drivers/tty/tty_buffer.c:524
 process_one_work+0xbbf/0x1b10 kernel/workqueue.c:2112
 worker_thread+0x223/0x1990 kernel/workqueue.c:2246
 kthread+0x33c/0x400 kernel/kthread.c:238
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:524
Code: 89 85 18 ff ff ff 48 8d 45 98 48 89 85 e0 fe ff ff e8 a1 54 e0 fe 48 8b 85 18 ff ff ff c6 00 00 48 8b 85 a0 fe ff ff 48 c1 e8 03 <42> 80 3c 30 00 0f 85 73 1e 00 00 48 8b 85 28 ff ff ff 4c 8b a8 
RIP: __read_once_size include/linux/compiler.h:183 [inline] RSP: ffff8801d99e7170
RIP: n_tty_receive_buf_common+0x154/0x2520 drivers/tty/n_tty.c:1688 RSP: ffff8801d99e7170
---[ end trace bf368b413beb1f4d ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..