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

sashiko-bot at kernel.org sashiko-bot at kernel.org
Wed Oct 21 21:26:29 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/20261021210145.1851396-2-Jeremy.Jean@oss.cyber.gouv.fr?part=2




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