[PATCH] fsverity: Explicitly require FMODE_READ to retrieve hashes

Eric Biggers ebiggers at kernel.org
Wed Oct 28 18:06:12 UTC 2026


On Thu, Oct 22, 2026 at 09:15:22PM +0000, Eric Biggers wrote:
> Therefore, just disallow these ioctls on ioctl-only file descriptors,
> similar to what was already done with FS_IOC_ENABLE_VERITY.

Applied to https://git.kernel.org/pub/scm/fs/fsverity/linux.git/log/?h=for-current

Acks from the LSM maintainers would be appreciated as well, given that
this patch fixes the interaction with certain LSMs.

- Eric



More information about the Linux-security-module-archive mailing list