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 package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 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_kernel | from 5.15 before 5.15.63, from 5.16 before 5.19.4 | NVD |
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-50027 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2022-50027 changed 2026-06-17 | Public domain |