syzbot


general protection fault in serial8250_tx_chars

Status: auto-obsoleted due to no activity on 2024/06/30 19:57
Subsystems: serial
[Documentation on labels]
Reported-by: syzbot+837b8c9032c053262db8@syzkaller.appspotmail.com
First crash: 527d, last: 216d
Cause bisection: failed (error log, bisect log)
  
Discussions (6)
Title Replies (including bot) Last reply
[syzbot] [serial?] general protection fault in serial8250_tx_chars 1 (4) 2024/04/06 14:53
[syzbot] Monthly serial report (Apr 2024) 0 (1) 2024/04/05 12:46
[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
Last patch testing requests (7)
Created Duration User Patch Repo Result
2024/05/09 15:25 43m retest repro linux-next OK log
2024/04/05 22:25 0m andy.shevchenko@gmail.com git@bitbucket.org:andy-shev/linux.git test-8250-pm error
2024/02/29 12:27 2h57m retest repro linux-next error
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 OK (0) job log log
Cause bisection attempts (2)
Created Duration User Patch Repo Result
2023/10/15 01:26 21m bisect linux-next error job log
2023/08/14 12:13 0m bisect linux-next error job log
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: 0 PID: 5137 Comm: kworker/0:4 Not tainted 6.5.0-rc2-syzkaller-00307-gd192f5382581 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
Workqueue: pm pm_runtime_work
RIP: 0010:serial8250_tx_chars+0x299/0x8b0 drivers/tty/serial/8250/8250_port.c:1813
Code: 8d cc 25 fd 48 8b 2b 48 8b 44 24 20 42 0f b6 04 38 84 c0 0f 85 8f 02 00 00 48 8b 04 24 48 63 00 48 01 c5 48 89 e8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 91 02 00 00 0f b6 6d 00 48 8b 44 24 60
RSP: 0018:ffffc9000432f8b0 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffff88801f490fd0 RCX: 1ffffffff246641b
RDX: 1ffffffff2466465 RSI: 0000000000000000 RDI: ffffffff92332330
RBP: 0000000000000000 R08: ffffffff84bef450 R09: fffff52000865f10
R10: dffffc0000000000 R11: fffff52000865f10 R12: 0000000000000010
R13: ffffffff92332180 R14: ffffffff92332080 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555555c2f938 CR3: 000000002b259000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __start_tx+0x312/0x450 drivers/tty/serial/8250/8250_port.c:1547
 serial_port_runtime_resume+0x1ec/0x2a0 drivers/tty/serial/serial_port.c:40
 __rpm_callback+0x2b9/0x7a0 drivers/base/power/runtime.c:392
 rpm_callback drivers/base/power/runtime.c:446 [inline]
 rpm_resume+0x10b1/0x1af0 drivers/base/power/runtime.c:912
 pm_runtime_work+0x147/0x210 drivers/base/power/runtime.c:977
 process_one_work+0x92c/0x12c0 kernel/workqueue.c:2597
 worker_thread+0xa63/0x1210 kernel/workqueue.c:2748
 kthread+0x2b8/0x350 kernel/kthread.c:389
 ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296
RIP: 0000:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:serial8250_tx_chars+0x299/0x8b0 drivers/tty/serial/8250/8250_port.c:1813
Code: 8d cc 25 fd 48 8b 2b 48 8b 44 24 20 42 0f b6 04 38 84 c0 0f 85 8f 02 00 00 48 8b 04 24 48 63 00 48 01 c5 48 89 e8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 91 02 00 00 0f b6 6d 00 48 8b 44 24 60
RSP: 0018:ffffc9000432f8b0 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffff88801f490fd0 RCX: 1ffffffff246641b
RDX: 1ffffffff2466465 RSI: 0000000000000000 RDI: ffffffff92332330
RBP: 0000000000000000 R08: ffffffff84bef450 R09: fffff52000865f10
R10: dffffc0000000000 R11: fffff52000865f10 R12: 0000000000000010
R13: ffffffff92332180 R14: ffffffff92332080 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000002b259000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	cc                   	int3
   1:	25 fd 48 8b 2b       	and    $0x2b8b48fd,%eax
   6:	48 8b 44 24 20       	mov    0x20(%rsp),%rax
   b:	42 0f b6 04 38       	movzbl (%rax,%r15,1),%eax
  10:	84 c0                	test   %al,%al
  12:	0f 85 8f 02 00 00    	jne    0x2a7
  18:	48 8b 04 24          	mov    (%rsp),%rax
  1c:	48 63 00             	movslq (%rax),%rax
  1f:	48 01 c5             	add    %rax,%rbp
  22:	48 89 e8             	mov    %rbp,%rax
  25:	48 c1 e8 03          	shr    $0x3,%rax
* 29:	42 0f b6 04 38       	movzbl (%rax,%r15,1),%eax <-- trapping instruction
  2e:	84 c0                	test   %al,%al
  30:	0f 85 91 02 00 00    	jne    0x2c7
  36:	0f b6 6d 00          	movzbl 0x0(%rbp),%ebp
  3a:	48 8b 44 24 60       	mov    0x60(%rsp),%rax

Crashes (175):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/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/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/04/21 19:56 upstream 3b68086599f8 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2024/04/21 17:59 upstream 977b1ef51866 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2024/04/21 10:36 upstream 977b1ef51866 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in serial8250_tx_chars
2024/04/19 18:33 upstream 3cdb45594619 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2024/04/14 11:53 upstream fe46a7dd189e c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2024/04/14 07:25 upstream fe46a7dd189e c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2024/04/12 01:58 upstream fe46a7dd189e 478efa7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2024/04/11 05:15 upstream fe46a7dd189e 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2024/04/11 03:30 upstream 480e035fc4c7 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in serial8250_tx_chars
2024/04/10 11:58 upstream fe46a7dd189e 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2024/04/10 07:00 upstream fe46a7dd189e 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2024/04/09 21:18 upstream 480e035fc4c7 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in serial8250_tx_chars
2024/04/08 12:13 upstream fe46a7dd189e ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2024/04/08 07:02 upstream fe46a7dd189e ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2024/04/08 00:56 upstream fe46a7dd189e ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2024/04/07 19:57 upstream 480e035fc4c7 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in serial8250_tx_chars
2024/04/07 00:09 upstream fe46a7dd189e ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in serial8250_tx_chars
2024/04/05 23:18 upstream 480e035fc4c7 18ea8213 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in serial8250_tx_chars
2024/04/05 04:38 upstream 480e035fc4c7 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in serial8250_tx_chars
2024/04/05 03:09 upstream 480e035fc4c7 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in serial8250_tx_chars
2024/04/04 21:59 upstream fe46a7dd189e 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2024/04/04 19:15 upstream fe46a7dd189e 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2024/04/04 16:41 upstream 480e035fc4c7 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in serial8250_tx_chars
2024/04/04 08:37 upstream 480e035fc4c7 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in serial8250_tx_chars
2024/04/04 00:32 upstream fe46a7dd189e fed899ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in serial8250_tx_chars
2024/04/03 19:17 upstream fe46a7dd189e fed899ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2024/04/03 18:06 upstream 480e035fc4c7 fed899ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in serial8250_tx_chars
2024/04/02 19:12 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in serial8250_tx_chars
2024/04/02 09:57 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2024/04/02 03:57 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in serial8250_tx_chars
2024/04/01 22:27 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2024/04/01 18:39 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2024/04/01 09:52 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in serial8250_tx_chars
2024/04/01 08:26 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in serial8250_tx_chars
2024/04/01 05:16 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in serial8250_tx_chars
2024/03/31 23:07 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in serial8250_tx_chars
2024/03/31 21:02 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in serial8250_tx_chars
2024/03/31 20:02 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce general protection fault in serial8250_tx_chars
2024/03/31 08:18 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in serial8250_tx_chars
2024/03/31 05:25 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce 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
2024/04/07 13:13 upstream fe46a7dd189e ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 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
2024/04/09 11:07 linux-next a053fd3ca5d1 56086b24 .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/04/09 08:39 linux-next a053fd3ca5d1 53df08b6 .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/04/08 09:00 linux-next 11cb68ad52ac ca620dd8 .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/04/06 05:00 linux-next 8568bb2ccc27 18ea8213 .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/04/05 10:10 linux-next 8568bb2ccc27 0ee3535e .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/04/04 01:34 linux-next 727900b675b7 51c4dcff .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/04/03 13:03 linux-next 727900b675b7 fed899ed .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/04/01 15:13 linux-next a6bd6c933339 6baf5069 .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/04/01 13:52 linux-next a6bd6c933339 6baf5069 .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.