syzbot


general protection fault in do_con_write

Status: upstream: reported C repro on 2019/12/03 10:33
Reported-by: syzbot+c2e6f1619d4fab49789a@syzkaller.appspotmail.com
First crash: 1627d, last: 843d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in do_con_write C done 3008 1388d 1627d 1/1 fixed on 2020/09/01 18:34
upstream general protection fault in do_con_write C done 10703 1391d 1626d 15/26 fixed on 2020/09/16 22:51
Last patch testing requests (10)
Created Duration User Patch Repo Result
2023/02/10 07:32 10m retest repro linux-4.14.y report log
2023/02/10 06:32 11m retest repro linux-4.14.y report log
2023/02/10 05:32 11m retest repro linux-4.14.y report log
2023/02/10 04:32 10m retest repro linux-4.14.y report log
2023/02/10 03:32 10m retest repro linux-4.14.y report log
2023/02/10 02:32 9m retest repro linux-4.14.y report log
2023/02/10 01:32 11m retest repro linux-4.14.y report log
2022/09/20 08:29 12m retest repro linux-4.14.y report log
2022/09/20 07:29 11m retest repro linux-4.14.y report log
2022/09/20 06:29 11m retest repro linux-4.14.y report log
Fix bisection attempts (19)
Created Duration User Patch Repo Result
2022/02/25 05:25 0m bisect fix linux-4.14.y error job log (0)
2022/01/26 02:20 26m bisect fix linux-4.14.y job log (0) log
2021/12/27 01:50 25m bisect fix linux-4.14.y job log (0) log
2021/11/27 00:46 27m bisect fix linux-4.14.y job log (0) log
2021/10/28 00:14 31m bisect fix linux-4.14.y job log (0) log
2021/09/23 06:50 30m bisect fix linux-4.14.y job log (0) log
2021/08/24 06:09 29m bisect fix linux-4.14.y job log (0) log
2021/07/25 01:39 29m bisect fix linux-4.14.y job log (0) log
2021/06/24 23:31 22m bisect fix linux-4.14.y job log (0) log
2021/05/25 21:33 26m bisect fix linux-4.14.y job log (0) log
2021/04/25 21:03 29m bisect fix linux-4.14.y job log (0) log
2021/03/26 19:45 21m bisect fix linux-4.14.y job log (0) log
2021/02/24 17:11 23m bisect fix linux-4.14.y job log (0) log
2021/01/25 16:31 22m bisect fix linux-4.14.y job log (0) log
2020/12/26 15:51 23m bisect fix linux-4.14.y job log (0) log
2020/11/26 15:11 23m bisect fix linux-4.14.y job log (0) log
2020/10/27 14:32 23m bisect fix linux-4.14.y job log (0) log
2020/09/27 14:02 23m bisect fix linux-4.14.y job log (0) log
2020/08/28 11:32 27m bisect fix linux-4.14.y job log (0) log

