In the Linux kernel, the following vulnerability has been resolved: fs,fsverity: remove check for fsverity being enabled in setattr_prepare() The check that fs-verity is available in the kernel is not necessary here. Filesystems could have fsverity files even without fs-verity enabled. In that case, truncate on fsverity file will succeed, what this check is trying to prevent.
https://git.kernel.org/stable/c/d2f96bcb89d36d488a10e3bcf819b98536968286
https://git.kernel.org/stable/c/2d2b2ed7bdcc6df4942292318c5455b5e94ba525