Skip to contentSkip to conversation

CVE-2025-38412: platform/x86: dell-wmi-sysman: Fix WMI data block retrieval in sysfs callbacks

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

platform/x86: dell-wmi-sysman: Fix WMI data block retrieval in sysfs callbacks

After retrieving WMI data blocks in sysfs callbacks, check for the validity of them before dereferencing their content.

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

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

	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 5.15.187 with commit 92c2d914b5337431d885597a79a3a3d9d55e80b7
	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 6.1.144 with commit 68e9963583d11963ceca5d276e9c44684509f759
	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 6.6.97 with commit 0deb3eb78ebf225cb41aa9b2b2150f46cbfd359e
	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 6.12.37 with commit 5df3b870bc389a1767c72448a3ce1c576ef4deab
	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 6.15.6 with commit aaf847dcb4114fe8b25d4c1c790bedcb6088cb3d
	Issue introduced in 5.11 with commit e8a60aa7404bfef37705da5607c97737073ac38d and fixed in 6.16-rc5 with commit eb617dd25ca176f3fee24f873f0fd60010773d67

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

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/platform/x86/dell/dell-wmi-sysman/dell-wmi-sysman.h drivers/platform/x86/dell/dell-wmi-sysman/enum-attributes.c drivers/platform/x86/dell/dell-wmi-sysman/int-attributes.c drivers/platform/x86/dell/dell-wmi-sysman/passobj-attributes.c drivers/platform/x86/dell/dell-wmi-sysman/string-attributes.c drivers/platform/x86/dell/dell-wmi-sysman/sysman.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/92c2d914b5337431d885597a79a3a3d9d55e80b7
	https://git.kernel.org/stable/c/68e9963583d11963ceca5d276e9c44684509f759
	https://git.kernel.org/stable/c/0deb3eb78ebf225cb41aa9b2b2150f46cbfd359e
	https://git.kernel.org/stable/c/5df3b870bc389a1767c72448a3ce1c576ef4deab
	https://git.kernel.org/stable/c/aaf847dcb4114fe8b25d4c1c790bedcb6088cb3d
	https://git.kernel.org/stable/c/eb617dd25ca176f3fee24f873f0fd60010773d67