Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6525B2ECD0A for ; Fri, 25 Jul 2025 13:20:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753449644; cv=none; b=eHlLGoPfQC39s0bKW86BhoSSO0PbIpbahkWzTJG5lv7xpa05AiC6QqOcpr2xd1hsBjV5CQ4pRCMSlL+SGesmBagJmdlF1Z/hPJa4aS+Rmtq/8HwiMLq0hLnSQ7kYFX8AI3JhWY1MUzcMTN5sS5hJmGuc6tpcpGjOdt6rY0iqCtI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753449644; c=relaxed/simple; bh=b27kLCp6gDQ2oKKNIo4z/cU2werRICyBWPk9kC9pCLw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Hvkbnnbml4Eu5xk8UzrGQqjaUQW4zFzWiqb3ru8jal2emiArm61lOMDKQTrp5BCsVAO9v9ORrofcOebasJBUbKKGvlTLQcl28JFQcpO/s4YgOXKSO1sgQ96OAaMGSWmlH0fWE8XlBbPxLYdQrEV9yk+f8SuSwb7eQEhWFoGMYM0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jwHGA27P; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="jwHGA27P" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6A5AC4CEE7; Fri, 25 Jul 2025 13:20:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1753449644; bh=b27kLCp6gDQ2oKKNIo4z/cU2werRICyBWPk9kC9pCLw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=jwHGA27PyV1kgHTvbSRqpEVULsr/tSzSy9kcvnRkpUAeAL+VmJlLVwfwzQqqkfZgo JEA+xDyaGhYI2Vg6Fx08u3g4ZOQrloxE4JhkPYwWf39N3Moav2P56DQr5v4ano7VQP YiJZ9HDAI4Jv9lfNRSDPyx+h42wh5D5GY+WWRSEA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38412: platform/x86: dell-wmi-sysman: Fix WMI data block retrieval in sysfs callbacks Date: Fri, 25 Jul 2025 15:20:26 +0200 Message-ID: <2025072521-CVE-2025-38412-2ccc@gregkh> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=3166; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vqNABhH/xwOUMaybIdCqa31OjrS1b1n8oK+JPTccnc0=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnNLVPZBa+vv5DStW/9k8cMLDoHvxbsOy1RYVFwPc6n1 a1UaJtpRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExksy7DfCfh/xPtfc+XZS5k /HZqeckTnqN/jjPM0xWIt7m+bnlM59cmo8rqq1yVgpsFAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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