PT-2025-53945 · Linux · Linux Kernel
CVE-2022-50827
·
Published
2022-10-18
·
Updated
2026-02-24
CVSS v2.0
4.6
Medium
| Vector | AV:L/AC:L/Au:S/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A memory leak exists in the
lpfc create port() function within the Linux kernel's SCSI subsystem. The issue was introduced by commit 5e633302ace1, which added support for VMID in mailbox commands. When VMID resource allocation fails after a call to scsi host alloc(), the code branches to a return point that skips the necessary deallocation of resources, leading to a memory leak. The fix involves creating a dedicated label to unwind VMID resources before deallocating the SCSI host.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Memory Leak
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linux Kernel