[PATCH 0/3] Fix crash with fscrypt + Landlock
Eric Biggers
ebiggers at kernel.org
Mon Mar 13 22:12:28 UTC 2023
This series fixes a bug, found by syzbot, where when a filesystem was
being unmounted, the fscrypt keyring was destroyed before inodes have
been released by the Landlock LSM.
Eric Biggers (3):
fscrypt: destroy keyring after security_sb_delete()
fscrypt: improve fscrypt_destroy_keyring() documentation
fscrypt: check for NULL keyring in fscrypt_put_master_key_activeref()
fs/crypto/keyring.c | 23 +++++++++++++----------
fs/super.c | 15 ++++++++++++---
2 files changed, 25 insertions(+), 13 deletions(-)
base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6
--
2.39.2
More information about the Linux-security-module-archive
mailing list