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: 1321d, last: 35d
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 1216d 1416d 16/24 fixed on 2020/01/08 01:06
linux-4.19 WARNING in tty_set_termios C done 151 1213d 1323d 1/1 fixed on 2019/12/03 19:11

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7979 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: 7979 Comm: kworker/u5:1 Not tainted 4.14.291-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/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:964
RIP: 0010:tty_set_termios+0x708/0x810 drivers/tty/tty_ioctl.c:318
RSP: 0018:ffff8880958dfb20 EFLAGS: 00010297
RAX: ffff88809c9e4680 RBX: ffff8880958dfc28 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffff8880958dfc28 RDI: ffff8880b0afc338
RBP: ffff8880b0afc300 R08: 0000000000000000 R09: 0000000000040581
R10: ffff88809c9e4f58 R11: ffff88809c9e4680 R12: ffff8880b39516c0
R13: ffff8880a31b1d40 R14: 000000000001c200 R15: ffff8880b2c99cd8
 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..

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