lkml.org 
[lkml]   [2018]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] xen/blkfront: avoid NULL blkfront_info dereference on device removal
From
Date
On Mon, 2018-10-15 at 16:02 +0200, Roger Pau Monné wrote:
>
> > This results in a NULL pointer BUG when blkfront_remove and
> > blkif_free
> > try to access the failing device's NULL struct blkfront_info.
> >
> >
> I guess this is a candidate for backporting?
>

yes, I think so. At least for kernels >=4.5, which could face this
issue due to commit c31ecf6c12 (this frees the struct blkinfo in the
failing path of talk_to_blkback).

thanks,

- Vasilis


\
 
 \ /
  Last update: 2018-10-15 16:27    [W:0.082 / U:1.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site