NULL pointer dereference in qlcnic_83xx_add_rings() in Kernel

Kernel Updated 02 Oct 2025

Summary

19/12/2021
N/A
No i
Unrated
Not published

GSD-2021-1002492: net: qlogic: qlcnic: Fix a NULL pointer dereference in qlcnic_83xx_add_rings(). Affects Kernel versions >= 7f9664525f9cb507de9198a395a111371413f230, < 15fa12c119f869173f9b710cbe6a4a14071d2105. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Kernel is a crucial component of the Linux operating system that provides core functionality and acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the overall stability and security of the system. The qlcnic driver in the Kernel is responsible for supporting QLogic network adapters.

The qlcnic_83xx_add_rings() function is a part of the qlcnic driver and is used to add rings for the QLogic network adapter. However, a vulnerability exists in this function that can lead to a NULL pointer dereference.

A NULL pointer dereference occurs when a program attempts to access or manipulate memory using a pointer that points to NULL (i.e., does not point to any valid memory location). This can result in a system crash or potentially allow an attacker to execute arbitrary code or trigger a denial-of-service (DoS) condition.

Vulnerability Detail

The vulnerability in qlcnic_83xx_add_rings() arises due to a lack of proper validation of input parameters. When certain conditions are met, a NULL pointer can be dereferenced, leading to a system crash or potential code execution.

An attacker may exploit this vulnerability by sending specially crafted network packets to a vulnerable system, causing the qlcnic driver to trigger the NULL pointer dereference. This can result in a denial-of-service (DoS) condition or potentially allow the attacker to execute arbitrary code with elevated privileges.

The vulnerability was introduced in version v3.9 of the Linux Kernel and has been fixed in version v5.10.84 by commit 15fa12c119f869173f9b710cbe6a4a14071d2105.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.84 or later. This can be done by downloading the latest stable version of the Kernel from the official repository and following the installation instructions provided.

Alternatively, if updating the Kernel is not feasible, applying the specific patch for this vulnerability can also address the issue. The patch can be obtained from the official Linux Kernel repository or from the commit mentioned in the vulnerability details.

It is important to regularly update the Kernel and other software components to ensure the latest security patches are applied.

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 consider disabling or blocking network traffic to the vulnerable system, especially from untrusted sources. This can help mitigate the risk of exploitation until the Kernel is updated or the patch is applied.

Here is an example of how to use iptables to block incoming traffic on a specific port (e.g., port 12345):

iptables -A INPUT -p tcp --dport 12345 -j DROP

Please note that this workaround may impact legitimate network communication, so it should be implemented with caution and reviewed based on the specific environment and requirements.

Conclusion

The NULL pointer dereference vulnerability in qlcnic_83xx_add_rings() in the Kernel can lead to system crashes, code execution, or denial-of-service (DoS) conditions. It is crucial to update the Linux Kernel to version v5.10.84 or later to mitigate this vulnerability. Alternatively, applying the specific patch can also address the issue. Implementing network traffic blocking as a temporary workaround can provide additional protection until the Kernel is updated or patched.

For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can result in a system crash or potentially allow an attacker to execute arbitrary code or trigger a denial-of-service (DoS) condition.

An attacker can exploit this vulnerability by sending specially crafted network packets to a vulnerable system, causing the qlcnic driver to trigger the NULL pointer dereference.

The vulnerability was introduced in version v3.9 of the Linux Kernel.

Yes, the vulnerability has been fixed in version v5.10.84 of the Linux Kernel.

Yes, users can consider blocking network traffic to the vulnerable system as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.84 or later. This can be done by downloading the latest stable version of the Kernel from the official repository and following the installation instructions provided.

Alternatively, if updating the Kernel is not feasible, applying the specific patch for this vulnerability can also address the issue. The patch can be obtained from the official Linux Kernel repository or from the commit mentioned in the vulnerability details.

It is important to regularly update the Kernel and other software components to ensure the latest security patches are applied.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.