syzbot


Internal error in io_serial_out

Status: auto-closed as invalid on 2022/06/26 21:55
Subsystems: serial
[Documentation on labels]
Reported-by: syzbot+51bed6fc20ecc6362058@syzkaller.appspotmail.com
First crash: 1183d, last: 759d
Discussions (1)
Title Replies (including bot) Last reply
Re: Internal error in io_serial_out 2 (2) 2021/03/15 10:38
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream Internal error in io_serial_out (2) serial 2 631d 651d 0/26 auto-obsoleted due to no activity on 2022/12/02 05:50

Sample crash report:
Internal error: synchronous external abort: 97140050 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 31164 Comm: syz-executor.0 Not tainted 5.17.0-syzkaller-11407-gae085d7f9365 #0
Hardware name: linux,dummy-virt (DT)
pstate: 804000c9 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __raw_writeb arch/arm64/include/asm/io.h:27 [inline]
pc : _outb include/asm-generic/io.h:501 [inline]
pc : logic_outb+0x3c/0xa4 lib/logic_pio.c:302
lr : io_serial_out+0x2c/0x3c drivers/tty/serial/8250/8250_port.c:458
sp : ffff80000b62bbb0
x29: ffff80000b62bbb0 x28: ffff80000b62bd70 x27: f1ff00002b9f3000
x26: 0000000000000fff x25: f7ff80000b9e32a0 x24: 0000000000000001
x23: f7ff80000b9e1000 x22: 0000000000000001 x21: ffff80000b62bd70
x20: 0000000000000002 x19: fffffbfffe800001 x18: 00000000fffffffb
x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000020
x14: 0000000000000000 x13: ffff80000b62bd78 x12: ffff80000b62bd3a
x11: 0000000000000000 x10: 0000000000000066 x9 : 0000000000000000
x8 : ffff8000080102a0 x7 : ffff80000b62bd71 x6 : 0000000000001000
x5 : 0000000000000001 x4 : 0000000000000000 x3 : ffff80000a5b4bc0
x2 : 0000000000000000 x1 : fffffbfffe800000 x0 : 0000000000ffbffe
Call trace:
 _outb include/asm-generic/io.h:501 [inline]
 logic_outb+0x3c/0xa4 lib/logic_pio.c:302
 io_serial_out+0x2c/0x3c drivers/tty/serial/8250/8250_port.c:458
 serial_out drivers/tty/serial/8250/8250.h:120 [inline]
 serial8250_set_THRI drivers/tty/serial/8250/8250.h:140 [inline]
 __start_tx drivers/tty/serial/8250/8250_port.c:1568 [inline]
 serial8250_start_tx+0x94/0x18c drivers/tty/serial/8250/8250_port.c:1667
 __uart_start.isra.0+0x3c/0x50 drivers/tty/serial/serial_core.c:127
 uart_start+0x68/0x100 drivers/tty/serial/serial_core.c:137
 uart_flush_chars+0x10/0x20 drivers/tty/serial/serial_core.c:548
 __receive_buf drivers/tty/n_tty.c:1553 [inline]
 n_tty_receive_buf_common+0x328/0x1254 drivers/tty/n_tty.c:1645
 n_tty_receive_buf+0x14/0x24c drivers/tty/n_tty.c:1674
 tiocsti drivers/tty/tty_io.c:2293 [inline]
 tty_ioctl+0x95c/0xd24 drivers/tty/tty_io.c:2692
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __arm64_sys_ioctl+0xa8/0xf0 fs/ioctl.c:856
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x48/0x114 arch/arm64/kernel/syscall.c:52
 el0_svc_common.constprop.0+0x44/0xec arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x6c/0x84 arch/arm64/kernel/syscall.c:181
 el0_svc+0x44/0xb0 arch/arm64/kernel/entry-common.c:616
 el0t_64_sync_handler+0x1a4/0x1b0 arch/arm64/kernel/entry-common.c:634
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:581
Code: d2bfd001 f2df7fe1 f2ffffe1 8b010273 (39000274) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	d2bfd001 	mov	x1, #0xfe800000            	// #4269801472
   4:	f2df7fe1 	movk	x1, #0xfbff, lsl #32
   8:	f2ffffe1 	movk	x1, #0xffff, lsl #48
   c:	8b010273 	add	x19, x19, x1
* 10:	39000274 	strb	w20, [x19] <-- trapping instruction

