Skip to contentSkip to conversation

CVE-2025-37848: accel/ivpu: Fix PM related deadlocks in MS IOCTLs

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 9, 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:

accel/ivpu: Fix PM related deadlocks in MS IOCTLs

Prevent runtime resume/suspend while MS IOCTLs are in progress. Failed suspend will call ivpu_ms_cleanup() that would try to acquire file_priv->ms_lock, which is already held by the IOCTLs.

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

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

	Issue introduced in 6.11 with commit cdfad4db7756563db7d458216d9e3c2651dddc7d and fixed in 6.12.24 with commit afada73000bef7c79a22f0d7e93fac414eeff19e
	Issue introduced in 6.11 with commit cdfad4db7756563db7d458216d9e3c2651dddc7d and fixed in 6.13.12 with commit c3d9fc2f2746b52e9f820a13c53b4418bec04b48
	Issue introduced in 6.11 with commit cdfad4db7756563db7d458216d9e3c2651dddc7d and fixed in 6.14.3 with commit 84547128526441b45c3c241419dececf20c30104
	Issue introduced in 6.11 with commit cdfad4db7756563db7d458216d9e3c2651dddc7d and fixed in 6.15-rc2 with commit d893da85e06edf54737bb80648bb58ba8fd56d9f

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

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/accel/ivpu/ivpu_debugfs.c
drivers/accel/ivpu/ivpu_ms.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/afada73000bef7c79a22f0d7e93fac414eeff19e
	https://git.kernel.org/stable/c/c3d9fc2f2746b52e9f820a13c53b4418bec04b48
	https://git.kernel.org/stable/c/84547128526441b45c3c241419dececf20c30104
	https://git.kernel.org/stable/c/d893da85e06edf54737bb80648bb58ba8fd56d9f