[PATCH v2] keys: serialise key instantiation against keyctl_chown_key()

Jarkko Sakkinen jarkko at kernel.org
Tue Nov 17 16:21:38 UTC 2026


On Tue, Nov 17, 2026 at 12:34:12PM +0000, Sinan Turunc wrote:
> Subclass 2 is an unused lockdep subclass that is
> only ever taken inside key_construction_mutex. Subclasses 0 and 1 are
> already taken outside keyring_serialise_link_lock by __key_link_lock() and
> __key_move_lock().

Delete also this as there was no bug associated with nesting levels.

And this does not need additional fixes despite I forewarned about that.

I'll wait for v3.

Br, Jarkko




More information about the Linux-security-module-archive mailing list