Skip to contentSkip to conversation

CVE-2025-37977: scsi: ufs: exynos: Disable iocc if dma-coherent property isn't set

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 20, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

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

scsi: ufs: exynos: Disable iocc if dma-coherent property isn't set

If dma-coherent property isn't set then descriptors are non-cacheable and the iocc shareability bits should be disabled. Without this UFS can end up in an incompatible configuration and suffer from random cache related stability issues.

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

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

	Issue introduced in 5.16 with commit cc52e15397cc5dc773d3c6792b98352d3209f93f and fixed in 6.12.26 with commit 869749e48115ef944eeabec8e84138908471fa51
	Issue introduced in 5.16 with commit cc52e15397cc5dc773d3c6792b98352d3209f93f and fixed in 6.14.4 with commit f0c6728a6f2e269ebb234a9b5bb6c2c24aafeb51
	Issue introduced in 5.16 with commit cc52e15397cc5dc773d3c6792b98352d3209f93f and fixed in 6.15-rc3 with commit f92bb7436802f8eb7ee72dc911a33c8897fde366

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-37977

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/host/ufs-exynos.c
drivers/ufs/host/ufs-exynos.h

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/869749e48115ef944eeabec8e84138908471fa51
	https://git.kernel.org/stable/c/f0c6728a6f2e269ebb234a9b5bb6c2c24aafeb51
	https://git.kernel.org/stable/c/f92bb7436802f8eb7ee72dc911a33c8897fde366