Refcount Leak in powerpc/secvar Package
Summary
GSD-2022-1001714: powerpc/secvar: fix refcount leak in format_show(). Affects Kernel versions < 2a71e3ecd829a82013cf095c55068c61d991e885. 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 powerpc/secvar package is a component of the Linux Kernel, which is responsible for managing secure variables on PowerPC systems. These secure variables are used to store sensitive information, such as cryptographic keys, that are required for secure booting and other security-related operations. The powerpc/secvar package provides functions and data structures for accessing and manipulating these secure variables. However, a vulnerability has been discovered in the package that can lead to a refcount leak.
Vulnerability Detail
The vulnerability in the powerpc/secvar package is related to a refcount leak in the format_show() function. This function is used to format and display information about secure variables. However, due to a coding error, the function fails to properly release the reference count of the secure variable after it has been displayed. This can result in a refcount leak, where the reference count of the secure variable is not decremented, leading to a potential resource exhaustion issue. An attacker could potentially exploit this vulnerability to exhaust system resources, causing a denial of service (DoS) condition.
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
There is no known workaround for this vulnerability. It is recommended to apply the fix by updating the Linux Kernel to the latest version.
Conclusion
In conclusion, the powerpc/secvar package in the Linux Kernel is vulnerable to a refcount leak in the format_show() function. This vulnerability can potentially lead to a denial of service (DoS) condition. To mitigate this issue, it is recommended to update the Linux Kernel to version v5.15.34 or later. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can potentially lead to a denial of service (DoS) condition by exhausting system resources.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze the dependencies and alert you if any vulnerabilities, including this one, are found.
There is no known exploit for this vulnerability at the moment. However, it is still important to apply the fix to prevent potential exploitation.
All systems running the affected versions of the Linux Kernel with the powerpc/secvar package are potentially vulnerable to this issue.
The best way to mitigate this vulnerability is to apply the fix by updating the Linux Kernel to the latest version. Additionally, it is recommended to follow security best practices, such as keeping software up to date and implementing proper access controls.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.