Use-after-free vulnerability in netfilter

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1000833: netfilter: fix use-after-free in __nf_register_net_hook(). Affects Kernel versions >= 2420b79f8c18a75ee2417cace381f4604b9b4365, < 8b0142c4143c1ca297dcf2c0cdd045d65dae2344. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The netfilter package is a component of the Linux Kernel that provides a framework for packet filtering and network address translation. It allows for the manipulation and filtering of network packets at various stages of the networking stack. This vulnerability affects the netfilter package in the Linux Kernel.

Vulnerability Detail

The vulnerability, identified as GSD-2022-1000833, is a use-after-free issue in the __nf_register_net_hook() function of the netfilter package. This vulnerability was introduced in version v4.14 of the Linux Kernel and was fixed in version v5.10.104. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The vulnerability arises from improper handling of network hooks, leading to a use-after-free scenario.

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 specific workaround has been provided for this vulnerability.

Conclusion

The use-after-free vulnerability in the netfilter package of the Linux Kernel can be mitigated by updating to version v5.10.104 or later. It is recommended to promptly apply the necessary patch to ensure the security and stability of the system. For further support and assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

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

A use-after-free vulnerability occurs when a program continues to use a memory region after it has been freed, leading to potential memory corruption and exploitation.

This vulnerability could allow an attacker to execute arbitrary code or cause a denial-of-service condition on a system running an affected version of the Linux Kernel.

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 provide real-time alerts for open-source vulnerabilities.

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