]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: Check the correct namespace when spoofing pid over SCM_RIGHTS
authorAndy Lutomirski <luto@amacapital.net>
Thu, 22 Aug 2013 18:39:15 +0000 (11:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Aug 2013 17:52:52 +0000 (13:52 -0400)
commitd661684cf6820331feae71146c35da83d794467e
treeca8cc23e3d9da33b3ca739f11c1d6e954105aefe
parentdd5746bf6b48bb837e9f5af14b9b241fc4fdc1ef
net: Check the correct namespace when spoofing pid over SCM_RIGHTS

This is a security bug.

The follow-up will fix nsproxy to discourage this type of issue from
happening again.

Cc: stable@vger.kernel.org
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/scm.c