syzbot


BUG: unable to handle kernel NULL pointer dereference in fbcon_cursor
Status: upstream: reported C repro on 2020/11/16 08:36
Reported-by: syzbot+b67aaae8d3a927f68d20@syzkaller.appspotmail.com
Fix commit: 01faae5193d6 drivers: video: fbcon: fix NULL dereference in fbcon_cursor()
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-arm32]
First crash: 256d, last: 118d

Cause bisection: introduced by (bisect log) :
commit ea40d7857d5250e5400f38c69ef9e17321e9c4a2
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date: Fri Oct 9 23:21:56 2020 +0000

  drm/vkms: fbdev emulation support

Crash: BUG: unable to handle kernel NULL pointer dereference in hide_cursor (log)
Repro: C syz .config
Patch testing requests:
Created Duration User Patch Repo Result
2021/03/31 06:44 0m hassan@shahbazi.fi patch upstream error
2021/03/12 15:14 14m ducheng2@gmail.com patch upstream OK
2021/03/12 14:56 9m ducheng2@gmail.com patch upstream report log
2021/03/12 14:51 14m ducheng2@gmail.com patch upstream OK
2021/03/12 14:50 14m ducheng2@gmail.com patch upstream OK
2021/03/12 14:35 9m ducheng2@gmail.com patch upstream report log
2021/03/12 14:33 15m ducheng2@gmail.com patch upstream OK
2021/03/10 17:39 9m ducheng2@gmail.com upstream report log

Sample crash report:

Crashes (21):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2021/03/25 16:19 upstream 4ee998b0ef8b 607e3baf .config log report syz C BUG: unable to handle kernel NULL pointer dereference in fbcon_cursor
ci-upstream-kasan-gce 2021/03/25 15:38 upstream 4ee998b0ef8b 607e3baf .config log report syz C BUG: unable to handle kernel NULL pointer dereference in fbcon_cursor
ci-upstream-kasan-gce-386 2021/03/28 14:51 upstream 0f4498cef9f5 a8529b82 .config log report syz C BUG: unable to handle kernel NULL pointer dereference in fbcon_cursor
ci-upstream-kasan-gce-386 2021/03/28 08:37 upstream 0f4498cef9f5 a8529b82 .config log report syz C BUG: unable to handle kernel NULL pointer dereference in fbcon_cursor
ci-upstream-kasan-gce 2021/01/17 09:22 upstream 0da0a8a0a0e1 65a7a854 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2021/01/17 08:53 linux-next b3a3cbdec55b 65a7a854 .config log report syz C
ci-upstream-kasan-gce 2021/03/29 00:00 upstream 81b1d39fd39a a8529b82 .config log report info BUG: unable to handle kernel NULL pointer dereference in fbcon_cursor
ci-upstream-kasan-gce 2021/03/05 14:23 upstream 280d542f6ffa 9d751681 .config log report info BUG: unable to handle kernel NULL pointer dereference in fbcon_cursor
ci-upstream-kasan-gce 2021/02/28 08:27 upstream 5695e5161974 4c37c133 .config log report info BUG: unable to handle kernel NULL pointer dereference in fbcon_cursor
ci-upstream-kasan-gce-selinux-root 2021/02/16 14:40 upstream f40ddce88593 98682e5e .config log report info BUG: unable to handle kernel NULL pointer dereference in fbcon_cursor
ci-upstream-kasan-gce 2021/01/25 03:13 upstream e68061375f79 52e37319 .config log report info BUG: unable to handle kernel NULL pointer dereference in fbcon_cursor
ci-upstream-kasan-gce-selinux-root 2021/01/19 16:13 upstream 1e2a199f6ccd 63631df1 .config log report info BUG: unable to handle kernel NULL pointer dereference in fbcon_cursor
ci-upstream-kasan-gce 2021/01/17 08:24 upstream 0da0a8a0a0e1 65a7a854 .config log report info
ci-upstream-kasan-gce 2021/01/15 14:42 upstream 146620506274 65a7a854 .config log report info
ci-upstream-kasan-gce-root 2021/01/14 23:27 upstream 65f0d2414b70 65a7a854 .config log report info
ci-upstream-kasan-gce-root 2021/01/13 10:17 upstream e609571b5ffa 0cdd6185 .config log report info
ci-upstream-kasan-gce-386 2021/01/02 03:11 upstream eda809aef534 79264ae3 .config log report info
ci-upstream-linux-next-kasan-gce-root 2021/01/17 08:02 linux-next b3a3cbdec55b 65a7a854 .config log report info
ci-upstream-linux-next-kasan-gce-root 2021/01/06 03:47 linux-next 83dadd4cfb0c b1c228e1 .config log report info
ci-upstream-linux-next-kasan-gce-root 2021/01/05 13:52 linux-next 83dadd4cfb0c a0234d98 .config log report info
ci-upstream-linux-next-kasan-gce-root 2020/11/11 17:04 linux-next 6dd65e60af98 cca87986 .config log report info