CVE-2024-35930

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-35930
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35930.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-35930
Downstream
Related
Published
2024-05-19T10:10:39.051Z
Modified
2025-11-28T02:33:52.181238Z
Summary
scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

The call to lpfcsli4resumerpi() in lpfcrcv_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 lpfcsli4resume_rpi() and conditionally release the elsiocb resource.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35930.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6b5151fd7baec6812fece993ddd7a2cf9fd0125f
Fixed
edf82aa7e9eb864a09229392054d131b34a5c9e8
Fixed
e2cd32435b1dff3d63759476a3abc878e02fb6c8
Fixed
c473288f27d15014447de5a891bdf22a0695847a
Fixed
7849e6f8410da96384e3d1f6b6d730f095142dc7
Fixed
ee0b5f96b6d66a1e6698228dcb41df11ec7f352f
Fixed
07a2aa674fca679316b8ac51440adb895b53a7cf
Fixed
3320126ed3afbc11934502319b340f91a4d61c8f
Fixed
2ae917d4bcab80ab304b774d492e2fcd6c52c06b

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.4.0
Fixed
4.19.312
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.274
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.215
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.155
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.86
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.27
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.8.6