================================================================== BUG: KMSAN: uninit-value in n_tty_receive_buf_common+0x485/0x5430 drivers/tty/n_tty.c:1725 CPU: 1 PID: 13340 Comm: kworker/u4:2 Not tainted 5.0.0-rc1+ #10 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound flush_to_ldisc Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x173/0x1d0 lib/dump_stack.c:113 kmsan_report+0x12e/0x2a0 mm/kmsan/kmsan.c:600 __msan_warning+0x82/0xf0 mm/kmsan/kmsan_instr.c:313 n_tty_receive_buf_common+0x485/0x5430 drivers/tty/n_tty.c:1725 n_tty_receive_buf2+0xc2/0xe0 drivers/tty/n_tty.c:1775 tty_ldisc_receive_buf+0x164/0x350 drivers/tty/tty_buffer.c:461 tty_port_default_receive_buf+0x14f/0x1e0 drivers/tty/tty_port.c:38 receive_buf drivers/tty/tty_buffer.c:481 [inline] flush_to_ldisc+0x30c/0x7f0 drivers/tty/tty_buffer.c:533 process_one_work+0x1607/0x1f80 kernel/workqueue.c:2153 worker_thread+0x111c/0x2460 kernel/workqueue.c:2296 kthread+0x4a1/0x4e0 kernel/kthread.c:247 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:355 Uninit was created at: No stack ================================================================== Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 13340 Comm: kworker/u4:2 Tainted: G B 5.0.0-rc1+ #10 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound flush_to_ldisc Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x173/0x1d0 lib/dump_stack.c:113 panic+0x3d1/0xb01 kernel/panic.c:214 kmsan_report+0x293/0x2a0 mm/kmsan/kmsan.c:620 __msan_warning+0x82/0xf0 mm/kmsan/kmsan_instr.c:313 n_tty_receive_buf_common+0x485/0x5430 drivers/tty/n_tty.c:1725 n_tty_receive_buf2+0xc2/0xe0 drivers/tty/n_tty.c:1775 tty_ldisc_receive_buf+0x164/0x350 drivers/tty/tty_buffer.c:461 tty_port_default_receive_buf+0x14f/0x1e0 drivers/tty/tty_port.c:38 receive_buf drivers/tty/tty_buffer.c:481 [inline] flush_to_ldisc+0x30c/0x7f0 drivers/tty/tty_buffer.c:533 process_one_work+0x1607/0x1f80 kernel/workqueue.c:2153 worker_thread+0x111c/0x2460 kernel/workqueue.c:2296 kthread+0x4a1/0x4e0 kernel/kthread.c:247 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:355 Kernel Offset: disabled Rebooting in 86400 seconds..