CVE & CISA-KEV Catalog

CVE-2022-50827

UNSCORED

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Fix memory leak in lpfc_create_port() Commit 5e633302ace1 ("scsi: lpfc: vmid: Add support for VMID in mailbox command") introduced allocations for the VMID resources in lpfc_create_port() after the call to scsi_host_alloc(). Upon failure on the VMID allocations, the new code would branch to the 'out' label, which returns NULL without unwinding anything, thus skipping the call to scsi_host_put(). Fix the problem by creating a separate label 'out_free_vmid' to unwind the VMID resources and make the 'out_put_shost' label call only scsi_host_put(), as was done before the introduction of allocations for VMID.

How to fix

Remediation Available
linuxDebian
Fixed in:6.0.6-1CVE-2022-50827
Fixed in:6.0.6-1CVE-2022-50827
Fixed in:6.0.6-1CVE-2022-50827

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3.1 Vector

No CVSS vector data available.

Exploit Intelligence

0.20%probability of exploitation in 30 days
10thpercentile

Low risk: more likely to be exploited than 10% of all known CVEs.

References

Embed a live status badge for CVE-2022-50827
CVE-2022-50827 severity badge

Markdown

[![CVE-2022-50827](https://tridentstack.com/cve/badge/CVE-2022-50827.svg)](https://tridentstack.com/cve/CVE-2022-50827)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-50827"><img src="https://tridentstack.com/cve/badge/CVE-2022-50827.svg" alt="CVE-2022-50827"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-12-31.