scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc()
Summary
| CVE | CVE-2024-35930 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-05-19 11:15:49 UTC |
| Updated | 2026-05-12 12:16:41 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-401
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 6b5151fd7baec6812fece993ddd7a2cf9fd0125f edf82aa7e9eb864a09229392054d131b34a5c9e8 git | Not specified |
| CNA | Linux | Linux | affected 6b5151fd7baec6812fece993ddd7a2cf9fd0125f e2cd32435b1dff3d63759476a3abc878e02fb6c8 git | Not specified |
| CNA | Linux | Linux | affected 6b5151fd7baec6812fece993ddd7a2cf9fd0125f c473288f27d15014447de5a891bdf22a0695847a git | Not specified |
| CNA | Linux | Linux | affected 6b5151fd7baec6812fece993ddd7a2cf9fd0125f 7849e6f8410da96384e3d1f6b6d730f095142dc7 git | Not specified |
| CNA | Linux | Linux | affected 6b5151fd7baec6812fece993ddd7a2cf9fd0125f ee0b5f96b6d66a1e6698228dcb41df11ec7f352f git | Not specified |
| CNA | Linux | Linux | affected 6b5151fd7baec6812fece993ddd7a2cf9fd0125f 07a2aa674fca679316b8ac51440adb895b53a7cf git | Not specified |
| CNA | Linux | Linux | affected 6b5151fd7baec6812fece993ddd7a2cf9fd0125f 3320126ed3afbc11934502319b340f91a4d61c8f git | Not specified |
| CNA | Linux | Linux | affected 6b5151fd7baec6812fece993ddd7a2cf9fd0125f 2ae917d4bcab80ab304b774d492e2fcd6c52c06b git | Not specified |
| CNA | Linux | Linux | affected 3.4 | Not specified |
| CNA | Linux | Linux | unaffected 3.4 semver | Not specified |
| CNA | Linux | Linux | unaffected 4.19.312 4.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.274 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.215 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.155 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.86 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.27 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.8.6 6.8.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.9 * original_commit_for_fix | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.debian.org/debian-lts-announce/2024/06/msg00017.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List |
| git.kernel.org/stable/c/2ae917d4bcab80ab304b774d492e2fcd6c52c06b | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/3320126ed3afbc11934502319b340f91a4d61c8f | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/07a2aa674fca679316b8ac51440adb895b53a7cf | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/c473288f27d15014447de5a891bdf22a0695847a | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/edf82aa7e9eb864a09229392054d131b34a5c9e8 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/7849e6f8410da96384e3d1f6b6d730f095142dc7 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/ee0b5f96b6d66a1e6698228dcb41df11ec7f352f | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2024/06/msg00020.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List |
| git.kernel.org/stable/c/e2cd32435b1dff3d63759476a3abc878e02fb6c8 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.