CVE-2024-49852
scsi: elx: libefc: Fix potential use after free in efc_nport_vport_del()
Mitigation
- Upgrade Linux to 2e4b02fad094976763af08fec2c620f4f8edd9ae or later.
Who should check
- Anyone running Linux >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 16a570f07d870a285b0c0b0d1ca4dff79e8aa5ff; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < abc71e89170ed32ecf0a5a29f31aa711e143e941; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < baeb8628ab7f4577740f00e439d3fdf7c876b0ff; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 7c2908985e4ae0ea1b526b3916de9e5351650908; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 98752fcd076a8cbc978016eae7125b4971be1eec; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 2e4b02fad094976763af08fec2c620f4f8edd9ae
- Anyone running Linux 5.14
Vulnerability facts
- Affected
- Linux >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 16a570f07d870a285b0c0b0d1ca4dff79e8aa5ff; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < abc71e89170ed32ecf0a5a29f31aa711e143e941; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < baeb8628ab7f4577740f00e439d3fdf7c876b0ff; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 7c2908985e4ae0ea1b526b3916de9e5351650908; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 98752fcd076a8cbc978016eae7125b4971be1eec; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 2e4b02fad094976763af08fec2c620f4f8edd9ae; Linux 5.14
- Fixed in
- Linux 16a570f07d870a285b0c0b0d1ca4dff79e8aa5ff, Linux 7c2908985e4ae0ea1b526b3916de9e5351650908, Linux 98752fcd076a8cbc978016eae7125b4971be1eec, Linux 2e4b02fad094976763af08fec2c620f4f8edd9ae
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-416
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 16a570f07d870a285b0c0b0d1ca4dff79e8aa5ff; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < abc71e89170ed32ecf0a5a29f31aa711e143e941; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < baeb8628ab7f4577740f00e439d3fdf7c876b0ff; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 7c2908985e4ae0ea1b526b3916de9e5351650908; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 98752fcd076a8cbc978016eae7125b4971be1eec; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 2e4b02fad094976763af08fec2c620f4f8edd9ae | — | cvelist |
| Linux | 5.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-49852. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-49852.md Affected: Linux >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 16a570f07d870a285b0c0b0d1ca4dff79e8aa5ff; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < abc71e89170ed32ecf0a5a29f31aa711e143e941; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < baeb8628ab7f4577740f00e439d3fdf7c876b0ff; >= fcd427303eb90aa3cb08e7e… Fixed in: Linux 16a570f07d870a285b0c0b0d1ca4dff79e8aa5ff, Linux 7c2908985e4ae0ea1b526b3916de9e5351650908, Linux 98752fcd076a8cbc978016eae7125b4971be1eec, Linux 2e4b02fad094976763af08fec2c620f4f8edd9ae Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/16a570f07d870a285b0c0b0d1ca4dff79e8aa5ff
- https://git.kernel.org/stable/c/abc71e89170ed32ecf0a5a29f31aa711e143e941
- https://git.kernel.org/stable/c/baeb8628ab7f4577740f00e439d3fdf7c876b0ff
- https://git.kernel.org/stable/c/7c2908985e4ae0ea1b526b3916de9e5351650908
- https://git.kernel.org/stable/c/98752fcd076a8cbc978016eae7125b4971be1eec
- https://git.kernel.org/stable/c/2e4b02fad094976763af08fec2c620f4f8edd9ae
FAQ
Is CVE-2024-49852 being exploited?
There is no confirmed exploitation: CVE-2024-49852 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-49852?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-49852?
Linux >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 16a570f07d870a285b0c0b0d1ca4dff79e8aa5ff; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < abc71e89170ed32ecf0a5a29f31aa711e143e941; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < baeb8628ab7f4577740f00e439d3fdf7c876b0ff; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 7c2908985e4ae0ea1b526b3916de9e5351650908; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 98752fcd076a8cbc978016eae7125b4971be1eec; >= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 2e4b02fad094976763af08fec2c620f4f8edd9ae; Linux 5.14.
Is there a fix for CVE-2024-49852?
Yes. Fixed in Linux 16a570f07d870a285b0c0b0d1ca4dff79e8aa5ff, Linux 7c2908985e4ae0ea1b526b3916de9e5351650908, Linux 98752fcd076a8cbc978016eae7125b4971be1eec, Linux 2e4b02fad094976763af08fec2c620f4f8edd9ae. Upgrade Linux to 2e4b02fad094976763af08fec2c620f4f8edd9ae or later.
How do I check if I'm affected by CVE-2024-49852?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.