syzbot


general protection fault in redraw_screen

Status: closed as dup on 2020/08/16 01:19
Subsystems: serial
[Documentation on labels]
Reported-by: syzbot+4a5a3604a566ede699b9@syzkaller.appspotmail.com
First crash: 1507d, last: 1439d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in sysfs_warn_dup (log)
Repro: C syz .config
  
Fix bisection: failed (error log, bisect log)
  
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
general protection fault in do_con_write C done 10703 1341d 1577d
Discussions (1)
Title Replies (including bot) Last reply
general protection fault in redraw_screen 0 (1) 2020/02/12 20:07
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2020/05/20 12:41 0m bisect fix upstream error job log (0)
2020/04/20 10:50 19m bisect fix upstream job log (0) log
2020/03/21 10:28 21m bisect fix upstream job log (0) log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0020000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: probably user-memory-access in range [0x0000000100000008-0x000000010000000f]
CPU: 1 PID: 2936 Comm: kworker/1:49 Not tainted 5.6.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events console_callback
RIP: 0010:add_softcursor drivers/tty/vt/vt.c:865 [inline]
RIP: 0010:set_cursor drivers/tty/vt/vt.c:906 [inline]
RIP: 0010:redraw_screen+0xf1c/0x1830 drivers/tty/vt/vt.c:1013
Code: 00 00 00 00 00 fc ff df 80 3c 10 00 74 12 48 89 df e8 68 2f b5 fd 48 ba 00 00 00 00 00 fc ff df 4c 8b 2b 4d 89 ec 49 c1 ec 03 <41> 8a 04 14 84 c0 0f 85 ef 07 00 00 45 0f b7 75 00 48 8b 45 a0 48
RSP: 0018:ffffc900085b7b38 EFLAGS: 00010203
RAX: 1ffff110127e0c74 RBX: ffff888093f063a0 RCX: ffff88809e516640
RDX: dffffc0000000000 RSI: 00000000000000c0 RDI: 0000000000000000
RBP: ffffc900085b7bc0 R08: ffffffff83fef5be R09: ffffed10431c9484
R10: ffffed10431c9484 R11: 0000000000000000 R12: 0000000020000001
R13: 000000010000000c R14: 000000000000001f R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000455300 CR3: 000000008c51f000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 complete_change_console+0xb9/0x750 drivers/tty/vt/vt_ioctl.c:1264
 change_console+0x2d8/0x450 drivers/tty/vt/vt_ioctl.c:1389
 console_callback+0x104/0x330 drivers/tty/vt/vt.c:2824
 process_one_work+0x7f5/0x10f0 kernel/workqueue.c:2264
 worker_thread+0xbbc/0x1630 kernel/workqueue.c:2410
 kthread+0x332/0x350 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Modules linked in:
---[ end trace f61ede7c24462fc9 ]---
RIP: 0010:add_softcursor drivers/tty/vt/vt.c:865 [inline]
RIP: 0010:set_cursor drivers/tty/vt/vt.c:906 [inline]
RIP: 0010:redraw_screen+0xf1c/0x1830 drivers/tty/vt/vt.c:1013
Code: 00 00 00 00 00 fc ff df 80 3c 10 00 74 12 48 89 df e8 68 2f b5 fd 48 ba 00 00 00 00 00 fc ff df 4c 8b 2b 4d 89 ec 49 c1 ec 03 <41> 8a 04 14 84 c0 0f 85 ef 07 00 00 45 0f b7 75 00 48 8b 45 a0 48
RSP: 0018:ffffc900085b7b38 EFLAGS: 00010203
RAX: 1ffff110127e0c74 RBX: ffff888093f063a0 RCX: ffff88809e516640
RDX: dffffc0000000000 RSI: 00000000000000c0 RDI: 0000000000000000
RBP: ffffc900085b7bc0 R08: ffffffff83fef5be R09: ffffed10431c9484
R10: ffffed10431c9484 R11: 0000000000000000 R12: 0000000020000001
R13: 000000010000000c R14: 000000000000001f R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000455300 CR3: 000000008c51f000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/02/12 09:43 upstream 359c92c02bfa a75b198c .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/02/20 07:24 upstream ca7e1fd1026c 81230308 .config console log report ci-upstream-kasan-gce-smack-root
2020/02/20 07:13 upstream ca7e1fd1026c 81230308 .config console log report ci-upstream-kasan-gce-smack-root
2020/02/12 02:47 upstream 359c92c02bfa a75b198c .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.