Files
ubports_kernel_google_msm/include/linux
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
..
2013-03-15 17:05:25 -07:00
2012-04-23 14:23:32 +03:00
2012-04-27 11:03:38 -06:00
2012-04-09 13:57:51 -07:00
2013-02-27 18:13:43 -08:00
2013-02-25 11:29:27 -08:00
2012-04-09 13:57:52 -07:00
2012-03-29 15:38:31 +10:30
2013-02-25 11:29:22 -08:00
2013-02-20 02:50:23 -08:00
2012-05-22 14:01:06 -07:00
2013-02-20 01:31:50 -08:00
2012-04-30 15:30:18 -07:00
2013-03-04 12:44:09 -08:00
2012-04-12 12:57:08 +02:00
2013-03-15 17:08:42 -07:00
2012-04-09 13:53:16 -07:00
2012-04-27 10:46:45 +08:00
2012-04-09 13:57:58 -07:00
2013-03-15 17:08:42 -07:00
2013-09-04 12:43:32 -07:00
2012-03-27 22:45:26 -04:00
2013-02-08 15:04:34 -08:00
2013-09-09 17:01:42 -07:00
2013-02-27 18:13:08 -08:00
2013-09-06 16:15:39 -07:00
2013-03-15 17:08:42 -07:00
2013-02-25 11:29:50 -08:00
2013-03-15 17:24:49 -07:00
2013-06-26 16:28:49 -07:00
2013-02-25 11:29:28 -08:00
2013-02-27 18:16:43 -08:00
2013-09-09 17:01:42 -07:00
2012-03-28 18:30:03 +01:00
2012-05-01 09:40:19 -04:00
2012-05-16 13:27:23 -07:00
2013-02-25 11:29:18 -08:00
2012-04-10 22:39:17 -06:00
2013-03-04 12:45:08 -08:00
2013-03-15 17:07:24 -07:00
2012-04-11 09:36:00 +01:00
2013-02-20 02:50:29 -08:00
2013-02-25 11:29:50 -08:00