Memory Leak in fsl_ifc Package
Summary
GSD-2021-1001374: memory: fsl_ifc: fix leak of private memory on probe failure. Affects Kernel versions >= a20cbdeffce247a2b6fb83cd8d22433994068565, < ee1aa737ba0b75ab8af3444c4ae5bdba36aed6e6. 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 fsl_ifc package is a memory management component in the Linux Kernel. It is responsible for handling memory allocation and deallocation for the Freescale Integrated Flash Controller (IFC) driver. The IFC driver is used in embedded systems and provides access to the flash memory. The fsl_ifc package is an essential part of the Linux Kernel and is widely used in various devices.
Vulnerability Detail
The vulnerability identified in the fsl_ifc package is a memory leak issue that occurs when the probe of the driver fails. The driver fails to release private memory allocated during the probe, leading to a memory leak. This vulnerability can potentially exhaust system memory resources, resulting in performance degradation or system instability. The vulnerability was introduced in version v3.3 of the Linux Kernel and is fixed in version v4.19.198.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.19.198 or later. The fix for this vulnerability is implemented in commit ee1aa737ba0b75ab8af3444c4ae5bdba36aed6e6. Updating the Linux Kernel will ensure that the memory leak issue is resolved and the private memory is properly released on probe failure.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability. The recommended approach is to update the Linux Kernel to the fixed version.
Conclusion
The memory leak vulnerability in the fsl_ifc package can be mitigated by updating the Linux Kernel to version v4.19.198 or later. This update ensures that the private memory is properly released on probe failure, preventing memory exhaustion and potential system instability. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to a memory leak, potentially causing system performance degradation or instability.
You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities.
There is no known exploit for this vulnerability at the moment. However, it is important to update the Linux Kernel to the fixed version to mitigate any potential risks.
There are no other related vulnerabilities reported in the fsl_ifc package at the moment.
You can find more information about this vulnerability in the Open Source Vulnerability database maintained by the Cloud Security Alliance. The vulnerability ID is GSD-2021-1001374.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.