Re: blk: NULL ptr deref in blk_throtl_drain

From: Tejun Heo
Date: Fri Jul 04 2014 - 13:15:51 EST


On Fri, Jul 04, 2014 at 12:45:50PM -0400, Sasha Levin wrote:
> Hi all,
>
> While fuzzing with trinity inside a KVM tools guest running the latest -next
> kernel I've stumbled on the following spew:
>
> [ 3660.610281] BUG: unable to handle kernel NULL pointer dereference at 0000000000000028
> [ 3660.612608] IP: blk_throtl_drain (block/blk-throttle.c:1639)

This is a problem which can also happen before the patch with lower
frequency. There was a fix proposed about a week ago which I
suggested a different approach for. I'll dig up that thread and ping.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/