net/qla3xxx: Fix schedule while atomic in ql_sem_spinlock

Kernel Updated 02 Oct 2025

Summary

30/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1001014: net/qla3xxx: fix schedule while atomic in ql_sem_spinlock. Affects Kernel versions < 2ed296c47e5c545a26bb774ec7a87e5369e6ddf9. 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 net/qla3xxx package is a part of the Linux Kernel ecosystem. It provides support for QLogic Fibre Channel Host Bus Adapters (HBAs) based on the ISP23xx and ISP24xx chipsets. These HBAs are commonly used for connecting servers to storage devices in data centers. The ql_sem_spinlock function in the qla3xxx driver is responsible for acquiring and releasing a spinlock to protect critical sections of code. However, a vulnerability has been discovered in this function that allows a schedule while atomic condition, which can lead to a system crash or other unexpected behavior.

Vulnerability Detail

The vulnerability in the ql_sem_spinlock function arises from a schedule while atomic condition. This occurs when the function attempts to sleep while holding a spinlock, which is not allowed in atomic contexts. This can lead to a system crash or other unpredictable behavior. An attacker may be able to exploit this vulnerability to cause a denial-of-service condition or potentially execute arbitrary code with elevated privileges. The vulnerability has been fixed in Linux Kernel version v5.12.11 by commit 2ed296c47e5c545a26bb774ec7a87e5369e6ddf9.

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 →

Conclusion

The net/qla3xxx package in the Linux Kernel is vulnerable to a schedule while atomic condition in the ql_sem_spinlock function. This can lead to system crashes or other unexpected behavior. It is recommended to update the Linux Kernel to version v5.12.11 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to a system crash or other unexpected behavior, potentially causing a denial-of-service condition or enabling an attacker to execute arbitrary code with elevated privileges.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will analyze it for any known vulnerabilities.

No, there is no known workaround for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.

There are no known exploits for this vulnerability at the time of this report. However, it is important to apply the fix as soon as possible to mitigate any potential risks.

More information about the fix can be found in the commit 2ed296c47e5c545a26bb774ec7a87e5369e6ddf9 in the Linux Kernel source code repository.

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