diff options
author | THOBY Simon <Simon.THOBY@viveris.fr> | 2021-08-16 11:10:59 +0300 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2021-08-17 00:30:41 +0300 |
commit | 50f742dd91474e7f4954bf88d094eede59783883 (patch) | |
tree | 1e166fbbcf7811a2c9a9f67d330139345b1b872e /LICENSES | |
parent | 8510505d55e194d3f6c9644c9f9d12c4f6b0395a (diff) | |
download | linux-50f742dd91474e7f4954bf88d094eede59783883.tar.xz |
IMA: block writes of the security.ima xattr with unsupported algorithms
By default, writes to the extended attributes security.ima will be
allowed even if the hash algorithm used for the xattr is not compiled
in the kernel (which does not make sense because the kernel would not
be able to appraise that file as it lacks support for validating the
hash).
Prevent and audit writes to the security.ima xattr if the hash algorithm
used in the new value is not available in the current kernel.
Signed-off-by: THOBY Simon <Simon.THOBY@viveris.fr>
Reviewed-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions