Vulnerability in dm verity: fix require_signatures module_param permissions
Summary
GSD-2021-1001016: dm verity: fix require_signatures module_param permissions. Affects Kernel versions < fb429fad145a987056ac315b2c859197c3daa890. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The dm verity package is a component of the Linux Kernel ecosystem. It provides integrity checking for block devices, ensuring that data remains unaltered. The package includes a module_param called require_signatures, which controls the requirement for signed data. However, there is a vulnerability in the permissions of this module_param, which can potentially be exploited.
Vulnerability Detail
The vulnerability in dm verity's require_signatures module_param permissions allows unauthorized users to modify the requirement for signed data. This can lead to the execution of unsigned or tampered code, compromising the integrity of the system. The impact of this vulnerability depends on the specific usage of dm verity and the potential exploitation scenarios.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a workaround, users can manually modify the permissions of the require_signatures module_param to restrict access. This can be done by modifying the relevant code in the Linux Kernel source files. However, it is strongly advised to apply the official fix by updating the Kernel to the recommended version.
Conclusion
In conclusion, the vulnerability in dm verity's require_signatures module_param permissions can be mitigated by updating the Linux Kernel to version v5.12.11 or later. It is important to promptly apply the fix to ensure the proper security of the require_signatures module_param. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
dm verity is a component of the Linux Kernel that provides integrity checking for block devices, ensuring data remains unaltered.
The vulnerability allows unauthorized users to modify the requirement for signed data, potentially leading to the execution of unsigned or tampered code.
To fix this vulnerability, update the Linux Kernel to version v5.12.11 or later, which includes a commit that addresses the issue.
Yes, a workaround involves manually modifying the permissions of the require_signatures module_param in the Linux Kernel source files. However, it is recommended to apply the official fix by updating the Kernel.
For more details about this vulnerability, refer to the provided references link in the vulnerability details section.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.