Use After Free Vulnerability in scsi: libfc

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1002317: scsi: libfc: Fix use after free in fc_exch_abts_resp(). Affects Kernel versions < 6044ad64f41c87382cfeeca281573d1886d80cbe. 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 scsi: libfc is a component of the Linux Kernel that provides support for Fibre Channel (FC) protocol. It is responsible for handling FC exchanges and managing FC fabric services. The vulnerability identified in this component is a use after free issue, which occurs when a reference to a memory object is used after it has been freed. This can lead to a variety of security issues, including potential remote code execution or denial of service attacks.

Vulnerability Detail

The use after free vulnerability in fc_exch_abts_resp() function of scsi: libfc allows an attacker to exploit a freed memory object, potentially leading to arbitrary code execution or denial of service. This vulnerability can be triggered by sending a specially crafted FC exchange abort response. The issue has been fixed in Linux Kernel version v4.19.238 by commit 6044ad64f41c87382cfeeca281573d1886d80cbe.

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 temporary workaround, users can disable the affected functionality by unloading the 'libfc' kernel module. This can be done by executing the following command as root:

rmmod libfc

Conclusion

The use after free vulnerability in scsi: libfc can have serious security implications, including potential remote code execution or denial of service. It is crucial to update the Linux Kernel to the fixed version or apply the provided workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

scsi: libfc is a component of the Linux Kernel that provides support for Fibre Channel (FC) protocol. It handles FC exchanges and manages FC fabric services.

A use after free vulnerability occurs when a program uses a reference to a memory object after it has been freed. This can lead to various security issues.

The use after free vulnerability in scsi: libfc can potentially allow an attacker to execute arbitrary code or cause denial of service.

To fix this vulnerability, update the Linux Kernel to version v4.19.238 or later by downloading the updated source code and compiling it.

Yes, as a temporary workaround, users can unload the 'libfc' kernel module by executing the command 'rmmod libfc'.

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