Memory Leak Vulnerability in nfp Package
Summary
GSD-2021-1002402: nfp: Fix memory leak in nfp_cpp_area_cache_add(). Affects Kernel versions >= 4cb584e0ee7df70fd0376aee60cf701855ea8c81, < 3e93abcdcec0436fbf0b6a88ae806902426895a2. 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 nfp package is a component of the Linux Kernel, which is responsible for managing the Netronome Flow Processor (NFP) devices. These devices are used for high-performance packet processing and offloading tasks. The nfp package provides the necessary drivers and firmware to enable communication with NFP devices and utilize their capabilities. However, a memory leak vulnerability has been discovered in the nfp_cpp_area_cache_add() function, which can lead to resource exhaustion and potential system instability.
Vulnerability Detail
The memory leak vulnerability in the nfp package arises from a flaw in the nfp_cpp_area_cache_add() function. This function is responsible for adding an area to the NFP CPP (Communication Processor) cache. However, it fails to release allocated memory in certain error scenarios, leading to a memory leak. An attacker could potentially exploit this vulnerability by repeatedly triggering the error condition, causing the system to exhaust available memory resources. This could result in system slowdowns, crashes, or even denial-of-service conditions. The vulnerability was introduced in version v4.11 of the Linux Kernel and has been fixed in version v4.14.258.
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 →
Conclusion
The memory leak vulnerability in the nfp package can pose a risk to system stability and performance. It is crucial to update the Linux Kernel to the fixed version to mitigate this vulnerability. For further assistance or support in addressing this vulnerability, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The memory leak vulnerability in the nfp package can lead to resource exhaustion and potential system instability. It may result in system slowdowns, crashes, or denial-of-service conditions.
You can use the Vulert Playground at Vulert 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 memory leak vulnerability, are found.
No specific workaround has been provided for this vulnerability. It is recommended to update the Linux Kernel to the fixed version to mitigate the risk.
This vulnerability requires local access to the system to trigger the error condition and exploit the memory leak. It cannot be exploited remotely over a network.
There are no known instances of this vulnerability being actively exploited in the wild. However, it is still important to apply the necessary updates to protect against potential exploitation.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.