CyberRota Analysis
AI-GeneratedA vulnerability in the Linux kernel affects filesystems that utilize fs-verity, as the check for fs-verity being enabled during the `setattr_prepare()` function is unnecessary. This oversight allows truncation of fs-verity files even when fs-verity is not enabled, potentially leading to data integrity issues. Linux system administrators and developers working with filesystems that implement fs-verity should prioritize addressing this vulnerability to ensure proper file handling and protection.
Original NVD Description
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.