Vulnerability in Kernel: scsi: qedf: Fix refcount issue when LOGO is received during TMF

Kernel Updated 02 Oct 2025

Summary

27/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000419: scsi: qedf: Fix refcount issue when LOGO is received during TMF. Affects Kernel versions < 6be8eaad75ca73131e2a697f0270dc8ee73814a8. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel is a fundamental component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential functionalities and services to enable the proper functioning of the system. The scsi (Small Computer System Interface) subsystem within the Kernel handles communication between the operating system and SCSI devices, such as hard drives and tape drives. The qedf driver is responsible for supporting the QLogic FC (Fibre Channel) HBA (Host Bus Adapter) in the Kernel. This vulnerability specifically affects the qedf driver when a LOGO (Logout) message is received during a TMF (Task Management Function) operation.

Vulnerability Detail

The vulnerability arises from a refcount issue in the qedf driver when a LOGO message is received during a TMF operation. This issue can potentially lead to a use-after-free condition, where a reference to a deallocated memory object is accessed. An attacker could exploit this vulnerability by sending a specially crafted LOGO message to a system with the qedf driver enabled, potentially resulting in a denial-of-service (DoS) condition or arbitrary code execution. The impact and attack plausibility of this vulnerability have not been proven yet.

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

No workaround has been provided for this vulnerability.

Conclusion

In conclusion, the Kernel vulnerability in the qedf driver can be mitigated by updating the Linux Kernel to version v5.15.24 or later. This fix resolves a refcount issue that could potentially lead to a use-after-free condition. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a fundamental component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential functionalities and services to enable the proper functioning of the system.

The scsi (Small Computer System Interface) subsystem within the Kernel handles communication between the operating system and SCSI devices, such as hard drives and tape drives.

The qedf driver is responsible for supporting the QLogic FC (Fibre Channel) HBA (Host Bus Adapter) in the Kernel.

A LOGO (Logout) message is a SCSI command used to terminate a connection between a SCSI initiator and a SCSI target.

A TMF (Task Management Function) operation is a SCSI command used to manage tasks and operations on SCSI devices.

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