Use After Free Vulnerability in scsi: libfc
Summary
GSD-2022-1001388: scsi: libfc: Fix use after free in fc_exch_abts_resp(). Affects Kernel versions < 87909291762d08fdb60d19069d7a89b5b308d0ef. 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 package is a component of the Linux Kernel that provides support for Fibre Channel (FC) transport protocol. It is responsible for handling FC exchanges and managing FC fabric services. The package is widely used in Linux-based systems that utilize FC storage networks.
Vulnerability Detail
The use after free vulnerability in fc_exch_abts_resp() function of scsi: libfc allows an attacker to exploit a freed memory region. This can lead to a variety of security issues, including remote code execution, denial of service, or information disclosure. The vulnerability arises from improper handling of FC exchange abort (ABTS) responses, where a reference to a freed exchange object is still accessible. An attacker can craft a malicious ABTS response to trigger the use after free condition and potentially execute arbitrary code or disrupt the system's normal operation.
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 essential to apply the provided fix by updating the Linux Kernel to the recommended version.
Conclusion
The use after free vulnerability in scsi: libfc can have severe security implications, including remote code execution and denial of service. It is crucial to update the Linux Kernel to version v5.16.20 or later, which includes the necessary fix for this vulnerability. For further support and assistance in 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) transport protocol. It handles FC exchanges and manages FC fabric services.
A use after free vulnerability occurs when a program continues to use a memory region after it has been freed. This can lead to various security issues, including remote code execution and denial of service.
An attacker can exploit this vulnerability by crafting a malicious FC exchange abort (ABTS) response to trigger the use after free condition. This can potentially allow the attacker to execute arbitrary code or disrupt the system's normal operation.
No, there is no known workaround for this vulnerability. It is crucial to apply the provided fix by updating the Linux Kernel to the recommended version.
More details about the fix can be found in the commit 87909291762d08fdb60d19069d7a89b5b308d0ef of the Linux Kernel repository.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.