syzbot


WARNING in tty_set_termios

Status: upstream: reported C repro on 2019/04/18 11:57
Reported-by: syzbot+48dba98c0cbeb9aec87d@syzkaller.appspotmail.com
First crash: 2044d, last: 626d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in tty_set_termios C done done 1997 1939d 2139d 15/28 fixed on 2020/01/08 01:06
linux-4.19 WARNING in tty_set_termios C done 151 1936d 2046d 1/1 fixed on 2019/12/03 19:11
Fix bisection attempts (8)
Created Duration User Patch Repo Result
2023/02/16 01:14 23m bisect fix linux-4.14.y OK (0) job log log
2022/02/16 16:34 32m bisect fix linux-4.14.y OK (0) job log log
2021/12/13 15:00 27m bisect fix linux-4.14.y OK (0) job log log
2021/11/13 14:18 24m bisect fix linux-4.14.y OK (0) job log log
2021/10/14 13:51 26m bisect fix linux-4.14.y OK (0) job log log
2021/09/13 05:26 22m bisect fix linux-4.14.y OK (0) job log log
2021/08/14 04:49 22m bisect fix linux-4.14.y OK (0) job log log
2021/07/15 04:27 21m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7985 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: 7985 Comm: kworker/u5:2 Not tainted 4.14.302-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: hci1 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:967
RIP: 0010:tty_set_termios+0x708/0x810 drivers/tty/tty_ioctl.c:318
RSP: 0018:ffff888095e57b20 EFLAGS: 00010297
RAX: ffff88809546a380 RBX: ffff888095e57c28 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffff888095e57c28 RDI: ffff888238841438
RBP: ffff888238841400 R08: 0000000000000000 R09: 0000000000040582
R10: ffff88809546ac58 R11: ffff88809546a380 R12: ffff88809ccbc200
R13: ffff8880b3044780 R14: 000000000001c200 R15: ffff888095439e98
 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:406
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (589):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/17 01:14 linux-4.14.y c4215ee4771b a63719e7 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in tty_set_termios
2022/09/02 09:11 linux-4.14.y e548869f356f a805568e .config console log report syz C [disk image] [vmlinux] ci2-linux-4-14 WARNING in tty_set_termios
2022/05/14 03:47 linux-4.14.y 569d1abf9402 107f6434 .config console log report syz C ci2-linux-4-14 WARNING in tty_set_termios
2020/12/30 12:06 linux-4.14.y 1752938529c6 0fa352f2 .config console log report syz C ci2-linux-4-14
2020/04/29 18:26 linux-4.14.y 050272a0423e ba2806db .config console log report syz C ci2-linux-4-14
2019/06/16 02:35 linux-4.14.y a74d0e937a3a 442206d7 .config console log report syz C ci2-linux-4-14
2019/04/21 23:24 linux-4.14.y 68d7a45eec10 b0e8efcb .config console log report syz C ci2-linux-4-14
2019/04/18 11:17 linux-4.14.y 58b454ebf81e b0e8efcb .config console log report syz C ci2-linux-4-14
2023/03/06 15:04 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in tty_set_termios
2023/01/17 01:00 linux-4.14.y c4215ee4771b a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in tty_set_termios
2022/10/25 12:24 linux-4.14.y 9d5c0b3a8e1a 45645420 .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in tty_set_termios
2022/10/16 19:38 linux-4.14.y 9d5c0b3a8e1a 67cb024c .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in tty_set_termios
2022/10/07 17:57 linux-4.14.y 9d5c0b3a8e1a 79a59635 .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in tty_set_termios
2022/09/18 16:04 linux-4.14.y 5df8b4735177 dd9a85ff .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in tty_set_termios
2022/09/03 20:03 linux-4.14.y e548869f356f 28811d0a .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in tty_set_termios
2022/09/03 13:33 linux-4.14.y e548869f356f 49e94a20 .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in tty_set_termios
2022/09/02 07:18 linux-4.14.y e548869f356f a805568e .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in tty_set_termios
2022/08/19 18:03 linux-4.14.y b641242202ed 26a13b38 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/08/12 04:33 linux-4.14.y b641242202ed 21724cb2 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/08/11 07:00 linux-4.14.y b641242202ed a6201f11 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/07/30 22:52 linux-4.14.y b641242202ed fef302b1 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/07/28 11:43 linux-4.14.y 9c3bf9cf362f fb95c74d .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/07/09 17:09 linux-4.14.y 1048779a1d7d b5765a15 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/07/06 00:02 linux-4.14.y ed2e96e11936 bff65f44 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/07/02 20:37 linux-4.14.y ed2e96e11936 1434eec0 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/06/26 12:53 linux-4.14.y f051383ef03b a371c43c .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/06/03 04:05 linux-4.14.y 501eec4f9e13 02dddea8 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/05/25 17:35 linux-4.14.y 501eec4f9e13 3037caa9 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/05/25 12:14 linux-4.14.y 501eec4f9e13 647c0e27 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/05/24 02:34 linux-4.14.y dffb5c6ff09c e7f9308d .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/05/22 16:28 linux-4.14.y dffb5c6ff09c 7268fa62 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/05/14 03:19 linux-4.14.y 569d1abf9402 107f6434 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/05/11 05:16 linux-4.14.y e3a56aaade89 8d7b3b67 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/04/30 08:51 linux-4.14.y e3a56aaade89 ad6b95d8 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/04/30 01:30 linux-4.14.y e3a56aaade89 44a5ca63 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/04/26 03:32 linux-4.14.y 15a1c6b6f516 152baedd .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/04/23 22:59 linux-4.14.y 15a1c6b6f516 131df97d .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/04/15 04:00 linux-4.14.y 74766a973637 b17b2923 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/04/10 13:04 linux-4.14.y 74766a973637 e22c3da3 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/03/26 01:47 linux-4.14.y 004bfaafc45c 89bc8608 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/03/20 00:58 linux-4.14.y eb045674aab3 e2d91b1d .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/03/09 05:39 linux-4.14.y c9fcc1545c3b 9e8eaa75 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/03/06 21:21 linux-4.14.y e853993d29aa 7bdd8b2c .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/03/02 02:14 linux-4.14.y fa33f9094f36 45a13a73 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/02/21 11:19 linux-4.14.y a35d65bedfbc 3cd800e4 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/01/17 16:34 linux-4.14.y 4ba8e26127c3 731a2d23 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/01/15 10:04 linux-4.14.y 4ba8e26127c3 723cfaf0 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/01/15 09:01 linux-4.14.y 4ba8e26127c3 723cfaf0 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/01/14 07:52 linux-4.14.y 4ba8e26127c3 b8d780ab .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/01/14 01:15 linux-4.14.y 4ba8e26127c3 b8d780ab .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/01/12 11:43 linux-4.14.y 4ba8e26127c3 44d1319a .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/01/09 02:17 linux-4.14.y bfdef05c8da4 2ca0d385 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/01/07 10:05 linux-4.14.y bfdef05c8da4 6acc789a .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2022/01/03 03:40 linux-4.14.y a6ca7c65b137 e1768e9c .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2021/12/28 23:03 linux-4.14.y 8ee0807eedf3 76c8cf06 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2021/12/27 07:59 linux-4.14.y 8ee0807eedf3 e4f103c4 .config console log report info ci2-linux-4-14 WARNING in tty_set_termios
2021/01/11 07:23 linux-4.14.y ec822b3e8bf4 2c1f2513 .config console log report info ci2-linux-4-14
* Struck through repros no longer work on HEAD.