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 DFB5828F3 for ; Thu, 1 May 2025 13:07:47 +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=1746104868; cv=none; b=eE7mCMsMnwGCKsZq+h2Jd78qqB/0iS19R32u2r7Fykk952R/cMs/E7XTcdBF/VW9jHNSp/7gBhjdXxCuCVolqy0A9twwZm8xjeJksEpZY/jN9vIWqQCXGSBAZF4l10X07F0gHdwcfzm1oxqYDKQSIyRJpykgpgSiHrgjvbwYyBI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746104868; c=relaxed/simple; bh=JJPDOPWMHHkCU7wYC9ENq6/a2BSoNCXKATpiCtcWaXQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FOqmKkoU87akloblAA8wbDHp1O45vrMfCdI/UNFUEBnzDn5lLy3XWPAnDPZkUdxCwxEEix8pWt91Yv2SPWrKAbpzKEVVxTUmtQevGeTRDZK1huP1f0i14sJ3zKI0Vzi8nXhEIL9j7pzT1z58oHFIqbUk8YldJagh9dbLD41kpC0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1XkHp8Im; 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="1XkHp8Im" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5E0FC4CEE3; Thu, 1 May 2025 13:07:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746104867; bh=JJPDOPWMHHkCU7wYC9ENq6/a2BSoNCXKATpiCtcWaXQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1XkHp8ImNq4Bg2sNu2DgaeO7ydNfN6fSz4iHKwtQjEYrz6Upz91UJFitKhwTtDk7q A6W3TB9tQ+WSQmbwcJmEIC+YmuOeZPED2IVVZwNdv9pbCbeXhm3045aOznxZgdo6ES JpwF2eCsS0WnUJOyaThTLNSq2dP48wWFsZFOVqwQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37771: drm/amd/pm: Prevent division by zero Date: Thu, 1 May 2025 15:07:19 +0200 Message-ID: <2025050113-CVE-2025-37771-a1b6@gregkh> X-Mailer: git-send-email 2.49.0 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=2629; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=W7mi1Ikoy6Fd/Y+vi5f+xKfstADkPbPuv0Eq6pCpmjg=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCRYwn4/NcmXQ0Zfljtqx5csu+ycX1y5HOCJOYc+wxn s57JrJ0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwET0jzIs2HH35KeOFNGm0NM6 X+7uXnf0Yrb9Y4b52dbFXsHHczayB187uIXfOF1xU0E1AA== 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: drm/amd/pm: Prevent division by zero The user can set any speed value. If speed is greater than UINT_MAX/8, division by zero is possible. Found by Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2025-37771 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit b64625a303de727498f80f8cb9833fc615c0a90f and fixed in 6.1.135 with commit 402964994e8ece29702383b234fabcf04791ff95 Issue introduced in 5.15 with commit b64625a303de727498f80f8cb9833fc615c0a90f and fixed in 6.6.88 with commit 5096174074114f83c700a27869c54362cbb10f3e Issue introduced in 5.15 with commit b64625a303de727498f80f8cb9833fc615c0a90f and fixed in 6.12.25 with commit 6413fed016208171592c88b5df002af8a1387e24 Issue introduced in 5.15 with commit b64625a303de727498f80f8cb9833fc615c0a90f and fixed in 6.14.4 with commit baa54adb5e0599299b8f088efb5544d876a3eb62 Issue introduced in 5.15 with commit b64625a303de727498f80f8cb9833fc615c0a90f and fixed in 6.15-rc1 with commit 7d641c2b83275d3b0424127b2e0d2d0f7dd82aef 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-37771 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/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.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/402964994e8ece29702383b234fabcf04791ff95 https://git.kernel.org/stable/c/5096174074114f83c700a27869c54362cbb10f3e https://git.kernel.org/stable/c/6413fed016208171592c88b5df002af8a1387e24 https://git.kernel.org/stable/c/baa54adb5e0599299b8f088efb5544d876a3eb62 https://git.kernel.org/stable/c/7d641c2b83275d3b0424127b2e0d2d0f7dd82aef