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

UVI-2021-1000889: net/qla3xxx: fix schedule while atomic in ql_sem_spinlock. Affects Kernel versions < 3e324774411dc94282e166a301af822d75741263. 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 net/qla3xxx package is a part of the Linux Kernel ecosystem. It provides support for QLogic Fibre Channel Host Bus Adapters (HBAs). These HBAs are used for connecting servers to storage devices in data centers. The ql_sem_spinlock function in the qla3xxx package is responsible for acquiring and releasing a spinlock used for synchronization in the driver. However, a vulnerability exists in this function that allows a schedule while atomic condition, which can lead to a deadlock or other unexpected behavior.

Vulnerability Detail

The vulnerability in the ql_sem_spinlock function arises from a schedule while atomic condition. This means that the function is called in a context where the scheduler is disabled, such as in an interrupt handler. In such cases, if a scheduling operation is triggered within the function, it can result in a deadlock or other issues. An attacker with local access to the system could potentially exploit this vulnerability to cause a denial of service or gain elevated privileges.

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

There is no known workaround for this vulnerability. It is recommended to apply the fix mentioned in the 'how_to_fix' section.

Conclusion

The net/qla3xxx package in the Linux Kernel prior to version v5.4.126 is vulnerable to a schedule while atomic condition in the ql_sem_spinlock function. This vulnerability can lead to a deadlock or other unexpected behavior, potentially enabling an attacker to cause a denial of service or gain elevated privileges. Users should update their Linux Kernel to version v5.4.126 or a later version to mitigate 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 deadlock or other unexpected behavior, potentially causing a denial of service or enabling an attacker to gain elevated privileges.

Users of the Linux Kernel with the net/qla3xxx package prior to version v5.4.126 are affected by this vulnerability.

No, this vulnerability requires local access to the system to be exploited.

There is no known exploit for this vulnerability at the time of this report.

The only known mitigation is to update the Linux Kernel to version v5.4.126 or a later version that includes the fix.

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