What’s Vulnerable › Vulnerabilities
CVE-2025-38289: scsi: lpfc: Avoid potential ndlp use-after-free in dev_loss_tmo_callbk
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-10 · updated 2026-06-17
- Weakness: CWE-416
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 products
- Linux kernel: from 6.12.5 before 6.12.37; from 6.13 before 6.15.3 — fixed in 6.12.37, 6.15.3
How to fix
Upgrade to a fixed version: Linux kernel 6.12.37, 6.15.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/4f09940b5581e44069eb31a66cf7f05c3c35ed04
- https://git.kernel.org/stable/c/b5162bb6aa1ec04dff4509b025883524b6d7e7ca
- https://git.kernel.org/stable/c/ea405fb4144985d5c60f49c2abd9ba47ea44fdb4
Get alerted when CVE-2025-38289 or the next vulnerability affects your stack