CVE-2025-38289
JSON

7.8high

scsi: lpfc: Avoid potential ndlp use-after-free in dev_loss_tmo_callbk

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Avoid potential ndlp use-after-free in dev_loss_tmo_callbk Smatch detected a potential use-after-free of an ndlp oject in dev_loss_tmo_callbk during driver unload or fatal error handling. Fix by reordering code to avoid potential use-after-free if initial nodelist reference has been previously removed.

Affected

Product or packageVersionsReported by
Linux Linuxfrom e4913d4bc59227fbdfe6b8f5541f49aaea1cb41c before ea405fb4144985d5c60f49c2abd9ba47ea44fdb4, from 4281f44ea8bfedd25938a0031bebba1473ece9ad before 4f09940b5581e44069eb31a66cf7f05c3c35ed04, from 4281f44ea8bfedd25938a0031bebba1473ece9ad before b5162bb6aa1ec04dff4509b025883524b6d7e7ca, from 6.12.5 before 6.12.37, 6.13
Not affected: before 6.13, from 6.12.37 up to 6.12.*, from 6.15.3 up to 6.15.*, from 6.16 up to *
CVE List
linux linux_kernelfrom 6.12.5 before 6.12.37, from 6.13 before 6.15.3NVD

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Avoid potential ndlp use-after-free in dev_loss_tmo_callbk Smatch detected a potential use-after-free of an ndlp oject in dev_loss_tmo_callbk during driver unload or fatal error handling. Fix by reordering code to avoid potential use-after-free if initial nodelist reference has been previously removed.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: lpfc: Evitar un posible use-after-free de ndlp en dev_loss_tmo_callbk. Smatch detectó un posible use-after-free de un objeto ndlp en dev_loss_tmo_callbk durante la descarga del controlador o la gestión de errores fatales. Se solucionó reordenando el código para evitar un posible use-after-free si se eliminó previamente la referencia inicial a la lista de nodos.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38289 changed 2026-11-05CVE Terms of Use
NVDCVE-2025-38289 changed 2026-11-05Public domain