Use After Free Vulnerability in scsi: libfc
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.