CVE-2024-49852

scsi: elx: libefc: Fix potential use after free in efc_nport_vport_del()

published October 21, 2024

CVSS
—
EPSS
0%
Percentile
10.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00209 · 10.6th percentile
Published
2024-10-21T12:18Z
EPSS history
Timeline
  • 21 OCT 12:18Z
    scsi: elx: libefc: Fix potential use after free in efc_nport_vport_del()
    cvelistv5