Double Hook Unregistration Vulnerability in netfilter: nf_tables

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003454: netfilter: nf_tables: double hook unregistration in netns path. Affects Kernel versions >= 767d1216bff82507c945e92fe719dff2083bb2f4, < 9c413a8c8bb49cc16796371805ecb260e885bb2b. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 modules, such as nf_tables, which is responsible for managing firewall rules. The nf_tables module allows users to define rules and actions for packet filtering. However, a vulnerability has been discovered in the nf_tables module that could allow an attacker to perform a double hook unregistration in the netns path.

Vulnerability Detail

The double hook unregistration vulnerability in netfilter: nf_tables allows an attacker to unregister a hook twice in the netns path, leading to a use-after-free condition. This vulnerability was introduced in Linux Kernel version v5.11 and was fixed in version v5.15.45. An attacker could exploit this vulnerability to execute arbitrary code or cause a denial-of-service by manipulating the nf_tables module. The impact and attack plausibility of this vulnerability have not been proven yet.

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 known workaround for this vulnerability at the moment.

Conclusion

The double hook unregistration vulnerability in netfilter: nf_tables can be mitigated by updating the Linux Kernel to the latest version. Regularly updating the kernel is crucial to ensure the system is protected against known vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

Netfilter is a part of the Linux Kernel that provides packet filtering and network address translation capabilities.

nf_tables is a module within netfilter that allows users to define firewall rules and actions for packet filtering.

The vulnerability allows an attacker to unregister a hook twice in the netns path, leading to a use-after-free condition.

The impact of this vulnerability could be arbitrary code execution or denial-of-service attacks by manipulating the nf_tables module.

To fix this vulnerability, update the Linux Kernel to version v5.15.45 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