netfilter: nf_tables: Memory Leak in Flow Rule Commit Path

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003719: netfilter: nf_tables: memleak flow rule from commit path. Affects Kernel versions >= c9626a2cbdb20e26587b3fad99960520a023432b, < 5b8d63489c3b701eb2a76f848ec94d8cbc9373b9. 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 Linux Kernel is a widely used open-source operating system that serves as the foundation for various Linux distributions. It provides essential functionality and manages system resources. The netfilter subsystem within the Kernel is responsible for packet filtering, network address translation, and other network-related operations. nf_tables is a component of netfilter that allows users to define and manage firewall rules. This vulnerability affects the nf_tables module in the Linux Kernel.

Vulnerability Detail

The vulnerability identified as GSD-2022-1003719 is a memory leak issue in the flow rule commit path of nf_tables. When committing a flow rule, a memory leak occurs, leading to the consumption of system resources. Although the impact and attack plausibility have not been proven, this vulnerability has the potential to degrade system performance and stability over time. The vulnerability was introduced in Linux Kernel version 5.3 by commit c9626a2cbdb20e26587b3fad99960520a023432b and has been fixed in version 5.4.198 by commit 5b8d63489c3b701eb2a76f848ec94d8cbc9373b9.

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

As a temporary workaround, users can unload and reload the nf_tables module to release the consumed memory. This can be achieved by executing the following commands as root:

# rmmod nf_tables
# modprobe nf_tables

Conclusion

In conclusion, the netfilter nf_tables module in the Linux Kernel is affected by a memory leak vulnerability in the flow rule commit path. This vulnerability can lead to resource consumption and potential system performance degradation. It is recommended to update the Kernel to version 5.4.198 or later to mitigate this issue. If you require further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

nf_tables is a component of the netfilter subsystem in the Linux Kernel. It provides a framework for defining and managing firewall rules, packet filtering, and network address translation.

The impact of this vulnerability is the gradual consumption of system resources due to a memory leak in the flow rule commit path of nf_tables. This can lead to degraded system performance and stability over time.

You can use Vulert's playground (https://vulert.com/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 software.

As a temporary workaround, you can unload and reload the nf_tables module to release the consumed memory. This can be done by executing the following commands as root:

# rmmod nf_tables
# modprobe nf_tables

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