Potential Leak in nfp_tunnel_add_shared_mac() in Kernel

Kernel Updated 02 Oct 2025

Summary

18/03/2022
N/A
No i
Unrated
Not published

GSD-2022-1000889: nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac(). Affects Kernel versions >= 20cce88650981ec504d328dbbdd004d991eb8535, < 5ad5886f85b6bd893e3ed19013765fb0c243c069. 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 Kernel is a crucial component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the overall stability and security of the system. The nfp_tunnel_add_shared_mac() function is a part of the Kernel's flower module, which is responsible for managing network flow rules. This function is used to add a shared MAC address to a network tunnel. A shared MAC address allows multiple network interfaces to share the same MAC address, enabling efficient network traffic management. However, a potential vulnerability has been identified in this function.

Vulnerability Detail

The vulnerability in nfp_tunnel_add_shared_mac() can lead to a potential memory leak. When adding a shared MAC address to a network tunnel, the function may fail to release allocated memory in certain scenarios. This can result in a gradual accumulation of unreleased memory, leading to resource exhaustion and potential system instability. Although the impact and attack plausibility of this vulnerability have not been proven, it is essential to address it to ensure the overall security and stability of the system.

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 specific workaround mentioned for this vulnerability. It is advised to update the Kernel to the fixed version as mentioned in the 'how_to_fix' section.

Conclusion

In conclusion, a potential memory leak vulnerability has been identified in the nfp_tunnel_add_shared_mac() function of the Kernel's flower module. This vulnerability can lead to resource exhaustion and system instability. It is crucial to update the Linux Kernel to version v5.4.182 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can potentially lead to resource exhaustion and system instability due to a gradual accumulation of unreleased memory. However, the actual impact and attack plausibility have not been proven.

You can use Vulert's playground at Vulert 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 in the software.

As of now, there is no known exploit for this vulnerability. However, it is crucial to address it by updating the Kernel to the fixed version to mitigate any potential risks.

The specific prerequisites for exploiting this vulnerability are not mentioned. However, it is always recommended to keep the system up to date with the latest security patches and updates to minimize the risk of exploitation.

You can find more information about this vulnerability in the GSD-2022-1000889 entry of the GSD database maintained by the Cloud Security Alliance. The link to the specific vulnerability entry is provided in the 'affected' section of this report.

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