Re: BUG: unable to handle kernel NULL pointer dereference in fbcon_cursor

From: Daniel Vetter
Date: Mon Jan 18 2021 - 04:47:29 EST

On Sun, Jan 17, 2021 at 03:29:05AM -0800, syzbot wrote:
> syzbot has bisected this issue to:
> commit ea40d7857d5250e5400f38c69ef9e17321e9c4a2
> Author: Daniel Vetter <daniel.vetter@xxxxxxxx>
> Date: Fri Oct 9 23:21:56 2020 +0000
> drm/vkms: fbdev emulation support

Not sure you want to annotate this, but this just makes the bug
reproducible on vkms. It's a preexisting issue (probably a few decades
old) of the fbcon code afaict. It might also be that you can only repro
this when you have multiple fbcon drivers (vkms plus whatever your virtual
machine has I guess).

> bisection log:
> start commit: b3a3cbde Add linux-next specific files for 20210115
> git tree: linux-next
> final oops:
> console output:
> kernel config:
> dashboard link:
> syz repro:
> C reproducer:
> Reported-by: syzbot+b67aaae8d3a927f68d20@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: ea40d7857d52 ("drm/vkms: fbdev emulation support")
> For information about bisection process see:

Daniel Vetter
Software Engineer, Intel Corporation