CVE-2024-35930

scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc()

State
Published
Severity
Not scored
Published
May 19, 2024
Updated
Oct 15, 2026
Reserved
May 17, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6b5151fd7baec6812fece993ddd7a2cf9fd0125f to before edf82aa7e9eb864a09229392054d131b34a5c9e8Affected
  • 6b5151fd7baec6812fece993ddd7a2cf9fd0125f to before e2cd32435b1dff3d63759476a3abc878e02fb6c8Affected
  • 6b5151fd7baec6812fece993ddd7a2cf9fd0125f to before c473288f27d15014447de5a891bdf22a0695847aAffected
  • 6b5151fd7baec6812fece993ddd7a2cf9fd0125f to before 7849e6f8410da96384e3d1f6b6d730f095142dc7Affected
  • 6b5151fd7baec6812fece993ddd7a2cf9fd0125f to before ee0b5f96b6d66a1e6698228dcb41df11ec7f352fAffected
  • 6b5151fd7baec6812fece993ddd7a2cf9fd0125f to before 07a2aa674fca679316b8ac51440adb895b53a7cfAffected
  • 6b5151fd7baec6812fece993ddd7a2cf9fd0125f to before 3320126ed3afbc11934502319b340f91a4d61c8fAffected
  • 6b5151fd7baec6812fece993ddd7a2cf9fd0125f to before 2ae917d4bcab80ab304b774d492e2fcd6c52c06bAffected
LinuxLinux
  • 3.4Affected
  • before 3.4Not affected
  • 4.19.312 through 4.19.*Not affected
  • 5.4.274 through 5.4.*Not affected
  • 5.10.215 through 5.10.*Not affected
  • 5.15.155 through 5.15.*Not affected
  • 6.1.86 through 6.1.*Not affected
  • 6.6.27 through 6.6.*Not affected
  • 6.8.6 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.