syzbot


general protection fault in serial8250_tx_chars

Status: upstream: reported syz repro on 2023/07/05 23:16
Subsystems: serial
[Documentation on labels]
Reported-by: syzbot+837b8c9032c053262db8@syzkaller.appspotmail.com
First crash: 263d, last: 18d
Cause bisection: failed (error log, bisect log)
  
Discussions (5)
Title Replies (including bot) Last reply
[syzbot] Monthly serial report (Feb 2024) 1 (2) 2024/02/05 08:09
[syzbot] Monthly serial report (Oct 2023) 0 (1) 2023/10/30 09:14
[syzbot] Monthly serial report (Aug 2023) 0 (1) 2023/08/27 14:06
[syzbot] Monthly serial report (Jul 2023) 1 (2) 2023/08/03 08:33
[syzbot] [serial?] general protection fault in serial8250_tx_chars 0 (2) 2023/07/22 12:16
Last patch testing requests (5)
Created Duration User Patch Repo Result
2024/02/29 12:27 2h57m retest repro linux-next error OK
2023/11/26 22:14 21m retest repro upstream OK log
2023/11/26 20:47 20m retest repro linux-next OK log
2023/11/26 20:47 19m retest repro linux-next OK log
2023/07/23 00:15 30m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git d192f5382581 OK log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/12/17 13:24 2h44m bisect fix upstream job log (0) log
Cause bisection attempts (2)
Created Duration User Patch Repo Result
2023/10/15 01:26 21m bisect linux-next error job log (0)
2023/08/14 12:13 0m bisect linux-next error job log (0)
marked invalid by nogikh@google.com

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 5180 Comm: kworker/1:1 Not tainted 6.7.0-rc6-next-20231222-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: pm pm_runtime_work
RIP: 0010:serial8250_tx_chars+0x3bb/0x890 drivers/tty/serial/8250/8250_port.c:1809
Code: 02 00 00 e8 77 db a6 fc 48 8b 44 24 30 80 38 00 0f 85 15 04 00 00 4d 03 a5 a0 03 00 00 4c 89 e0 4c 89 e2 48 c1 e8 03 83 e2 07 <0f> b6 04 28 38 d0 7f 08 84 c0 0f 85 a3 03 00 00 48 8b 44 24 18 41
RSP: 0018:ffffc900042bf9f0 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffffffff92cb01c0 RCX: ffffffff92cb046c
RDX: 0000000000000000 RSI: ffffffff84e13849 RDI: ffffffff92cb0470
RBP: dffffc0000000000 R08: 0000000000000004 R09: ffffffff92cb02e4
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88801dd60c30 R14: 0000000000000010 R15: ffff88801debd158
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020404030 CR3: 000000000cf78000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __start_tx+0x3cb/0x480 drivers/tty/serial/8250/8250_port.c:1544
 serial8250_start_tx+0x35d/0x530 drivers/tty/serial/8250/8250_port.c:1653
 serial_port_runtime_resume+0x29e/0x330 drivers/tty/serial/serial_port.c:40
 __rpm_callback+0xc5/0x4c0 drivers/base/power/runtime.c:393
 rpm_callback+0x1d6/0x220 drivers/base/power/runtime.c:447
 rpm_resume+0xdc7/0x1990 drivers/base/power/runtime.c:913
 pm_runtime_work+0x12e/0x180 drivers/base/power/runtime.c:978
 process_one_work+0x8a4/0x15f0 kernel/workqueue.c:2633
 process_scheduled_works kernel/workqueue.c:2706 [inline]
 worker_thread+0x8b6/0x1290 kernel/workqueue.c:2787
 kthread+0x2c1/0x3a0 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:serial8250_tx_chars+0x3bb/0x890 drivers/tty/serial/8250/8250_port.c:1809
Code: 02 00 00 e8 77 db a6 fc 48 8b 44 24 30 80 38 00 0f 85 15 04 00 00 4d 03 a5 a0 03 00 00 4c 89 e0 4c 89 e2 48 c1 e8 03 83 e2 07 <0f> b6 04 28 38 d0 7f 08 84 c0 0f 85 a3 03 00 00 48 8b 44 24 18 41
RSP: 0018:ffffc900042bf9f0 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffffffff92cb01c0 RCX: ffffffff92cb046c
RDX: 0000000000000000 RSI: ffffffff84e13849 RDI: ffffffff92cb0470
RBP: dffffc0000000000 R08: 0000000000000004 R09: ffffffff92cb02e4
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88801dd60c30 R14: 0000000000000010 R15: ffff88801debd158
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020404030 CR3: 000000000cf78000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	02 00                	add    (%rax),%al
   2:	00 e8                	add    %ch,%al
   4:	77 db                	ja     0xffffffe1
   6:	a6                   	cmpsb  %es:(%rdi),%ds:(%rsi)
   7:	fc                   	cld
   8:	48 8b 44 24 30       	mov    0x30(%rsp),%rax
   d:	80 38 00             	cmpb   $0x0,(%rax)
  10:	0f 85 15 04 00 00    	jne    0x42b
  16:	4d 03 a5 a0 03 00 00 	add    0x3a0(%r13),%r12
  1d:	4c 89 e0             	mov    %r12,%rax
  20:	4c 89 e2             	mov    %r12,%rdx
  23:	48 c1 e8 03          	shr    $0x3,%rax
  27:	83 e2 07             	and    $0x7,%edx
* 2a:	0f b6 04 28          	movzbl (%rax,%rbp,1),%eax <-- trapping instruction
  2e:	38 d0                	cmp    %dl,%al
  30:	7f 08                	jg     0x3a
  32:	84 c0                	test   %al,%al
  34:	0f 85 a3 03 00 00    	jne    0x3dd
  3a:	48 8b 44 24 18       	mov    0x18(%rsp),%rax
  3f:	41                   	rex.B

