In the Linux kernel, the following vulnerability has been resolved:
scsi: elx: libefc: Fix potential use after free in efcnportvport_del()
The krefput() function will call nport->release if the refcount drops to zero. The nport->release release function is _efcnport_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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49852.json"
}