Memory Leak Vulnerability in netfilter: nf_tables
Summary
GSD-2022-1000806: netfilter: nf_tables: fix memory leak during stateful obj update. Affects Kernel versions >= d62d0ba97b5803183e70cfded7f7b9da76893bf5, < e96e204ee6fa46702f6c94c3c69a09e69e0eac52. 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 netfilter package is a part of the Linux Kernel and provides a framework for packet filtering and network address translation. It includes various components, such as nf_tables, which is responsible for managing firewall rules. nf_tables allows users to define rules for packet filtering and perform stateful packet inspection. However, a memory leak vulnerability has been identified in nf_tables during stateful object updates.
Vulnerability Detail
The memory leak vulnerability in nf_tables occurs when updating stateful objects. This vulnerability can be exploited by an attacker to exhaust system memory resources, leading to a denial-of-service condition. By repeatedly triggering the stateful object update process, an attacker can cause the system to run out of memory, resulting in degraded performance or a complete system crash. The vulnerability was introduced in Linux Kernel version 5.4 and has been fixed in version 5.15.26.
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 5.15.26 or later. This update includes the necessary patch to address the memory leak issue in nf_tables. Users can obtain the updated kernel from the official Linux Kernel repository.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to apply the patch provided in the updated Linux Kernel to mitigate the memory leak issue.
Conclusion
The memory leak vulnerability in nf_tables can be mitigated by updating the Linux Kernel to version 5.15.26 or later. It is crucial to apply the provided patch to prevent potential denial-of-service attacks. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
nf_tables is a component of the netfilter package in the Linux Kernel that allows users to define firewall rules and perform stateful packet inspection.
A memory leak vulnerability occurs when a program or system fails to release allocated memory, leading to a gradual depletion of available memory resources.
The memory leak vulnerability in nf_tables can result in a denial-of-service condition, causing degraded system performance or a complete system crash.
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 alert you in real-time if the vulnerability is present.
The updated Linux Kernel, version 5.15.26 or later, can be obtained from the official Linux Kernel repository at https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
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.