CVE-2024-35930

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

No CVSS score yet EPSS 0.22%

Published 19 May 2024 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2024-35930

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-35930 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.1% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 17 Jun 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, before edf82aa7e9eb864a09229392054d131b34a5c9e8
affected from 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, before e2cd32435b1dff3d63759476a3abc878e02fb6c8
affected from 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, before c473288f27d15014447de5a891bdf22a0695847a
affected from 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, before 7849e6f8410da96384e3d1f6b6d730f095142dc7
affected from 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, before ee0b5f96b6d66a1e6698228dcb41df11ec7f352f
affected from 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, before 07a2aa674fca679316b8ac51440adb895b53a7cf
affected from 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, before 3320126ed3afbc11934502319b340f91a4d61c8f
affected from 6b5151fd7baec6812fece993ddd7a2cf9fd0125f, before 2ae917d4bcab80ab304b774d492e2fcd6c52c06b
Other versions: unaffected
Linux
affected 3.4
unaffected before 3.4
unaffected from 4.19.312 up to and including 4.19.*
unaffected from 5.4.274 up to and including 5.4.*
unaffected from 5.10.215 up to and including 5.10.*
unaffected from 5.15.155 up to and including 5.15.*
unaffected from 6.1.86 up to and including 6.1.*
unaffected from 6.6.27 up to and including 6.6.*
unaffected from 6.8.6 up to and including 6.8.*
unaffected 6.9 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-35930 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-35930

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-35930
trivy image --scanners vuln IMAGE | grep CVE-2024-35930

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-35930 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.