Skip to content

Fix crash with fscrypt + Landlock

Eric Biggers linux-fscrypt linux-fsdevel linux-security-module stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3fscrypt: destroy keyring after security_sb_delete()fs/super.c+12 -31 reply
2/3fscrypt: improve fscrypt_destroy_keyring() documentationfs/crypto/keyring.c+11 -100 replies
3/3fscrypt: check for NULL keyring in fscrypt_put_master_key_activeref()fs/crypto/keyring.c+2 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchChristian Brauner
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Fix crash with fscrypt + Landlock

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

Signature · 1 line
2.39.2