Skip to content
Commit d2ee2cfc authored by Huaxin Lu's avatar Huaxin Lu Committed by Mimi Zohar
Browse files

ima: Fix a potential integer overflow in ima_appraise_measurement



When the ima-modsig is enabled, the rc passed to evm_verifyxattr() may be
negative, which may cause the integer overflow problem.

Fixes: 39b07096 ("ima: Implement support for module-style appended signatures")
Signed-off-by: default avatarHuaxin Lu <luhuaxin1@huawei.com>
Signed-off-by: default avatarMimi Zohar <zohar@linux.ibm.com>
parent 9fab303a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment