CVE-2025-38289
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.05%• Percentile: 16%
Techniques & Countermeasures
- CWE-416•Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected Systems
- linux•linux
≥ e4913d4bc59227fbdfe6b8f5541f49aaea1cb41c, < ea405fb4144985d5c60f49c2abd9ba47ea44fdb4 | ≥ 4281f44ea8bfedd25938a0031bebba1473ece9ad, < 4f09940b5581e44069eb31a66cf7f05c3c35ed04 | ≥ 4281f44ea8bfedd25938a0031bebba1473ece9ad, < b5162bb6aa1ec04dff4509b025883524b6d7e7ca | ≥ 6.12.5, < 6.12.37 | 6.13
- linux•linux_kernel
≥ 6.12.5, < 6.12.37 | ≥ 6.13, < 6.15.3