Files
android_kernel_samsung_msm8226/security
David Howells 4259c17c07 KEYS: Don't permit request_key() to construct a new keyring
If request_key() is used to find a keyring, only do the search part - don't
do the construction part if the keyring was not found by the search.  We
don't really want keyrings in the negative instantiated state since the
rejected/negative instantiation error value in the payload is unioned with
keyring metadata.

Now the kernel gives an error:

	request_key("keyring", "#selinux,bdekeyring", "keyring", KEY_SPEC_USER_SESSION_KEYRING) = -1 EPERM (Operation not permitted)

Signed-off-by: David Howells <dhowells@redhat.com>
CVE-2015-7872
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>

Change-Id: I63ea0e9ec7a95a9f59c706efb0a934b835bc6448
2019-08-06 11:48:15 +02:00
..
2019-08-05 14:22:44 +02:00
2019-08-06 10:44:14 +02:00
2019-08-06 10:44:14 +02:00
2019-08-06 10:44:14 +02:00
2019-08-06 10:44:14 +02:00