Refcount Leak in powerpc/fsl_rio_setup
Summary
GSD-2022-1003567: powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup. Affects Kernel versions >= abc3aeae3aaa5c319d02f12649e17ea5929999aa, < 46fd994763cf6884b88a2da712af918f3ed54d7b. 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/fsl_rio package is a component of the Linux Kernel that provides support for Freescale RapidIO (RIO) devices on PowerPC architecture. RapidIO is a high-performance interconnect technology used in embedded systems. The fsl_rio_setup function in this package is responsible for setting up the RIO subsystem. However, a refcount leak vulnerability has been discovered in this function.
Vulnerability Detail
The refcount leak vulnerability in fsl_rio_setup allows an attacker to cause a reference count leak, leading to a use-after-free condition. By repeatedly calling the fsl_rio_setup function without properly releasing the references, an attacker can exhaust the available memory and potentially execute arbitrary code or crash the system. This vulnerability was introduced in version v3.3 of the Linux Kernel and has been fixed in version v5.10.121.
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 essential to apply the fix by updating the Linux Kernel to the patched version.
Conclusion
The refcount leak vulnerability in powerpc/fsl_rio_setup can have severe consequences, including potential code execution or system crashes. It is crucial to update the Linux Kernel to the fixed version to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
powerpc/fsl_rio is a package in the Linux Kernel that provides support for Freescale RapidIO devices on PowerPC architecture. RapidIO is an interconnect technology used in embedded systems.
The refcount leak vulnerability in fsl_rio_setup can lead to a use-after-free condition, potentially allowing an attacker to execute arbitrary code or crash the system.
You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) to the playground, and it will alert you in real-time if your software is vulnerable.
No, there is no known workaround for this vulnerability. It is crucial to update the Linux Kernel to the patched version.
You can find more information about this vulnerability in the Cloud Security Alliance's GSD database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1003xxx/GSD-2022-1003567.json).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.