Keyrings, user namespaces and the user_struct

David Howells dhowells at redhat.com
Wed Oct 26 14:48:58 UTC 2016


Jann Horn <jann at thejh.net> wrote:

> find_keyring_by_name() checks that the UID of the keyring's owner is mapped into
> the current user namespace. But that doesn't catch the scenario I described:
> The keyring is created in an attacker-created namespace and looked up from the
> init namespace, into which all kuids are mapped.

Ah - gotcha.

David


More information about the Containers mailing list