Memory Leak in qla2xxx SCSI Driver

Kernel Updated 02 Oct 2025

Summary

28/10/2021
N/A
No i
Unrated
Not published

GSD-2021-1001834: 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 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 qla2xxx driver is a SCSI driver used in the Linux Kernel. It provides support for QLogic Fibre Channel Host Bus Adapters (HBAs). These HBAs are commonly used in enterprise storage systems. The driver allows communication between the operating system and the Fibre Channel HBA, enabling access to storage devices connected to the HBA. However, a vulnerability has been discovered in the qla2xxx driver that can lead to a memory leak in certain error scenarios.

Vulnerability Detail

The vulnerability in the qla2xxx driver occurs in the error path of the qla2x00_process_els() function. When processing certain Event-Request/Response (ELS) frames, if an error is encountered, the function fails to release allocated memory, resulting in a memory leak. An attacker could potentially exploit this vulnerability by sending specially crafted ELS frames, causing the driver to exhaust available memory resources. This could lead to a denial-of-service condition or other unexpected behavior in the system. 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

As a workaround, users can disable the affected qla2xxx driver if it is not required for their system. This can be done by blacklisting the driver module or removing it from the kernel configuration. However, this workaround should only be considered if the qla2xxx driver is not essential for the system's functionality.

Conclusion

The memory leak vulnerability in the qla2xxx SCSI driver can have serious consequences, including a denial-of-service condition or unexpected system behavior. It is crucial to update the Linux Kernel to version v5.10.76 or later to address this issue. If you have any further questions or need assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to a memory leak in the qla2xxx driver, potentially causing a denial-of-service condition or other unexpected behavior in the system.

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 analyze the dependencies and alert you if any vulnerabilities are found.

Yes, the vulnerability has been fixed in version v5.10.76 of the Linux Kernel. It is recommended to update to this version or a later one to address the issue.

As a temporary workaround, you can disable the affected qla2xxx driver if it is not necessary for your system. However, updating to the patched version of the Linux Kernel is the recommended solution.

At the time of this report, there are no known exploits for this vulnerability. However, it is important to apply the necessary updates to mitigate the risk.

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