ima: fix blocking of security.ima xattrs of unsupported algorithms
[ Upstream commit 5926586f ] 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:Christian Brauner <brauner@kernel.org> Acked-by:
Christian Brauner (Microsoft) <brauner@kernel.org> Signed-off-by:
Mimi Zohar <zohar@linux.ibm.com> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading