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: <2025050822-CVE-2025-37826-83df@gregkh>
Date: Thu,  8 May 2025 08:39:35 +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-37826: scsi: ufs: core: Add NULL check in ufshcd_mcq_compl_pending_transfer()

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

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

scsi: ufs: core: Add NULL check in ufshcd_mcq_compl_pending_transfer()

Add a NULL check for the returned hwq pointer by ufshcd_mcq_req_to_hwq().

This is similar to the fix in commit 74736103fb41 ("scsi: ufs: core: Fix
ufshcd_abort_one racing issue").

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


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

	Issue introduced in 6.5 with commit ab248643d3d68b30f95ee9c238a5a20a06891204 and fixed in 6.12.26 with commit eeab6618037be84e438e9d6ed5d9a53502faf81f
	Issue introduced in 6.5 with commit ab248643d3d68b30f95ee9c238a5a20a06891204 and fixed in 6.14.5 with commit 700128d67d57bb1de4251e563ab85202def36c50
	Issue introduced in 6.5 with commit ab248643d3d68b30f95ee9c238a5a20a06891204 and fixed in 6.15-rc4 with commit 08a966a917fe3d92150fa3cc15793ad5e57051eb

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-37826
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/ufs/core/ufshcd.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/eeab6618037be84e438e9d6ed5d9a53502faf81f
	https://git.kernel.org/stable/c/700128d67d57bb1de4251e563ab85202def36c50
	https://git.kernel.org/stable/c/08a966a917fe3d92150fa3cc15793ad5e57051eb

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