scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6b5151fd7baec6812fece993ddd7a2cf9fd0125f · < 07a2aa674fca679316b8ac51440adb895b53a7cf| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc()
The call to lpfc_sli4_resume_rpi() in lpfc_rcv_padisc() may return an unsuccessful status. In such cases, the elsiocb is not issued, the completion is not called, and thus the elsiocb resource is leaked.
Check return value after calling lpfc_sli4_resume_rpi() and conditionally release the elsiocb resource.
From the CVE record · Linux
The Linux kernel’s lpfc driver can leak an elsiocb resource when lpfc_sli4_resume_rpi() fails in lpfc_rcv_padisc(). The input does not specify how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the lpfc driver should check whether their kernel is affected; affected versions are not specified.