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: 2 PID: 150 Comm: kworker/u10:1 Not tainted 4.14.0-rc7-next-20171102+ #9 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 Workqueue: events_unbound flush_to_ldisc task: ffff88006d15c400 task.stack: ffff88006d160000 RIP: 0010:__read_once_size include/linux/compiler.h:177 [inline] RIP: 0010:n_tty_receive_buf_common+0x154/0x2520 drivers/tty/n_tty.c:1690 RSP: 0018:ffff88006d167110 EFLAGS: 00010202 RAX: 000000000000044c RBX: ffff88003dde8340 RCX: ffffffff8282705f RDX: 0000000000000000 RSI: ffff88003dde8758 RDI: 0000000000002260 RBP: ffff88006d1672b8 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000000001 R11: ffffffff8744cca0 R12: ffff88003df62df4 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff88003df62df4 FS: 0000000000000000(0000) GS:ffff88006de00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4e614500a8 CR3: 0000000039fc4000 CR4: 00000000000026e0 Call Trace: n_tty_receive_buf2+0x33/0x40 drivers/tty/n_tty.c:1746 tty_ldisc_receive_buf+0xa7/0x180 drivers/tty/tty_buffer.c:455 tty_port_default_receive_buf+0x106/0x160 drivers/tty/tty_port.c:37 receive_buf drivers/tty/tty_buffer.c:474 [inline] flush_to_ldisc+0x3c4/0x590 drivers/tty/tty_buffer.c:523 process_one_work+0xbfa/0x1bc0 kernel/workqueue.c:2112 worker_thread+0x223/0x1990 kernel/workqueue.c:2246 kthread+0x3c9/0x4b0 kernel/kthread.c:242 ret_from_fork+0x2a/0x40 arch/x86/entry/entry_64.S:431 Code: 89 85 18 ff ff ff 48 8d 45 98 48 89 85 e0 fe ff ff e8 a1 25 ed 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 6d 1e 00 00 48 8b 85 28 ff ff ff 4c 8b a8 RIP: __read_once_size include/linux/compiler.h:177 [inline] RSP: ffff88006d167110 RIP: n_tty_receive_buf_common+0x154/0x2520 drivers/tty/n_tty.c:1690 RSP: ffff88006d167110 ---[ end trace aa54fd7f1b8b4836 ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..