CVE Database›CVE-2022-50827

CVE-2022-50827

kernel: scsi: lpfc: Fix memory leak in lpfc_create_port()

Loading…

Severity

Low

Red Hat Product Security

3.3

CVSS 3.1

Review impact separately from score.

Published · December 30, 2025

Updated · June 30, 2026

Description

A memory leak vulnerability was found in the Linux kernel's lpfc SCSI driver. In lpfc_create_port(), when VMID resource allocation fails after scsi_host_alloc() succeeds, the error handling path fails to call scsi_host_put(), leading to a memory leak of the allocated SCSI host structure.

Statement

This memory leak occurs exclusively in a failure path during port creation, requiring VMID allocation to fail after host allocation succeeds. The leak only happens during driver initialization failures and does not represent an exploitable condition during normal operation, making the practical security impact minimal.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

CWE-772 · Missing Release of Resource after Effective Lifetime