------------[ cut here ]------------ WARNING: CPU: 0 PID: 8046 at drivers/tty/tty_ioctl.c:318 tty_set_termios+0x708/0x810 drivers/tty/tty_ioctl.c:318 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 8046 Comm: kworker/u5:8 Not tainted 4.14.276-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: hci6 hci_power_on Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 panic+0x1f9/0x42d kernel/panic.c:183 __warn.cold+0x20/0x44 kernel/panic.c:547 report_bug+0x208/0x250 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:177 [inline] fixup_bug arch/x86/kernel/traps.c:172 [inline] do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964 RIP: 0010:tty_set_termios+0x708/0x810 drivers/tty/tty_ioctl.c:318 RSP: 0018:ffff888094abfb20 EFLAGS: 00010297 RAX: ffff8880af5b8380 RBX: ffff888094abfc28 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: ffff888094abfc28 RDI: ffff888238406038 RBP: ffff888238406000 R08: 0000000000000000 R09: 00000000000405ae R10: ffff8880af5b8c58 R11: ffff8880af5b8380 R12: ffff8880a33b08c0 R13: ffff8880a62c5c80 R14: 000000000001c200 R15: ffff888053d54358 hci_uart_set_baudrate+0x13d/0x270 drivers/bluetooth/hci_ldisc.c:389 hci_uart_setup+0x8c/0x410 drivers/bluetooth/hci_ldisc.c:412 hci_dev_do_open+0x34c/0xe30 net/bluetooth/hci_core.c:1392 hci_power_on+0x97/0x3b0 net/bluetooth/hci_core.c:2101 process_one_work+0x793/0x14a0 kernel/workqueue.c:2117 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2251 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Kernel Offset: disabled Rebooting in 86400 seconds..