Crashes (75):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/28 02:40 linux-next 39676dfe5233 fb427a07 .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/07/22 12:16 upstream d192f5382581 27cbe77f .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2023/09/12 05:34 linux-next 7bc675554773 59da8366 .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/08/05 08:11 linux-next bdffb18b5dd8 4ffcc9ef .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2024/02/15 07:41 upstream 8d3dea210042 d9b1cdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2024/01/10 09:20 upstream 6c1dd1fe5d8a b438bd66 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2024/01/09 20:13 upstream 9f8413c4a66f b438bd66 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2024/01/08 01:04 upstream 0dd3ee311255 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root general protection fault in serial8250_tx_chars
2023/11/02 17:09 upstream babe393974de b5f07fd3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2023/10/12 19:39 upstream 401644852d0b fc170927 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in serial8250_tx_chars
2023/10/05 10:25 upstream 3006adf3be79 b7d7ff54 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in serial8250_tx_chars
2023/09/14 05:49 upstream aed8aee11130 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2023/09/11 10:25 upstream 0bb80ecc33a8 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in serial8250_tx_chars
2023/09/10 14:50 upstream 535a265d7f0d 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2023/09/07 12:38 upstream 7ba2090ca64e 72324844 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2023/08/31 18:03 upstream b97d64c72259 84803932 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2023/10/28 02:53 upstream 888cf78c29e2 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 general protection fault in serial8250_tx_chars
2023/10/16 04:07 upstream 58720809f527 6388bc36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 general protection fault in serial8250_tx_chars
2023/08/28 19:37 upstream 2dde18cd1d8f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2023/08/26 17:48 upstream 7d2f353b2682 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2023/08/21 02:08 upstream 706a74159504 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in serial8250_tx_chars
2023/08/20 07:21 upstream 9e6c269de404 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2023/08/19 19:03 upstream 12e6ccedb311 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2023/08/19 10:01 upstream d4ddefee5160 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in serial8250_tx_chars
2023/08/16 16:42 upstream 4853c74bd7ab 7773e940 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2023/08/12 09:03 upstream f8de32cc060b 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2023/08/06 00:02 upstream f6a691685962 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2023/08/04 20:23 upstream c1a515d3c027 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2023/07/28 19:30 upstream f837f0a3c948 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2023/07/21 23:05 upstream d192f5382581 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2023/07/21 18:41 upstream f7e3a1bafdea 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2023/07/15 00:33 upstream 2772d7df3c93 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2023/07/13 16:26 upstream eb26cbb1a754 86081196 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2023/07/11 17:15 upstream 3f01e9fed845 2f19aa4f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in serial8250_tx_chars
2023/07/10 17:24 upstream 06c2afb862f9 52ae002a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2023/07/08 01:48 upstream 4f6b6c2b2f86 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2023/07/05 23:14 upstream 6cd06ab12d1a ba5dba36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2023/07/05 06:41 upstream d528014517f2 80298b6f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2024/02/12 07:58 linux-next ae00c445390b 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2024/02/02 12:09 linux-next 076d56d74f17 60bf9982 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2024/01/29 00:28 linux-next 01af33cc9894 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2024/01/18 08:41 linux-next 2863b714f3ad 915053c7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2024/01/17 19:10 linux-next 943b9f0ab2cf 915053c7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2024/01/16 01:29 linux-next 8d04a7e2ee3f 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/12/24 09:35 linux-next 39676dfe5233 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/12/24 03:40 linux-next 39676dfe5233 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/12/22 16:50 linux-next 39676dfe5233 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/12/21 14:20 linux-next 857647efa9be 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/11/12 20:28 linux-next e27090b1413f 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/09/29 09:31 linux-next df964ce9ef9f d265efd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/09/27 22:31 linux-next 18030226a48d 2895a507 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/09/18 09:44 linux-next 7fc7222d9680 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/09/13 23:45 linux-next 3c13c772fc23 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/09/11 16:27 linux-next 7bc675554773 59da8366 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/09/06 20:41 linux-next 66d957319396 72324844 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/09/01 21:07 linux-next a47fc304d2b6 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/08/31 19:51 linux-next a47fc304d2b6 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/08/25 12:50 linux-next 626932085009 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/08/25 08:52 linux-next 626932085009 49be837e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/08/21 17:50 linux-next 47d9bb711707 6b415825 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/08/21 17:01 linux-next 47d9bb711707 6b415825 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/08/21 10:44 linux-next 47d9bb711707 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/08/21 07:43 linux-next 47d9bb711707 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/08/18 18:44 linux-next 7271b2a53042 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/08/09 13:05 linux-next 21ef7b1e17d0 3c27dfcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/08/08 16:32 linux-next 71cd4fc492ec 3c27dfcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/08/08 14:47 linux-next 71cd4fc492ec 3c27dfcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/08/08 09:51 linux-next 71cd4fc492ec b1b6ae3d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/08/07 08:49 linux-next f7dc24b34138 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/08/04 23:41 linux-next bdffb18b5dd8 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/07/22 01:36 linux-next ae867bc97b71 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/07/14 01:39 linux-next e32622656258 55eda22f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/07/04 10:36 linux-next 1c6f93977947 6e553898 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/07/03 23:42 linux-next 296d53d8f84c 6e553898 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
2023/06/15 17:35 linux-next 925294c9aa18 757d26ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in serial8250_tx_chars
* Struck through repros no longer work on HEAD.