# CVE-2022-50027: scsi: lpfc: Fix possible memory leak when failing to issue CMF WQE

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-06-18T11:01:30.485Z
- Modified: 2026-06-17T05:22:35.390Z
- Weaknesses: CWE-401
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 5.15 before 5.15.63; from 5.16 before 5.19.4

## References

- <https://git.kernel.org/stable/c/9c8e2e607270a368834a0ef72aa82d970f89c596> (patch)
- <https://git.kernel.org/stable/c/4eb7a1beff03836d3df271cd23b790884e3facb9> (patch)
- <https://git.kernel.org/stable/c/2f67dc7970bce3529edce93a0a14234d88b3fcd5> (patch)

## Sources

- CVE List: [CVE-2022-50027](https://www.cve.org/CVERecord?id=CVE-2022-50027), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50027](https://nvd.nist.gov/vuln/detail/CVE-2022-50027), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50027 · Whole record: https://cve.day/CVE-2022-50027.json · Rebuilt by cve.day 2026-11-25T22:58:21.016Z
