Bug 2379196 (CVE-2025-38289) - CVE-2025-38289 kernel: scsi: lpfc: Avoid potential ndlp use-after-free in dev_loss_tmo_callbk
Summary: CVE-2025-38289 kernel: scsi: lpfc: Avoid potential ndlp use-after-free in dev...
Keywords:
Status: NEW
Alias: CVE-2025-38289
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-10 08:02 UTC by OSIDB Bzimport
Modified: 2025-07-11 09:55 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-07-10 08:02:52 UTC
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.

Comment 1 Avinash Hanwate 2025-07-11 09:46:17 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025071011-CVE-2025-38289-0d93@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.