Messages in this thread | | | Subject | [GIT PULL] integrity subsystem fixes for v5.7 | From | Mimi Zohar <> | Date | Mon, 18 May 2020 11:49:31 -0400 |
| |
Hi Linus,
Here are a couple of miscellaneous bug fixes for the integrity subsystem:
IMA: - Properly modify the open flags in order to calculate the file hash. - On systems requiring the IMA policy to be signed, the policy is loaded differently. Don't differentiate between "enforce" and either "log" or "fix" modes how the policy is loaded.
EVM: - (2 patches) Fix an EVM race condition, normally the result of attempting to load an unsupported hash algorithm. - Use the lockless RCU version for walking an append only list.
Mimi
The following changes since commit ae83d0b416db002fe95601e7f97f64b59514d936:
Linux 5.7-rc2 (2020-04-19 14:35:30 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git next-integrity.fixes
for you to fetch changes up to 8433856947217ebb5697a8ff9c4c9cad4639a2cf:
evm: Fix a small race in init_desc() (2020-05-14 19:55:54 -0400)
---------------------------------------------------------------- Dan Carpenter (1): evm: Fix a small race in init_desc()
Madhuparna Bhowmik (1): evm: Fix RCU list related warnings
Roberto Sassu (3): ima: Set file->f_mode instead of file->f_flags in ima_calc_file_hash() evm: Check also if *tfm is an error pointer in init_desc() ima: Fix return value of ima_write_policy()
security/integrity/evm/evm_crypto.c | 46 ++++++++++++++++++------------------- security/integrity/evm/evm_main.c | 4 ++-- security/integrity/evm/evm_secfs.c | 9 +++++++- security/integrity/ima/ima_crypto.c | 12 +++++----- security/integrity/ima/ima_fs.c | 3 +-- 5 files changed, 40 insertions(+), 34 deletions(-)
| |