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-1000701: netfilter: nf_queue: fix possible use-after-free. Affects Kernel versions >= 271b72c7fa82c2c7a795bc16896149933110672d, < dcc3cb920bf7ba66ac5e9272293a9ba5f80917ee. 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 packets for userspace processing. 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 arises from a use-after-free issue. This occurs when a memory location is accessed after it has been freed, potentially leading to a crash or the execution of arbitrary code. An attacker could exploit this vulnerability by sending specially crafted packets to a vulnerable system, causing the nf_queue module to mishandle memory and potentially gain unauthorized access or disrupt the system's stability. The vulnerability was introduced in version v2.6.29 of the Kernel and has been fixed in version v5.16.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 temporary workaround, users can disable the nf_queue module if it is not required for their system's functionality. This can be done by modifying the Kernel configuration and rebuilding it without the nf_queue module. However, this workaround may impact certain network-related functionalities that rely on the nf_queue module.

Conclusion

The nf_queue module in the Kernel is susceptible to a use-after-free vulnerability, which could be exploited by an attacker to gain unauthorized access or disrupt system stability. It is recommended to update the Kernel to version v5.16.13 or later to mitigate this vulnerability. Users can also disable the nf_queue module as a temporary workaround, but this may impact certain network-related functionalities. 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 packets to be queued for userspace processing. It provides a mechanism for userspace applications to inspect and modify network packets before they are forwarded by the Kernel.

An attacker can exploit this vulnerability by sending specially crafted packets to a vulnerable system. These packets can trigger the use-after-free issue in the nf_queue module, potentially leading to unauthorized access or system instability.

A use-after-free vulnerability occurs when a program or module continues to reference a memory location after it has been freed. This can lead to crashes, data corruption, or the execution of arbitrary code.

This vulnerability was introduced in version v2.6.29 of the Kernel.

Yes, this vulnerability has been fixed in version v5.16.13 of the Kernel.

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