Re: [SELINUX/NET] Fix sock_orphan race.

From: David S. Miller
Date: Tue Jun 15 2004 - 23:18:25 EST


On Tue, 15 Jun 2004 10:18:59 -0400 (EDT)
James Morris <jmorris@xxxxxxxxxx> wrote:

> The patch below fixes a race between sock_orphan() and
> selinux_socket_sock_rcv_skb() which can lead to a null pointer deref oops
> under heavy load. The sk_callback_lock is used in the patch to
> synchronize access to the incoming socket's inode security state.
>
> This patch has been under test in the Fedora kernel for over a month
> without incident.

Applied, thanks.
-
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/