lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025071011-CVE-2025-38289-0d93@gregkh>
Date: Thu, 10 Jul 2025 09:42:30 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38289: scsi: lpfc: Avoid potential ndlp use-after-free in dev_loss_tmo_callbk

From: Greg Kroah-Hartman <gregkh@...nel.org>

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.

The Linux kernel CVE team has assigned CVE-2025-38289 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.13 with commit 4281f44ea8bfedd25938a0031bebba1473ece9ad and fixed in 6.15.3 with commit 4f09940b5581e44069eb31a66cf7f05c3c35ed04
	Issue introduced in 6.13 with commit 4281f44ea8bfedd25938a0031bebba1473ece9ad and fixed in 6.16-rc1 with commit b5162bb6aa1ec04dff4509b025883524b6d7e7ca
	Issue introduced in 6.12.5 with commit e4913d4bc59227fbdfe6b8f5541f49aaea1cb41c

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2025-38289
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/scsi/lpfc/lpfc_hbadisc.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/4f09940b5581e44069eb31a66cf7f05c3c35ed04
	https://git.kernel.org/stable/c/b5162bb6aa1ec04dff4509b025883524b6d7e7ca

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