CVE-2026-99850: fsverity: Explicitly require FMODE_READ to retrieve hashes
fsverity: Explicitly require FMODEREAD to retrieve hashes
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.118 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.64 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.118-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.118-1Fixed in 7.3.4-1 - Compensating control
In fsverity ioctl handling, explicitly require FMODE_READ for FS_IOC_MEASURE_VERITY and FS_IOC_READ_VERITY_METADATA; reject these ioctls on ioctl-only or write-only file descriptors.
Event History
Frequently Asked Questions
Which environments are most exposed to this issue?
Systems using LSMs that rely on security_file_open, such as Landlock or AppArmor, may be exposed to permission gaps for ioctl-only file descriptors. The issue is relevant when fs-verity metadata or measurement ioctls are reachable through such descriptors.
What does an attacker need to exploit it?
An attacker needs to open an ioctl-only file descriptor using the nonstandard access mode 3 and invoke FS_IOC_READ_VERITY_METADATA or FS_IOC_MEASURE_VERITY. This can bypass LSM-granted read permission checks in the described LSM configurations.
What changes with the fix?
The affected fs-verity ioctls explicitly require FMODE_READ. Ioctl-only descriptors, as well as write-only descriptors in the described cases, are no longer allowed to retrieve fs-verity metadata or measurements.