Vulnerability in Kernel package: Potential Leak in nfp_tunnel_add_shared_mac()

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1000859: nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac(). Affects Kernel versions >= 20cce88650981ec504d328dbbdd004d991eb8535, < af4bc921d39dffdb83076e0a7eed1321242b7d87. 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 Penetration testing for web, API and mobile 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 package is a fundamental component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The nfp_tunnel_add_shared_mac() function is a part of the Kernel's flower module, which handles network flow processing. This vulnerability specifically affects the nfp_tunnel_add_shared_mac() function within the flower module.

Vulnerability Detail

The nfp_tunnel_add_shared_mac() function in the Kernel's flower module has a potential memory leak. This vulnerability could allow an attacker to exhaust system resources by repeatedly invoking the function, leading to a denial of service (DoS) condition. The memory leak occurs when the function fails to release allocated memory in certain error scenarios. Although the impact and attack plausibility have not been proven, it is essential to address this vulnerability to ensure system stability and prevent potential resource exhaustion attacks.

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

No workaround has been provided for this vulnerability. It is recommended to apply the fix by updating the Linux Kernel to the latest version.

Conclusion

The vulnerability in the Kernel's nfp_tunnel_add_shared_mac() function poses a potential risk of resource exhaustion attacks. To mitigate this risk, it is crucial to update the Linux Kernel to version v5.10.103 or later. This update includes the necessary fix to address the memory leak issue. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability could potentially lead to a denial of service (DoS) condition by exhausting system resources.

An attacker could exploit this vulnerability by repeatedly invoking the nfp_tunnel_add_shared_mac() function, causing a memory leak and potentially exhausting system resources.

There is no evidence of this vulnerability being exploited in the wild at the time of this report.

This vulnerability was introduced in version v5.1 of the Linux Kernel. Versions prior to v5.1 are not affected.

Yes, the vulnerability can be fixed by updating the Linux Kernel to version v5.10.103 or later.

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