Skip to main content
← All vulnerabilities
CVE-2024-35930

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.19.312, 5.4.274, 5.10.215, 5.15.155, 6.1.86, and 2 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux 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 Linux

    3.4

  • KernelLinux

    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

References 8

git.kernel.org