CVE-2024-49852

scsi: elx: libefc: Fix potential use after free in efc_nport_vport_del()

No CVSS score yet EPSS 0.21%

Published 21 Oct 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2024-49852

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-49852 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: elx: libefc: Fix potential use after free in efc_nport_vport_del()

The kref_put() function will call nport->release if the refcount drops to zero. The nport->release release function is _efc_nport_free() which frees "nport". But then we dereference "nport" on the next line which is a use after free. Re-order these lines to avoid the use after free.

Exploitation

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

The assessment of CISA (SSVC, 21 Oct 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 fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, before 16a570f07d870a285b0c0b0d1ca4dff79e8aa5ff
affected from fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, before abc71e89170ed32ecf0a5a29f31aa711e143e941
affected from fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, before baeb8628ab7f4577740f00e439d3fdf7c876b0ff
affected from fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, before 7c2908985e4ae0ea1b526b3916de9e5351650908
affected from fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, before 98752fcd076a8cbc978016eae7125b4971be1eec
affected from fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, before 2e4b02fad094976763af08fec2c620f4f8edd9ae
Other versions: unaffected
Linux
affected 5.14
unaffected before 5.14
unaffected from 5.15.168 up to and including 5.15.*
unaffected from 6.1.113 up to and including 6.1.*
unaffected from 6.6.54 up to and including 6.6.*
unaffected from 6.10.13 up to and including 6.10.*
unaffected from 6.11.2 up to and including 6.11.*
unaffected 6.12 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-49852 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-49852

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-49852
trivy image --scanners vuln IMAGE | grep CVE-2024-49852

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-49852 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.