syzbot


general protection fault in fbcon_cursor

Status: upstream: reported C repro on 2020/01/24 02:58
Reported-by: syzbot+cbd4da6bc76fd38f68b5@syzkaller.appspotmail.com
First crash: 1793d, last: 1620d
Fix bisection the fix commit could be any of (bisect log):
  e0f8b8a65a47 Linux 4.14.170
  4139fb08c05f Linux 4.14.187
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in fbcon_cursor C error 21 1639d 1774d 0/1 upstream: reported C repro on 2020/02/12 12:10
upstream general protection fault in fbcon_cursor fbdev C done 53 1610d 1835d 0/28 closed as dup on 2020/07/27 23:02
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/01/27 15:32 10m retest repro linux-4.14.y report log
2022/09/09 08:27 14m retest repro linux-4.14.y report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2020/06/30 20:07 29m (2) bisect fix linux-4.14.y OK (2) job log
2020/05/25 05:08 24m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
audit: type=1400 audit(1581481633.777:36): avc:  denied  { map } for  pid=7391 comm="syz-executor160" path="/root/syz-executor160516488" dev="sda1" ino=16483 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
Modules linked in:
CPU: 1 PID: 2734 Comm: kworker/1:2 Not tainted 4.14.170-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events console_callback
task: ffff88809f4ba4c0 task.stack: ffff88809f4c8000
RIP: 0010:fbcon_cursor+0x114/0x6f0 drivers/video/fbdev/core/fbcon.c:1325
RSP: 0018:ffff88809f4cfb48 EFLAGS: 00010203
RAX: dffffc0000000000 RBX: ffff8880a5caa540 RCX: ffff888097e519f4
RDX: 0000000020000001 RSI: 0000000000000001 RDI: ffff888097e51a60
RBP: ffff88809f4cfb88 R08: ffff8882192f8a30 R09: ffffed1043256094
R10: ffffed1043256093 R11: ffff8882192b049f R12: ffff888097e516c0
R13: ffff8882192f85c0 R14: 0000000000000001 R15: 000000010000000c
FS:  0000000000000000(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdc7c5cb000 CR3: 00000000a937f000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 set_cursor drivers/tty/vt/vt.c:602 [inline]
 set_cursor+0x1bd/0x240 drivers/tty/vt/vt.c:593
 redraw_screen+0x596/0x7c0 drivers/tty/vt/vt.c:706
 complete_change_console+0xfe/0x360 drivers/tty/vt/vt_ioctl.c:1291
 change_console+0x161/0x270 drivers/tty/vt/vt_ioctl.c:1416
 console_callback+0x337/0x390 drivers/tty/vt/vt.c:2460
 process_one_work+0x863/0x1600 kernel/workqueue.c:2114
 worker_thread+0x5d9/0x1050 kernel/workqueue.c:2248
 kthread+0x319/0x430 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 83 05 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 
RIP: fbcon_cursor+0x114/0x6f0 drivers/video/fbdev/core/fbcon.c:1325 RSP: ffff88809f4cfb48
---[ end trace 391cac51ffd925ae ]---

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/02/12 04:30 linux-4.14.y e0f8b8a65a47 4d1ab643 .config console log report syz C ci2-linux-4-14
2020/07/15 15:53 linux-4.14.y b850307b279c ada108d0 .config console log report ci2-linux-4-14
2020/07/06 12:30 linux-4.14.y b850307b279c ac5a135b .config console log report ci2-linux-4-14
2020/07/05 03:44 linux-4.14.y b850307b279c 24d7f505 .config console log report ci2-linux-4-14
2020/05/31 19:20 linux-4.14.y 4f68020fef1c a0331e89 .config console log report ci2-linux-4-14
2020/04/25 05:08 linux-4.14.y 050272a0423e 03d97a1b .config console log report ci2-linux-4-14
2020/04/01 04:34 linux-4.14.y 01364dad1d45 a34e2c33 .config console log report ci2-linux-4-14
2020/03/29 22:04 linux-4.14.y 01364dad1d45 05736b29 .config console log report ci2-linux-4-14
2020/03/03 22:29 linux-4.14.y 78d697fc93f9 1f73b64b .config console log report ci2-linux-4-14
2020/03/01 19:14 linux-4.14.y 78d697fc93f9 c88c7b75 .config console log report ci2-linux-4-14
2020/03/01 07:21 linux-4.14.y 78d697fc93f9 c88c7b75 .config console log report ci2-linux-4-14
2020/02/29 23:15 linux-4.14.y 78d697fc93f9 c88c7b75 .config console log report ci2-linux-4-14
2020/02/12 02:51 linux-4.14.y e0f8b8a65a47 4d1ab643 .config console log report ci2-linux-4-14
2020/01/31 13:52 linux-4.14.y 9fa690a2a016 5ed23f9a .config console log report ci2-linux-4-14
2020/01/24 02:57 linux-4.14.y 8bac50406cca 11ebf937 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.