[PATCH v4 2/2] ima: audit failure to supply detached data for modsig

sashiko-bot at kernel.org sashiko-bot at kernel.org
Sat Oct 24 09:55:44 UTC 2026


> ima_collect_measurement() discards a modsig when detached data cannot be
> supplied, but the reason is lost.
> 
> Return the pkcs7_supply_detached_data() error from ima_collect_modsig()
> and emit a separate failed-modsig audit record. Keep ordinary collection
> errors on their existing audit path so both causes are reported when they
> happen together.
> 
> Signed-off-by: Jérémy Jean <Jeremy.Jean at oss.cyber.gouv.fr>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261024093918.2929374-1-Jeremy.Jean@oss.cyber.gouv.fr?part=2




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