Files
Linus Torvalds d665c750d6 net: fix incorrect credentials passing
CVE-2013-1979

[ Upstream commit 83f1b4ba917db5dc5a061a44b3403ddb6e783494 ]

Commit 257b5358b3 ("scm: Capture the full credentials of the scm
sender") changed the credentials passing code to pass in the effective
uid/gid instead of the real uid/gid.

Obviously this doesn't matter most of the time (since normally they are
the same), but it results in differences for suid binaries when the wrong
uid/gid ends up being used.

This just undoes that (presumably unintentional) part of the commit.

Reported-by: Andy Lutomirski <luto@amacapital.net>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Serge E. Hallyn <serge@hallyn.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
2014-06-26 13:29:01 -06:00
..
2012-02-04 16:06:28 -05:00
2012-03-06 15:16:25 -05:00
2012-03-20 21:29:41 -04:00
2011-07-26 16:49:47 -07:00
2012-02-15 16:37:44 -05:00
2011-07-26 16:49:47 -07:00
2013-09-25 17:01:33 +00:00
2012-03-08 00:30:32 -08:00
2012-04-17 22:31:59 -04:00
2012-04-30 10:40:35 +02:00
2013-09-25 17:01:33 +00:00
2011-09-16 19:20:20 -04:00
2011-07-26 16:49:47 -07:00
2011-12-11 18:25:16 -05:00
2014-06-26 13:29:01 -06:00