scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- 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
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- 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
- stable/c/edf82aa7e9eb864a09229392054d131b34a5c9e8
- stable/c/e2cd32435b1dff3d63759476a3abc878e02fb6c8
- stable/c/c473288f27d15014447de5a891bdf22a0695847a
- stable/c/7849e6f8410da96384e3d1f6b6d730f095142dc7
- stable/c/ee0b5f96b6d66a1e6698228dcb41df11ec7f352f
- stable/c/07a2aa674fca679316b8ac51440adb895b53a7cf
- stable/c/3320126ed3afbc11934502319b340f91a4d61c8f
- stable/c/2ae917d4bcab80ab304b774d492e2fcd6c52c06b