[RFC PATCH 1/4] KEYS: trusted: Disable sysfs bind attributes for TEE driver

sashiko-bot at kernel.org sashiko-bot at kernel.org
Mon Nov 2 12:27:42 UTC 2026


> trusted_key_exit() calls unregister_key_type() from the TEE client
> driver .remove() callback. Suppress sysfs bind and unbind attributes on
> trusted_key_driver so userspace cannot unbind the driver and unregister
> key_type_trusted while the trusted module remains loaded.
> 
> Signed-off-by: Jarkko Sakkinen <jarkko at kernel.org>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261102121518.1197453-1-jarkko@kernel.org?part=1




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