Memory Leak Vulnerability in nfp Package

Kernel Updated 02 Oct 2025

Summary

19/12/2021
N/A
No i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback