{"id":"CVE-2024-49852","published":"2024-10-21T12:18:45Z","modified":"2026-05-11T20:40:28Z","title":"scsi: elx: libefc: Fix potential use after free in efc_nport_vport_del()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: elx: libefc: Fix potential use after free in efc_nport_vport_del()\n\nThe kref_put() function will call nport->release if the refcount drops to\nzero.  The nport->release release function is _efc_nport_free() which frees\n\"nport\".  But then we dereference \"nport\" on the next line which is a use\nafter free.  Re-order these lines to avoid the use after free.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00209,"percentile":0.11303,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/16a570f07d870a285b0c0b0d1ca4dff79e8aa5ff","tags":[]},{"url":"https://git.kernel.org/stable/c/abc71e89170ed32ecf0a5a29f31aa711e143e941","tags":[]},{"url":"https://git.kernel.org/stable/c/baeb8628ab7f4577740f00e439d3fdf7c876b0ff","tags":[]},{"url":"https://git.kernel.org/stable/c/7c2908985e4ae0ea1b526b3916de9e5351650908","tags":[]},{"url":"https://git.kernel.org/stable/c/98752fcd076a8cbc978016eae7125b4971be1eec","tags":[]},{"url":"https://git.kernel.org/stable/c/2e4b02fad094976763af08fec2c620f4f8edd9ae","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":2.3,"factors":[{"name":"EPSS percentile","points":2.26}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 16a570f07d870a285b0c0b0d1ca4dff79e8aa5ff",">= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < abc71e89170ed32ecf0a5a29f31aa711e143e941",">= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < baeb8628ab7f4577740f00e439d3fdf7c876b0ff",">= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 7c2908985e4ae0ea1b526b3916de9e5351650908",">= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 98752fcd076a8cbc978016eae7125b4971be1eec",">= fcd427303eb90aa3cb08e7e0b68e0e67a6d47346, < 2e4b02fad094976763af08fec2c620f4f8edd9ae"]},{"vendor":"Linux","product":"Linux","versions":["5.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-21T12:56:47.269710Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-43776","exploited":false,"provenance":"source"}}