fscrypt fixes for v7.4-rc1
Subsystems (2)
Eric Biggers
maintainerThe following changes since commit 5b0764a53235d3c77e1ed674e836e1b3fe1a4b1f:
Merge tag 'drm-next-2026-10-21' of https://gitlab.freedesktop.org/drm/kernel (2026-10-23 18:29:02 -1000)
are available in the Git repository at:
https://git.kernel.org/pub/scm/fs/fscrypt/linux.git tags/fscrypt-for-linus
for you to fetch changes up to a5e894bc87b76fd980075892ba77e6bdeeb5e4d0:
ext4: reject encrypted inodes when block size > page size (2026-10-24 12:58:37 -0700)
----------------------------------------------------------------
- Add more checks to prevent encryption on "large block size" ext4 filesystems (s_blocksize > PAGE_SIZE), which isn't supported yet. There was already a mount-time check, but it wasn't enough.
- Add missing memory barrier to fscrypt_find_mode_key()
- Add missing zeroization in an error path
----------------------------------------------------------------
Alberto Garcia (2):
ext4: refuse encryption when block size > page size
ext4: reject encrypted inodes when block size > page size
Baokun Li (1):
fscrypt: Fix missing barrier in fscrypt_find_mode_key()
Eric Biggers (1):
fscrypt: Explicitly zeroize sw_secret in error path
fs/crypto/keyring.c | 4 +++- fs/crypto/keysetup.c | 8 +++++++- fs/ext4/crypto.c | 9 +++++++++ fs/ext4/inode.c | 6 ++++++ 4 files changed, 25 insertions(+), 2 deletions(-)
The pull request you sent on Thu, 29 Oct 2026 10:06:15 -0700:
The pull request you sent on Thu, 29 Oct 2026 10:06:15 -0700:
Quoted 1 line
https://git.kernel.org/pub/scm/fs/fscrypt/linux.git tags/fscrypt-for-linus
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d89e1d186ec9271bf78e62771779e9fc03bf0fc3
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html