Re: NULL deref around blkmq in v4.0-rc1ârc7

From: Jan Engelhardt
Date: Thu Apr 09 2015 - 18:29:14 EST



On Thursday 2015-04-09 23:12, Linus Torvalds wrote:
>That ->sense_buffer thing is supposed to be initialized by the
>blk_mq_ops.init_request() function, which is called - if it exists =
>when the array of requests ('->rqs[]') is initialized.
>[...]
>Does this entirely untested patch make any difference?

Yes, this seems to solve it for me.


>Anyway, I assume that the actual "disk" in question is mpt fusion?

I had two setups, one non-virtual AHCI, and one emulated mpt,
both of which had failed and are now fixed for what I can tell.
--
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/