netfilter: nf_queue: fix possible use-after-free in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1000830: netfilter: nf_queue: fix possible use-after-free. Affects Kernel versions >= 271b72c7fa82c2c7a795bc16896149933110672d, < 4d05239203fa38ea8a6f31e228460da4cb17a71a. 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 Kernel is a crucial component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The nf_queue module in the Kernel is responsible for queuing network packets for further processing by user-space applications. However, a vulnerability has been discovered in the nf_queue module that could lead to a use-after-free scenario.

Vulnerability Detail

The vulnerability in the nf_queue module of the Kernel arises from a use-after-free bug. This bug occurs when a network packet is queued for processing, but the memory associated with the packet is freed before it is handled by the user-space application. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The vulnerability was introduced in version v2.6.29 of the Kernel and has been fixed in version v5.10.104.

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 disable the nf_queue module to mitigate the risk of exploitation. This can be achieved by modifying the Kernel configuration and recompiling it without the nf_queue module. However, this workaround may impact the functionality of certain applications that rely on the nf_queue module for packet processing.

Conclusion

The nf_queue module in the Kernel is vulnerable to a use-after-free bug, which can be exploited to execute arbitrary code or cause a denial-of-service condition. It is crucial to update the Kernel to version v5.10.104 or later to fix this vulnerability. Alternatively, users can temporarily disable the nf_queue module, but this may affect the functionality of certain applications. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The nf_queue module in the Kernel allows network packets to be queued for further processing by user-space applications. It provides a mechanism for applications to intercept and modify network traffic.

An attacker can exploit the use-after-free vulnerability by sending specially crafted network packets that trigger the bug. By manipulating the timing and sequence of packet processing, the attacker can execute arbitrary code or cause a denial-of-service condition.

If successfully exploited, this vulnerability can lead to arbitrary code execution or a denial-of-service condition. An attacker may be able to gain unauthorized access, manipulate network traffic, or disrupt the normal operation of the system.

Yes, the vulnerability has been fixed in Linux Kernel version v5.10.104. Users are advised to update their Kernel to this version or later to ensure the vulnerability is patched.

A temporary workaround is to disable the nf_queue module in the Kernel. However, this may impact the functionality of certain applications that rely on the module for packet processing.

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