CVE-2025-38289

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

HIGH
7.8
CVSS Score
Published: July 10, 2025 at 07:42 AM UTC
Updated: June 17, 2026 at 09:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.12.5 ≤ v < 6.12.376.13 ≤ v < 6.15.36.13 ≤ v < 6.164281f44ea8bfedd25938a0031bebba1473ece9ad6.12.56.13e4913d4bc59227fbdfe6b8f5541f49aaea1cb41c
Vendor states this is fixed in 4f09940b5581e44069eb31a66cf7f05c3c35ed04 (fixed)
Vendor states this is fixed in b5162bb6aa1ec04dff4509b025883524b6d7e7ca (fixed)
Vendor states this is fixed in ea405fb4144985d5c60f49c2abd9ba47ea44fdb4 (fixed)
Vendor states this is fixed in 6.12.37 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Vendor states this is fixed in 6.15.3 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4f09940b5581e44069eb31a66cf7f05c3c35ed04
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b5162bb6aa1ec04dff4509b025883524b6d7e7ca
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ea405fb4144985d5c60f49c2abd9ba47ea44fdb4

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card