Sample crash report:
audit: type=1400 audit(1593798377.309:8): avc:  denied  { execmem } for  pid=6319 comm="syz-executor848" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 6319 Comm: syz-executor848 Not tainted 4.14.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880a0b52040 task.stack: ffff8880908b0000
RIP: 0010:do_con_write.part.0+0x78e/0x1a20 drivers/tty/vt/vt.c:2411
RSP: 0018:ffff8880908b79d0 EFLAGS: 00010203
RAX: 0000000020000001 RBX: 000000010000000c RCX: 0000000000000002
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff88809a27b5fd
RBP: 00000000000007fe R08: 0000000000000001 R09: 0000000000000000
R10: ffff8880a0b52990 R11: ffff8880a0b52040 R12: dffffc0000000000
R13: ffff88809a27b60c R14: ffff88809a27b280 R15: ffff88808a4772c5
FS:  0000000001551880(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004553a0 CR3: 00000000a9b17000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 do_con_write drivers/tty/vt/vt.c:2218 [inline]
 con_write+0x33/0xc0 drivers/tty/vt/vt.c:2798
 process_output_block drivers/tty/n_tty.c:595 [inline]
 n_tty_write+0x375/0xe20 drivers/tty/n_tty.c:2333
 do_tty_write drivers/tty/tty_io.c:959 [inline]
 tty_write+0x3f1/0x6e0 drivers/tty/tty_io.c:1043
 __vfs_write+0xe4/0x630 fs/read_write.c:480
 vfs_write+0x17f/0x4d0 fs/read_write.c:544
 SYSC_write fs/read_write.c:590 [inline]
 SyS_write+0xf2/0x210 fs/read_write.c:582
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x440459
RSP: 002b:00007fff8d4c4258 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440459
RDX: 0000000000001006 RSI: 0000000020000240 RDI: 0000000000000004
RBP: 00000000006cb018 R08: 000000000000000e R09: 00000000004002c8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401d40
R13: 0000000000401dd0 R14: 0000000000000000 R15: 0000000000000000
Code: 24 b2 00 00 00 66 03 6c 24 38 e8 fe b5 1a fe 48 8b 44 24 78 80 38 00 0f 85 d2 10 00 00 49 8b 9e a0 03 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 14 20 48 89 d8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 
RIP: do_con_write.part.0+0x78e/0x1a20 drivers/tty/vt/vt.c:2411 RSP: ffff8880908b79d0
---[ end trace b65762be2560681c ]---

Crashes (3499):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/03 17:48 linux-4.14.y b850307b279c 6e569755 .config console log report syz C ci2-linux-4-14
2020/06/10 16:02 linux-4.14.y c6db52a88798 5caaad3a .config console log report syz C ci2-linux-4-14
2020/04/22 19:09 linux-4.14.y c10b57a567e4 2e44d63e .config console log report syz C ci2-linux-4-14
2020/02/16 01:24 linux-4.14.y 98db2bf27b9e 5d7b90f1 .config console log report syz C ci2-linux-4-14
2020/01/26 00:34 linux-4.14.y 8bac50406cca f4e7270e .config console log report syz C ci2-linux-4-14
2020/01/24 09:40 linux-4.14.y 8bac50406cca 2e95ab33 .config console log report syz C ci2-linux-4-14
2019/12/03 09:32 linux-4.14.y fbc5fe7a54d0 ab342da3 .config console log report syz C ci2-linux-4-14
2020/07/29 01:13 linux-4.14.y 69b94dd6dcd1 cb93dc6a .config console log report ci2-linux-4-14
2020/07/28 20:36 linux-4.14.y 69b94dd6dcd1 cb93dc6a .config console log report ci2-linux-4-14
2020/07/28 15:15 linux-4.14.y 69b94dd6dcd1 cb93dc6a .config console log report ci2-linux-4-14
2020/07/28 12:14 linux-4.14.y 69b94dd6dcd1 cb93dc6a .config console log report ci2-linux-4-14
2020/07/28 10:27 linux-4.14.y 69b94dd6dcd1 cb93dc6a .config console log report ci2-linux-4-14
2020/07/28 06:40 linux-4.14.y 69b94dd6dcd1 cb93dc6a .config console log report ci2-linux-4-14
2020/07/27 11:02 linux-4.14.y 69b94dd6dcd1 cb93dc6a .config console log report ci2-linux-4-14
2020/07/27 07:35 linux-4.14.y 69b94dd6dcd1 cb93dc6a .config console log report ci2-linux-4-14
2020/07/27 06:11 linux-4.14.y 69b94dd6dcd1 cb93dc6a .config console log report ci2-linux-4-14
2020/07/27 04:19 linux-4.14.y 69b94dd6dcd1 51265195 .config console log report ci2-linux-4-14
2020/07/26 13:31 linux-4.14.y 69b94dd6dcd1 51265195 .config console log report ci2-linux-4-14
2020/07/26 09:49 linux-4.14.y 69b94dd6dcd1 51265195 .config console log report ci2-linux-4-14
2020/07/25 23:40 linux-4.14.y 69b94dd6dcd1 1f7cc1ca .config console log report ci2-linux-4-14
2020/07/24 19:41 linux-4.14.y 69b94dd6dcd1 554af388 .config console log report ci2-linux-4-14
2020/07/24 06:36 linux-4.14.y 69b94dd6dcd1 70c104a1 .config console log report ci2-linux-4-14
2020/07/24 03:16 linux-4.14.y 69b94dd6dcd1 70c104a1 .config console log report ci2-linux-4-14
2020/07/24 01:36 linux-4.14.y 69b94dd6dcd1 70c104a1 .config console log report ci2-linux-4-14
2020/07/23 22:04 linux-4.14.y 69b94dd6dcd1 70c104a1 .config console log report ci2-linux-4-14
2020/07/23 20:05 linux-4.14.y 69b94dd6dcd1 70c104a1 .config console log report ci2-linux-4-14
2020/07/23 16:17 linux-4.14.y 69b94dd6dcd1 70c104a1 .config console log report ci2-linux-4-14
2020/07/23 02:19 linux-4.14.y 69b94dd6dcd1 340ea530 .config console log report ci2-linux-4-14
2020/07/22 18:51 linux-4.14.y 69b94dd6dcd1 128cd85f .config console log report ci2-linux-4-14
2020/07/21 02:16 linux-4.14.y b850307b279c d88894e6 .config console log report ci2-linux-4-14
2020/07/20 18:07 linux-4.14.y b850307b279c 8caeeeb7 .config console log report ci2-linux-4-14
2020/07/20 09:41 linux-4.14.y b850307b279c 8caeeeb7 .config console log report ci2-linux-4-14
2020/07/20 07:40 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/20 00:28 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/19 22:51 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/19 20:57 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/19 20:00 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/19 17:36 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/19 14:32 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/19 13:18 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/19 09:17 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/19 07:26 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/19 03:35 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/19 01:33 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/19 00:07 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/18 21:26 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/18 15:13 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/18 14:06 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/18 12:40 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/18 11:00 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/18 06:56 linux-4.14.y b850307b279c 9c812472 .config console log report ci2-linux-4-14
2020/07/17 11:11 linux-4.14.y b850307b279c 54b3c45e .config console log report ci2-linux-4-14
2020/07/17 08:38 linux-4.14.y b850307b279c 54b3c45e .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.