# CVE-2024-35930: scsi: lpfc: Fix possible memory leak in lpfc\_rcv\_padisc()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-05-19T10:10:39.051Z
- **Modified:** 2026-10-15T01:17:53.480Z

## Who should check

- Anyone running Linux \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< edf82aa7e9eb864a09229392054d131b34a5c9e8; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< e2cd32435b1dff3d63759476a3abc878e02fb6c8; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< c473288f27d15014447de5a891bdf22a0695847a; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< 7849e6f8410da96384e3d1f6b6d730f095142dc7; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< ee0b5f96b6d66a1e6698228dcb41df11ec7f352f; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< 07a2aa674fca679316b8ac51440adb895b53a7cf; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< 3320126ed3afbc11934502319b340f91a4d61c8f; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< 2ae917d4bcab80ab304b774d492e2fcd6c52c06b
- Anyone running Linux 3.4

## 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.

## Affected and fixed versions

- Linux: \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< edf82aa7e9eb864a09229392054d131b34a5c9e8; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< e2cd32435b1dff3d63759476a3abc878e02fb6c8; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< c473288f27d15014447de5a891bdf22a0695847a; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< 7849e6f8410da96384e3d1f6b6d730f095142dc7; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< ee0b5f96b6d66a1e6698228dcb41df11ec7f352f; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< 07a2aa674fca679316b8ac51440adb895b53a7cf; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< 3320126ed3afbc11934502319b340f91a4d61c8f; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< 2ae917d4bcab80ab304b774d492e2fcd6c52c06b (cvelist)
- Linux: 3.4 (cvelist)

## Mitigation

- Upgrade Linux to 2ae917d4bcab80ab304b774d492e2fcd6c52c06b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-35930. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35930.md
Affected: Linux >= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, < edf82aa7e9eb864a09229392054d131b34a5c9e8; >= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, < e2cd32435b1dff3d63759476a3abc878e02fb6c8; >= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, < c473288f27d15014447de5a891bdf22a0695847a; >= 6b5151fd7baec6812fece99…
Fixed in: Linux 7849e6f8410da96384e3d1f6b6d730f095142dc7, Linux 07a2aa674fca679316b8ac51440adb895b53a7cf, Linux 3320126ed3afbc11934502319b340f91a4d61c8f, Linux 2ae917d4bcab80ab304b774d492e2fcd6c52c06b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-35930 being exploited?

There is no confirmed exploitation: CVE-2024-35930 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-35930?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-35930?

Linux \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< edf82aa7e9eb864a09229392054d131b34a5c9e8; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< e2cd32435b1dff3d63759476a3abc878e02fb6c8; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< c473288f27d15014447de5a891bdf22a0695847a; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< 7849e6f8410da96384e3d1f6b6d730f095142dc7; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< ee0b5f96b6d66a1e6698228dcb41df11ec7f352f; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< 07a2aa674fca679316b8ac51440adb895b53a7cf; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< 3320126ed3afbc11934502319b340f91a4d61c8f; \>= 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, \< 2ae917d4bcab80ab304b774d492e2fcd6c52c06b; Linux 3.4.

### Is there a fix for CVE-2024-35930?

Yes. Fixed in Linux 7849e6f8410da96384e3d1f6b6d730f095142dc7, Linux 07a2aa674fca679316b8ac51440adb895b53a7cf, Linux 3320126ed3afbc11934502319b340f91a4d61c8f, Linux 2ae917d4bcab80ab304b774d492e2fcd6c52c06b. Upgrade Linux to 2ae917d4bcab80ab304b774d492e2fcd6c52c06b or later.

### How do I check if I'm affected by CVE-2024-35930?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/edf82aa7e9eb864a09229392054d131b34a5c9e8>
- patch: <https://git.kernel.org/stable/c/e2cd32435b1dff3d63759476a3abc878e02fb6c8>
- patch: <https://git.kernel.org/stable/c/c473288f27d15014447de5a891bdf22a0695847a>
- patch: <https://git.kernel.org/stable/c/7849e6f8410da96384e3d1f6b6d730f095142dc7>
- patch: <https://git.kernel.org/stable/c/ee0b5f96b6d66a1e6698228dcb41df11ec7f352f>
- patch: <https://git.kernel.org/stable/c/07a2aa674fca679316b8ac51440adb895b53a7cf>
- patch: <https://git.kernel.org/stable/c/3320126ed3afbc11934502319b340f91a4d61c8f>
- patch: <https://git.kernel.org/stable/c/2ae917d4bcab80ab304b774d492e2fcd6c52c06b>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-35930>

HTML: <https://flawdb.com/CVE-2024-35930> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-35930>
