| commit | 5926586f291b53cb8a0c9631fc19489be1186e2d | [log] [tgz] |
|---|---|---|
| author | Mimi Zohar <zohar@linux.ibm.com> | Wed Aug 17 17:18:42 2022 -0400 |
| committer | Mimi Zohar <zohar@linux.ibm.com> | Tue Aug 23 10:42:02 2022 -0400 |
| tree | d0705428442592804274b3bd0b93ae8b212e214c | |
| parent | 1c23f9e627a7b412978b4e852793c5e3c3efc555 [diff] |
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: 50f742dd9147 ("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>