Crashes (707):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/03/28 21:54 upstream ae085d7f9365 ee339263 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/26 13:06 upstream cb7cbaae7fd9 89bc8608 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/26 10:18 upstream cb7cbaae7fd9 89bc8608 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/25 21:38 upstream 34af78c4e616 89bc8608 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/19 19:00 upstream 34e047aa16c0 e2d91b1d .config console log report info ci-qemu2-arm64-compat Internal error in io_serial_out
2022/03/19 08:35 upstream 34e047aa16c0 e2d91b1d .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/16 13:50 upstream 56e337f2cf13 9e8eaa75 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/15 10:18 upstream 09688c0166e7 9e8eaa75 .config console log report info ci-qemu2-arm64 Internal error in io_serial_out
2022/03/15 08:07 upstream 09688c0166e7 9e8eaa75 .config console log report info ci-qemu2-arm64 Internal error in io_serial_out
2022/03/15 03:19 upstream 09688c0166e7 9e8eaa75 .config console log report info ci-qemu2-arm64 Internal error in io_serial_out
2022/03/15 00:05 upstream 09688c0166e7 9e8eaa75 .config console log report info ci-qemu2-arm64 Internal error in io_serial_out
2022/03/14 19:37 upstream 09688c0166e7 9e8eaa75 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/14 06:51 upstream f0e18b03fcaf 9e8eaa75 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/13 12:36 upstream aad611a868d1 9e8eaa75 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/12 01:13 upstream 79b00034e9dc 9e8eaa75 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/11 10:11 upstream c30b5b8cfb72 9e8eaa75 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/10 20:39 upstream 3bf7edc84a9e 9e8eaa75 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/09 15:40 upstream 330f4c53d3c2 9e8eaa75 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/08 10:20 upstream ea4424be1688 7bdd8b2c .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/08 08:31 upstream ea4424be1688 7bdd8b2c .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/07 20:32 upstream ffb217a13a2e 7bdd8b2c .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/06 09:33 upstream 0014404f9c18 7bdd8b2c .config console log report info ci-qemu2-arm64 Internal error in io_serial_out
2022/03/06 08:27 upstream dcde98da9970 7bdd8b2c .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/05 11:59 upstream ac84e82f78cb 45a13a73 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/04 23:02 upstream 38f80f42147f 45a13a73 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/03 10:34 upstream 92ebf5f91b4d 45a13a73 .config console log report info ci-qemu2-arm64 Internal error in io_serial_out
2022/03/02 17:03 upstream fb184c4af9b9 45a13a73 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/02 06:48 upstream 575115360652 45a13a73 .config console log report info ci-qemu2-arm64 Internal error in io_serial_out
2022/02/28 18:27 upstream 7e57714cd0ad 45a13a73 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/02/28 09:02 upstream 52a025546731 45a13a73 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/02/25 10:04 upstream 73878e5eb1bd 7c337266 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/02/24 08:12 upstream 23d04328444a 6e821dbf .config console log report info ci-qemu2-arm64 Internal error in io_serial_out
2022/02/22 16:52 upstream 038101e6b2cd 6e821dbf .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/02/20 09:16 upstream 4f12b742eb2b 3cd800e4 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/02/20 06:38 upstream 4f12b742eb2b 3cd800e4 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/02/20 02:27 upstream 4f12b742eb2b 3cd800e4 .config console log report info ci-qemu2-arm64 Internal error in io_serial_out
2022/02/18 04:01 upstream 80d47f5de5e3 3cd800e4 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/02/16 05:49 upstream 705d84a366cf 8b9ca619 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2021/01/28 21:50 upstream 76c057c84d28 eefc07f2 .config console log report info ci-qemu2-arm64-mte Internal error in io_serial_out
2022/03/28 01:25 upstream 7001052160d1 89bc8608 .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in io_serial_out
2022/03/27 13:08 upstream f022814633e1 89bc8608 .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in io_serial_out
2022/03/26 06:48 upstream cb7cbaae7fd9 89bc8608 .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in io_serial_out
2022/03/25 07:59 upstream 169e77764adc 89bc8608 .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in io_serial_out
2022/03/23 20:37 upstream 6b1f86f8e9c7 5ff41e94 .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in io_serial_out
2022/03/23 09:19 upstream 519129040766 5ff41e94 .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in io_serial_out
2022/03/19 11:12 upstream 34e047aa16c0 e2d91b1d .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in io_serial_out
2022/03/19 10:01 upstream 34e047aa16c0 e2d91b1d .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in io_serial_out
2022/03/15 17:09 upstream 09688c0166e7 9e8eaa75 .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in io_serial_out
2022/03/14 15:37 upstream 09688c0166e7 9e8eaa75 .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in io_serial_out
2022/03/13 01:57 upstream aad611a868d1 9e8eaa75 .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in io_serial_out
2022/03/10 19:25 upstream 3bf7edc84a9e 9e8eaa75 .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in io_serial_out
2022/03/09 03:33 upstream 92f90cc9fe0e 9e8eaa75 .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in io_serial_out
2022/03/08 13:03 upstream ea4424be1688 7bdd8b2c .config console log report info ci-qemu2-arm32 BUG: unable to handle kernel paging request in io_serial_out
* Struck through repros no longer work on HEAD.