Skip to content
Commit 5926586f authored by Mimi Zohar's avatar Mimi Zohar
Browse files

ima: fix blocking of security.ima xattrs of unsupported algorithms



Limit validating the hash algorithm to just security.ima xattr, not
the security.evm xattr or any of the protected EVM security xattrs,
nor posix acls.

Fixes: 50f742dd ("IMA: block writes of the security.ima xattr with unsupported algorithms")
Reported-by: default avatarChristian Brauner <brauner@kernel.org>
Acked-by: default avatarChristian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: default avatarMimi Zohar <zohar@linux.ibm.com>
parent 1c23f9e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment