syzbot


BUG: unable to handle kernel paging request in do_con_write

Status: closed as dup on 2020/07/20 22:47
Subsystems: serial
[Documentation on labels]
Reported-by: syzbot+d8cbeb7028cd2950172e@syzkaller.appspotmail.com
First crash: 1594d, last: 1409d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: general protection fault in do_con_trol (log)
Repro: C syz .config
  
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
general protection fault in do_con_write C done 10703 1401d 1636d
Discussions (1)
Title Replies (including bot) Last reply
BUG: unable to handle kernel paging request in do_con_write 0 (2) 2020/01/19 17:19
Last patch testing requests (4)
Created Duration User Patch Repo Result
2020/07/19 06:47 16m brookebasile@gmail.com patch upstream OK
2020/07/19 06:44 0m brookebasile@gmail.com patch upstream error OK
2020/07/12 06:48 9m dvyukov@google.com upstream report log
2020/07/10 12:37 0m brookebasile@gmail.com upstream error OK

Sample crash report:
BUG: unable to handle page fault for address: 000000010000000e
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD a98de067 P4D a98de067 PUD 0 
Oops: 0002 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 8686 Comm: syz-executor679 Not tainted 5.5.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:memset16 arch/x86/include/asm/string_64.h:25 [inline]
RIP: 0010:scr_memsetw include/linux/vt_buffer.h:36 [inline]
RIP: 0010:csi_K drivers/tty/vt/vt.c:1558 [inline]
RIP: 0010:do_con_trol drivers/tty/vt/vt.c:2370 [inline]
RIP: 0010:do_con_write+0x9f72/0xf360 drivers/tty/vt/vt.c:2797
Code: 00 00 00 00 00 fc ff df 8a 04 08 84 c0 0f 85 10 44 00 00 48 8b 84 24 a0 00 00 00 0f b7 00 44 89 f9 81 e1 ff ff ff 7f 4c 89 f7 <f3> 66 ab 48 b8 00 00 00 00 00 fc ff df 48 8b 4c 24 50 8a 04 01 84
RSP: 0018:ffffc900021f7880 EFLAGS: 00010202
RAX: 0000000000000720 RBX: 0000000000000000 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff89239ed0 RDI: 000000010000000e
RBP: ffffc900021f7b68 R08: 0000000000000005 R09: ffffffff83fa1e48
R10: ffff8880a274c1c0 R11: 0000000000000003 R12: 0000000000000000
R13: dffffc0000000000 R14: 000000010000000e R15: 0000000000000001
FS:  0000000001545880(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000010000000e CR3: 0000000097629000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 con_write+0x25/0x40 drivers/tty/vt/vt.c:3135
 process_output_block drivers/tty/n_tty.c:595 [inline]
 n_tty_write+0xd0c/0x1200 drivers/tty/n_tty.c:2333
 do_tty_write drivers/tty/tty_io.c:962 [inline]
 tty_write+0x5a1/0x950 drivers/tty/tty_io.c:1046
 __vfs_write+0xb8/0x740 fs/read_write.c:494
 vfs_write+0x270/0x580 fs/read_write.c:558
 ksys_write+0x117/0x220 fs/read_write.c:611
 __do_sys_write fs/read_write.c:623 [inline]
 __se_sys_write fs/read_write.c:620 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:620
 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4404f9
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 5b 14 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffcc98f9338 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004404f9
RDX: 0000000000000078 RSI: 0000000020000000 RDI: 0000000000000004
RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401de0
R13: 0000000000401e70 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
CR2: 000000010000000e
---[ end trace f08a62f87bf81d1c ]---
RIP: 0010:memset16 arch/x86/include/asm/string_64.h:25 [inline]
RIP: 0010:scr_memsetw include/linux/vt_buffer.h:36 [inline]
RIP: 0010:csi_K drivers/tty/vt/vt.c:1558 [inline]
RIP: 0010:do_con_trol drivers/tty/vt/vt.c:2370 [inline]
RIP: 0010:do_con_write+0x9f72/0xf360 drivers/tty/vt/vt.c:2797
Code: 00 00 00 00 00 fc ff df 8a 04 08 84 c0 0f 85 10 44 00 00 48 8b 84 24 a0 00 00 00 0f b7 00 44 89 f9 81 e1 ff ff ff 7f 4c 89 f7 <f3> 66 ab 48 b8 00 00 00 00 00 fc ff df 48 8b 4c 24 50 8a 04 01 84
RSP: 0018:ffffc900021f7880 EFLAGS: 00010202
RAX: 0000000000000720 RBX: 0000000000000000 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff89239ed0 RDI: 000000010000000e
RBP: ffffc900021f7b68 R08: 0000000000000005 R09: ffffffff83fa1e48
R10: ffff8880a274c1c0 R11: 0000000000000003 R12: 0000000000000000
R13: dffffc0000000000 R14: 000000010000000e R15: 0000000000000001
FS:  0000000001545880(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000010000000e CR3: 0000000097629000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (44):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/19 17:19 upstream 8f8972a3127f 0342f8c7 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/07/18 11:06 upstream 8882572675c1 9c812472 .config console log report syz ci-upstream-kasan-gce
2020/06/30 19:29 upstream 9ebcfadb0610 917afeaa .config console log report ci-upstream-kasan-gce
2020/06/03 13:07 upstream d6f9469a03d8 a5ce5de0 .config console log report ci-upstream-kasan-gce-smack-root
2020/05/27 13:51 upstream 444fc5cde643 ec153193 .config console log report ci-upstream-kasan-gce-smack-root
2020/05/13 23:48 upstream 24085f70a6e1 a885920d .config console log report ci-upstream-kasan-gce-smack-root
2020/05/10 16:42 upstream e99332e7b4cd 8742a2b9 .config console log report ci-upstream-kasan-gce-smack-root
2020/05/05 12:44 upstream 47cf1b422e60 4b76dd25 .config console log report ci-upstream-kasan-gce-smack-root
2020/05/04 09:34 upstream 0e698dfa2822 58ae5e18 .config console log report ci-upstream-kasan-gce-smack-root
2020/05/01 20:42 upstream 052c467cb587 bc734e7a .config console log report ci-upstream-kasan-gce-smack-root
2020/04/26 05:18 upstream b2768df24ec4 99b258dd .config console log report ci-upstream-kasan-gce-smack-root
2020/03/28 07:40 upstream 69c5eea3128e 831e9a81 .config console log report ci-upstream-kasan-gce-smack-root
2020/03/26 20:56 upstream 9420e8ade435 6d25c5a0 .config console log report ci-upstream-kasan-gce-smack-root
2020/03/21 06:22 upstream 5ad0ec0b8652 2c31c529 .config console log report ci-upstream-kasan-gce-smack-root
2020/03/19 09:55 upstream 5076190daded 2c31c529 .config console log report ci-upstream-kasan-gce-smack-root
2020/03/01 03:09 upstream 63623fd44972 c88c7b75 .config console log report ci-upstream-kasan-gce-smack-root
2020/02/29 18:16 upstream f8788d86ab28 59b57593 .config console log report ci-upstream-kasan-gce-smack-root
2020/02/29 12:06 upstream f8788d86ab28 59b57593 .config console log report ci-upstream-kasan-gce-smack-root
2020/02/28 17:35 upstream f8788d86ab28 59b57593 .config console log report ci-upstream-kasan-gce-smack-root
2020/02/28 13:51 upstream f8788d86ab28 59b57593 .config console log report ci-upstream-kasan-gce-smack-root
2020/02/28 08:48 upstream f8788d86ab28 59b57593 .config console log report ci-upstream-kasan-gce-smack-root
2020/02/28 00:01 upstream f8788d86ab28 59b57593 .config console log report ci-upstream-kasan-gce-smack-root
2020/02/24 01:10 upstream d2eee25858f2 d801cb02 .config console log report ci-upstream-kasan-gce-smack-root
2020/02/23 15:32 upstream 0a115e5f23b9 2c36e7a7 .config console log report ci-upstream-kasan-gce-smack-root
2020/02/20 20:21 upstream ca7e1fd1026c bd2a74a3 .config console log report ci-upstream-kasan-gce-smack-root
2020/02/16 23:10 upstream 11a48a5a18c6 1f448cd6 .config console log report ci-upstream-kasan-gce-smack-root
2020/02/16 18:32 upstream db70e26e33ee cf914200 .config console log report ci-upstream-kasan-gce-smack-root
2020/02/15 20:25 upstream 829e69446995 5d7b90f1 .config console log report ci-upstream-kasan-gce-smack-root
2020/02/14 14:29 upstream b19e8c684703 5d7b90f1 .config console log report ci-upstream-kasan-gce-smack-root
2020/02/13 16:16 upstream 0bf999f9c5e7 c5ed587f .config console log report ci-upstream-kasan-gce-smack-root
2020/02/13 16:12 upstream 0bf999f9c5e7 c5ed587f .config console log report ci-upstream-kasan-gce-smack-root
2020/02/12 14:40 upstream 359c92c02bfa 84f4fc8a .config console log report ci-upstream-kasan-gce-smack-root
2020/02/11 14:52 upstream 0a679e13ea30 4d1ab643 .config console log report ci-upstream-kasan-gce-smack-root
2020/02/01 22:02 upstream 94f2630b1897 2274ad39 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/31 14:24 upstream ccaaaf6fe5a5 5ed23f9a .config console log report ci-upstream-kasan-gce-smack-root
2020/01/31 00:53 upstream 9f68e3655aae 5ed23f9a .config console log report ci-upstream-kasan-gce-smack-root
2020/01/29 11:27 upstream b3a608222336 c8e81ce4 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/26 21:22 upstream a45ea48e2bcd dd56146d .config console log report ci-upstream-kasan-gce-smack-root
2020/01/24 20:36 upstream 6381b442836e 2e95ab33 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/20 13:42 upstream def9d2780727 d2557fb5 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/19 15:53 upstream 8f8972a3127f 0342f8c7 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/19 15:17 upstream 8f8972a3127f 0342f8c7 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/16 03:37 upstream 51d69817519f f9b69507 .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.