What’s Vulnerable › Vulnerabilities
CVE-2022-50027: scsi: lpfc: Fix possible memory leak when failing to issue CMF WQE
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-18 · updated 2026-06-17
- Weakness: CWE-401
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 products
- Linux kernel: from 5.15 before 5.15.63; from 5.16 before 5.19.4 — fixed in 5.15.63, 5.19.4
How to fix
Upgrade to a fixed version: Linux kernel 5.15.63, 5.19.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2f67dc7970bce3529edce93a0a14234d88b3fcd5
- https://git.kernel.org/stable/c/4eb7a1beff03836d3df271cd23b790884e3facb9
- https://git.kernel.org/stable/c/9c8e2e607270a368834a0ef72aa82d970f89c596
Get alerted when CVE-2022-50027 or the next vulnerability affects your stack