netfilter: nf_tables: initialize set before expression setup

Kernel Updated 02 Oct 2025

Summary

30/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1001057: netfilter: nf_tables: initialize set before expression setup. Affects Kernel versions >= 65038428b2c6c5be79d3f78a6b79c0cdc3a58a41, < a1f6740fa3938baa2a45c3dfc53402b78122a8a8. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel package is a crucial component of the Linux operating system. It provides the core functionality and acts as an interface between the hardware and software layers. The netfilter subsystem within the Kernel is responsible for packet filtering, network address translation, and other network-related operations. One of its components, nf_tables, is a framework for configuring firewall rules and network packet filtering. This vulnerability specifically affects the nf_tables component.

Vulnerability Detail

The vulnerability in nf_tables arises from a failure to properly initialize a set before setting up an expression. This can lead to uninitialized memory access and potential security vulnerabilities. Although the impact and attack plausibility have not been proven, this vulnerability has the potential to be exploited by attackers to gain unauthorized access or execute arbitrary code. The vulnerability was introduced in version v5.7 of the Linux Kernel and has been fixed in version v5.12.13.

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 workaround, users can apply patches or backports provided by the Linux distribution they are using. These patches may address the vulnerability without requiring a full Kernel update. It is recommended to consult the official documentation or support channels of the specific Linux distribution for guidance on applying patches or backports.

Conclusion

The netfilter nf_tables vulnerability, which arises from the failure to initialize a set before expression setup, has the potential to be exploited by attackers. It is crucial to update the Linux Kernel to version v5.12.13 or later to mitigate this vulnerability. Alternatively, users can apply patches or backports provided by their Linux distribution. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is not yet proven, but it has the potential to be exploited by attackers to gain unauthorized access or execute arbitrary code.

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 and Vulert will analyze it in real-time.

At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the recommended fixes or workarounds to mitigate any potential risks.

The potential remote exploitability of this vulnerability has not been determined. However, it is always recommended to apply security updates and best practices to minimize the risk of remote attacks.

The primary solution is to update the Linux Kernel to the fixed version. However, if updating is not feasible, users can consult the official documentation or support channels of their Linux distribution for alternative solutions or patches.

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