Re: [Patch] Incoming XPC channel messages can come in after thechannel's partition structures have been torn down.

From: Robin Holt
Date: Mon Oct 18 2010 - 15:52:32 EST


On Mon, Oct 18, 2010 at 12:40:55PM -0700, Andrew Morton wrote:
> On Mon, 18 Oct 2010 08:35:08 -0500
> Robin Holt <holt@xxxxxxx> wrote:
>
> > Under some workloads, some channel messages have been observed being
> > delayed on the sending side past the point where the receiving side
> > has been able to tear down its partition structures. This condition is
> > already detected in xpc_handle_activate_IRQ_uv(), but that information
> > is not given to xpc_handle_activate_mq_msg_uv(). As a result,
> > xpc_handle_activate_mq_msg_uv() assumes the structures still exist and
> > references them.
>
> With what result? Machine goes boom?
>
> Would you consider this a 2.6.36 fix? Backport to -stable?

I would consider it a backport to stable. It is a NULL pointer deref.
This pach applies back to 2.6.32. I did not try older kernels than
that.

Robin
--
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/