lkml.org 
[lkml]   [2018]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] kvm: suppress KVM_SET_GSI_ROUTING allocation failure
On Tue 13-02-18 16:49:20, Paolo Bonzini wrote:
> On 13/02/2018 16:44, Michal Hocko wrote:
> > On Tue 13-02-18 16:03:09, Paolo Bonzini wrote:
[...]
> >> There have been quite a few reports of this from syzkaller and generally
> >> we've fixed them. It does seem like a recipe for NULL-pointer
> >> dereferences when the size is user-controlled (as in this case).
> >
> > We do return NULL for that case regardless the above. The patch just
> > doesn't warn. Or do you think it is helpful to warn?
>
> It certainly helps bringing potential issues in the spotlight (through
> fuzzing, mostly).

Fair enough.

--
Michal Hocko
SUSE Labs

\
 
 \ /
  Last update: 2018-02-13 16:59    [W:0.036 / U:1.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site