CVE-2022-50027
JSON

5.5medium

scsi: lpfc: Fix possible memory leak when failing to issue CMF WQE

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Fix possible memory leak when failing to issue CMF WQE There is no corresponding free routine if lpfc_sli4_issue_wqe fails to issue the CMF WQE in lpfc_issue_cmf_sync_wqe. If ret_val is non-zero, then free the iocbq request structure.

Affected

Product or packageVersionsReported by
Linux Linuxfrom daebf93fc3a5d12b3bc928aebb168c68e754dda2 before 9c8e2e607270a368834a0ef72aa82d970f89c596, from daebf93fc3a5d12b3bc928aebb168c68e754dda2 before 4eb7a1beff03836d3df271cd23b790884e3facb9, from daebf93fc3a5d12b3bc928aebb168c68e754dda2 before 2f67dc7970bce3529edce93a0a14234d88b3fcd5, 5.15
Not affected: before 5.15, from 5.15.63 up to 5.15.*, from 5.19.4 up to 5.19.*, from 6.0 up to *
CVE List
linux linux_kernelfrom 5.15 before 5.15.63, from 5.16 before 5.19.4NVD

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Fix possible memory leak when failing to issue CMF WQE There is no corresponding free routine if lpfc_sli4_issue_wqe fails to issue the CMF WQE in lpfc_issue_cmf_sync_wqe. If ret_val is non-zero, then free the iocbq request structure.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: lpfc: Se corrige una posible fuga de memoria al no emitir la WQE de CMF. No existe una rutina de liberación correspondiente si lpfc_sli4_issue_wqe no emite la WQE de CMF en lpfc_issue_cmf_sync_wqe. Si ret_val es distinto de cero, se libera la estructura de solicitud iocbq.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50027 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-50027 changed 2026-06-17Public domain