Re: [PATCH v2] fbcon: fix null-ptr-deref in fbcon_switch

2020-03-31 Thread Daniel Vetter
On Mon, Mar 30, 2020 at 09:16:19PM +0200, Sam Ravnborg wrote: > Hi Qiujun > > On Sun, Mar 29, 2020 at 04:56:47PM +0800, Qiujun Huang wrote: > > Set logo_shown to FBCON_LOGO_CANSHOW when the vc was deallocated. > > > > syzkaller report: https://lkml.org/lkml/2020/3/27/403 > > general protection fa

Re: [PATCH v2] fbcon: fix null-ptr-deref in fbcon_switch

2020-03-30 Thread Sam Ravnborg
Hi Qiujun On Sun, Mar 29, 2020 at 04:56:47PM +0800, Qiujun Huang wrote: > Set logo_shown to FBCON_LOGO_CANSHOW when the vc was deallocated. > > syzkaller report: https://lkml.org/lkml/2020/3/27/403 > general protection fault, probably for non-canonical address > 0xdc6c: [#1] SMP

[PATCH v2] fbcon: fix null-ptr-deref in fbcon_switch

2020-03-30 Thread Qiujun Huang
Set logo_shown to FBCON_LOGO_CANSHOW when the vc was deallocated. syzkaller report: https://lkml.org/lkml/2020/3/27/403 general protection fault, probably for non-canonical address 0xdc6c: [#1] SMP KASAN KASAN: null-ptr-deref in range [0x0360-0x0367] RIP: 0