[RFC PATCH 2/2] keys: Reject keyring creation with overridden credentials
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Thu Sep 24 06:03:14 UTC 2026
> If the current task is running with overridden credentials calling
> commit_creds() is forbidden and triggers a BUG_ON().
>
> Reject keyring creation with -EPERM when credentials are overridden.
>
> Signed-off-by: Jarkko Sakkinen <jarkko at kernel.org>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260924055521.1981957-1-jarkko@kernel.org?part=2
More information about the Linux-security-module-archive
mailing list