Memory Leak in qla2xxx Driver in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

14/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002053: scsi: qla2xxx: Fix a memory leak in an error path of qla2x00_process_els(). Affects Kernel versions >= 8c0eb596baa51f2b43949c698c644727ef17805c, < 96f0aebf29be25254fa585af43924e34aa21fd9a. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The qla2xxx driver is a SCSI driver in the Linux Kernel that provides support for QLogic Fibre Channel Host Bus Adapters (HBAs). It allows communication between the operating system and Fibre Channel storage devices. The driver is responsible for handling various SCSI commands and events. However, a memory leak vulnerability has been identified in the qla2xxx driver, which could lead to resource exhaustion and potential system instability.

Vulnerability Detail

The vulnerability exists in the qla2x00_process_els() function of the qla2xxx driver. In certain error scenarios, the function fails to release allocated memory, resulting in a memory leak. An attacker could potentially exploit this vulnerability by sending specially crafted ELS (Exchange Link Services) messages to a vulnerable system, causing it to exhaust available memory resources. This could lead to a denial-of-service condition or other system instability issues. The vulnerability was introduced in version v3.11 of the Linux Kernel and has been fixed in version v5.10.76.

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

If updating the Linux Kernel is not immediately feasible, a temporary workaround can be implemented by disabling the affected qla2xxx driver module. This can be achieved by blacklisting the module or preventing it from loading during system startup. However, it is important to note that this workaround may result in the loss of functionality provided by the qla2xxx driver, such as Fibre Channel HBA support.

Conclusion

The memory leak vulnerability in the qla2xxx driver of the Linux Kernel can lead to resource exhaustion and system instability. It is crucial to update the Linux Kernel to version v5.10.76 or later to mitigate this vulnerability. If immediate updating is not possible, a temporary workaround of disabling the affected driver module can be implemented. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The qla2xxx driver is a SCSI driver in the Linux Kernel that provides support for QLogic Fibre Channel Host Bus Adapters (HBAs). It allows communication between the operating system and Fibre Channel storage devices.

The vulnerability could lead to a memory leak, resulting in resource exhaustion and potential system instability. It may also be possible for an attacker to exploit this vulnerability to cause a denial-of-service condition.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.76 or later. This update includes the necessary patch to address the memory leak issue in the qla2xxx driver.

If updating the Linux Kernel is not immediately feasible, a temporary workaround can be implemented by disabling the affected qla2xxx driver module. However, this may result in the loss of functionality provided by the driver.

This vulnerability was introduced in version v3.11 of the Linux Kernel and has been fixed in version v5.10.76.

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