cve/2024/CVE-2024-49852.md
2025-09-29 21:09:30 +02:00

1.1 KiB

CVE-2024-49852

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 tozero. The nport->release release function is _efc_nport_free() which frees"nport". But then we dereference "nport" on the next line which is a useafter free. Re-order these lines to avoid the use after free.

POC

Reference

No PoCs from references.

Github