syzbot


general protection fault in fbcon_cursor

Status: upstream: reported C repro on 2020/02/12 12:10
Reported-by: syzbot+44d06f09e5acfbfebdc8@syzkaller.appspotmail.com
First crash: 1532d, last: 1397d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in fbcon_cursor C inconclusive 15 1377d 1551d 0/1 upstream: reported C repro on 2020/01/24 02:58
upstream general protection fault in fbcon_cursor fbdev C done 53 1368d 1593d 0/26 closed as dup on 2020/07/27 23:02
Last patch testing requests (1)
Created Duration User Patch Repo Result
2022/08/28 02:27 11m retest repro linux-4.19.y error OK

Sample crash report:
audit: type=1400 audit(1581509213.161:36): avc:  denied  { map } for  pid=8295 comm="syz-executor177" path="/root/syz-executor177002793" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file 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
CPU: 0 PID: 14 Comm: kworker/0:1 Not tainted 4.19.103-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events console_callback
RIP: 0010:fbcon_cursor+0x114/0x7b0 drivers/video/fbdev/core/fbcon.c:1347
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 43 06 00 00 4d 8b bc 24 a0 03 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 <0f> b6 14 02 4c 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 4d
RSP: 0018:ffff8880aa3afb00 EFLAGS: 00010203
RAX: dffffc0000000000 RBX: ffff8882196fdc80 RCX: ffffffff83b53100
RDX: 0000000020000001 RSI: ffffffff838908ec RDI: ffff8880827126a0
RBP: ffff8880aa3afb40 R08: ffff8880a54671e8 R09: ffffed1014b72f04
R10: ffffed1014b72f03 R11: ffff8880a5b9781f R12: ffff888082712300
R13: ffff8880a5466d80 R14: 0000000000000001 R15: 000000010000000c
FS:  0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000f05d00 CR3: 00000000a9014000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 set_cursor drivers/tty/vt/vt.c:908 [inline]
 set_cursor+0x1fb/0x280 drivers/tty/vt/vt.c:899
 redraw_screen+0x60f/0x8e0 drivers/tty/vt/vt.c:1015
 complete_change_console+0x105/0x3a0 drivers/tty/vt/vt_ioctl.c:1277
 change_console+0x19b/0x2c0 drivers/tty/vt/vt_ioctl.c:1402
 console_callback+0x3a1/0x400 drivers/tty/vt/vt.c:2800
 process_one_work+0x989/0x1750 kernel/workqueue.c:2153
 worker_thread+0x98/0xe40 kernel/workqueue.c:2296
 kthread+0x354/0x420 kernel/kthread.c:246
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Modules linked in:
---[ end trace c46089ad2f94fde1 ]---
RIP: 0010:fbcon_cursor+0x114/0x7b0 drivers/video/fbdev/core/fbcon.c:1347
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 43 06 00 00 4d 8b bc 24 a0 03 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 <0f> b6 14 02 4c 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 4d
RSP: 0018:ffff8880aa3afb00 EFLAGS: 00010203
RAX: dffffc0000000000 RBX: ffff8882196fdc80 RCX: ffffffff83b53100
RDX: 0000000020000001 RSI: ffffffff838908ec RDI: ffff8880827126a0
RBP: ffff8880aa3afb40 R08: ffff8880a54671e8 R09: ffffed1014b72f04
R10: ffffed1014b72f03 R11: ffff8880a5b9781f R12: ffff888082712300
R13: ffff8880a5466d80 R14: 0000000000000001 R15: 000000010000000c
FS:  0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000f05d00 CR3: 00000000a9014000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (21):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/02/12 12:10 linux-4.19.y 357668399cf7 a75b198c .config console log report syz C ci2-linux-4-19
2020/06/26 00:00 linux-4.19.y a39e75458e1c aea82c00 .config console log report ci2-linux-4-19
2020/06/15 00:09 linux-4.19.y 3fc898571b97 2a22c77a .config console log report ci2-linux-4-19
2020/06/01 13:11 linux-4.19.y 2d16cf4817bc a0331e89 .config console log report ci2-linux-4-19
2020/05/01 22:00 linux-4.19.y 765675379b62 bc734e7a .config console log report ci2-linux-4-19
2020/04/29 16:06 linux-4.19.y 765675379b62 ba2806db .config console log report ci2-linux-4-19
2020/04/19 09:42 linux-4.19.y 8488c3f3bc86 6dfd45e1 .config console log report ci2-linux-4-19
2020/04/12 06:52 linux-4.19.y dda0e2920330 a8c6a3f8 .config console log report ci2-linux-4-19
2020/04/08 19:44 linux-4.19.y dda0e2920330 db9bcd4b .config console log report ci2-linux-4-19
2020/04/02 15:22 linux-4.19.y dda0e2920330 a34e2c33 .config console log report ci2-linux-4-19
2020/04/02 08:28 linux-4.19.y 54b4fa6d3955 a34e2c33 .config console log report ci2-linux-4-19
2020/04/02 00:02 linux-4.19.y 54b4fa6d3955 a34e2c33 .config console log report ci2-linux-4-19
2020/03/29 08:31 linux-4.19.y 54b4fa6d3955 05736b29 .config console log report ci2-linux-4-19
2020/03/19 12:47 linux-4.19.y 93556fb211fa 2c31c529 .config console log report ci2-linux-4-19
2020/03/16 10:33 linux-4.19.y 339485c9a80f 749688d2 .config console log report ci2-linux-4-19
2020/03/05 21:52 linux-4.19.y 7472c4028e23 b655d91b .config console log report ci2-linux-4-19
2020/03/01 19:20 linux-4.19.y a083db76118d c88c7b75 .config console log report ci2-linux-4-19
2020/02/27 10:35 linux-4.19.y f25804f38984 40bcfdd5 .config console log report ci2-linux-4-19
2020/02/26 15:12 linux-4.19.y f25804f38984 251aabb7 .config console log report ci2-linux-4-19
2020/02/26 03:53 linux-4.19.y f25804f38984 4f588111 .config console log report ci2-linux-4-19
2020/02/25 06:57 linux-4.19.y f25804f38984 59b57593 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.