Re: blk: accessing invalid memory with "blk-mq: dynamic h/w context count"
From: Keith Busch
Date: Fri Feb 12 2016 - 13:50:23 EST
On Fri, Feb 12, 2016 at 04:24:35PM +0800, Ming Lei wrote:
> On Fri, 12 Feb 2016 00:41:28 -0500
> Hi Sasha,
>
> It should be about timing of setting q->mq_ops, and
> I believe the following patch may fix the issue, could
> you give a test?
Thanks, Ming, that looks better and looks like the same as the 0-day
failure from when this was posted a couple months ago. I thought this
was potentially risky looking, but haven't had time to make changes.
I also didn't see that this was applied yet either. I've a broken filter
moving important emails to the junk... On the plus side, the exposure
led to a potential fix.