{"id":"CVE-2024-49852","aliases":["CVE-2024-49852"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: elx: libefc: Fix potential use after free in efc_nport_vport_del()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: elx: libefc: Se corrige el potencial use after freea nport-&gt;release si el recuento de referencias cae a cero. La función de liberación nport-&gt;release es _efc_nport_free() que libera \"nport\". Pero luego desreferenciamos \"nport\" en la siguiente línea que es un use after free. Reordena estas líneas para evitar el use after free.","source":"nvd"}],"published":"2024-10-21T12:18:45.418Z","modified":"2026-06-17T08:00:35.127Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"fcd427303eb90aa3cb08e7e0b68e0e67a6d47346","fixed":"16a570f07d870a285b0c0b0d1ca4dff79e8aa5ff","status":"affected"},{"type":"git","introduced":"fcd427303eb90aa3cb08e7e0b68e0e67a6d47346","fixed":"abc71e89170ed32ecf0a5a29f31aa711e143e941","status":"affected"},{"type":"git","introduced":"fcd427303eb90aa3cb08e7e0b68e0e67a6d47346","fixed":"baeb8628ab7f4577740f00e439d3fdf7c876b0ff","status":"affected"},{"type":"git","introduced":"fcd427303eb90aa3cb08e7e0b68e0e67a6d47346","fixed":"7c2908985e4ae0ea1b526b3916de9e5351650908","status":"affected"},{"type":"git","introduced":"fcd427303eb90aa3cb08e7e0b68e0e67a6d47346","fixed":"98752fcd076a8cbc978016eae7125b4971be1eec","status":"affected"},{"type":"git","introduced":"fcd427303eb90aa3cb08e7e0b68e0e67a6d47346","fixed":"2e4b02fad094976763af08fec2c620f4f8edd9ae","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"5.15.168","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.113","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.54","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.13","lastAffected":"6.10.*","status":"unaffected"},{"type":"semver","introduced":"6.11.2","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.14","fixed":"5.15.168"},{"status":"affected","introduced":"5.16","fixed":"6.1.113"},{"status":"affected","introduced":"6.2","fixed":"6.6.54"},{"status":"affected","introduced":"6.7","fixed":"6.10.13"},{"status":"affected","introduced":"6.11","fixed":"6.11.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/16a570f07d870a285b0c0b0d1ca4dff79e8aa5ff","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/abc71e89170ed32ecf0a5a29f31aa711e143e941","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/baeb8628ab7f4577740f00e439d3fdf7c876b0ff","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c2908985e4ae0ea1b526b3916de9e5351650908","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98752fcd076a8cbc978016eae7125b4971be1eec","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2e4b02fad094976763af08fec2c620f4f8edd9ae","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-21T12:56:47.269Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-49852","url":"https://www.cve.org/CVERecord?id=CVE-2024-49852","licence":"CVE Terms of Use","modified":"2026-05-11T20:40:28.183Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-49852","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49852","licence":"Public domain","modified":"2026-06-17T08:00:35.127Z"}],"updatedAt":"2026-11-25T22:58:47.005Z","epss":{"score":0.00209,"percentile":0.11725,"date":"2026-12-01T12:00:22.000Z"}}