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 DBE3128F3 for ; Thu, 1 May 2025 13:08:15 +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=1746104897; cv=none; b=QTNcTAwLhQ+Yl1rCcNpgzmmQznqoTD19zXWXtThxcfWnzvx6jWx4irBH3f/v/jilUkwKXKLFH4XOlJXJD0JTcByFjJvXTdRekp7EgOmOzH2/gb/HPIvRPW1tTispIfw2zqMSZJBmEKnoa5CGdGmqpUJKxXUJ5ClK1sWr8Fwy7Yc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746104897; c=relaxed/simple; bh=oVYi/hXyOqR/ZIbnBTaJDpl+/8ve9tVPlKopGNRzah0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fPZ4sapAGPnvd2Th2/YXlBih4frLJbyN17qDuMe8hxioElUPQGhE4I2d6XJKKBXshJRxH+0j5VZDpzWG+3YrnRCjX60OKBpqOiAgi6V1pLJLVzETstk8/t1IupJISKgpu+pBSr3aG4xow7bl0DH5LrGr9Hwl8IOY0kmzs/hanLI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tpsx4ukU; 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="tpsx4ukU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDA0FC4CEE3; Thu, 1 May 2025 13:08:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746104895; bh=oVYi/hXyOqR/ZIbnBTaJDpl+/8ve9tVPlKopGNRzah0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=tpsx4ukUWylAJKEU3ibJU5hEUuE++uRly7AV9h+Gwz0cr8uv2WekiX3aOyz85LsW+ msCPW2nbrfpaeUb3zVJqeKgakrhN/2SOgGdLAYGZoEvT1VjEwvxWMqWSJTJVsyp7zV MjCBsnsFQKqWbAaxTuqS8q2ZgY61C8FhmWkWlJQI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37769: drm/amd/pm/smu11: Prevent division by zero Date: Thu, 1 May 2025 15:07:17 +0200 Message-ID: <2025050113-CVE-2025-37769-dd42@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=2699; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=14fvLQbq2au1oVTlJQVbO1WBlaJ1IUXt/L1b9q1Tykg=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCRYxVB70bgv+sf9v/PzbKQFH/mmTvZEGJ+dwTj7VM3 uB2Yq1gRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkuB7DPJPYV3x98rvMo7bf LxN5FuEv9njeWYb5WTOynr048m5ns26c6fVby//le098CgA= 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/smu11: 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. (cherry picked from commit da7dc714a8f8e1c9fc33c57cd63583779a3bef71) The Linux kernel CVE team has assigned CVE-2025-37769 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 1e866f1fe528bc0158cdcd589053753032bdb52c and fixed in 6.1.135 with commit de6f8e0534cfabc528c969d453150ca90b24fb01 Issue introduced in 6.0 with commit 1e866f1fe528bc0158cdcd589053753032bdb52c and fixed in 6.6.88 with commit de2cba068c9c648503973b57696d035cfe58a9f6 Issue introduced in 6.0 with commit 1e866f1fe528bc0158cdcd589053753032bdb52c and fixed in 6.12.25 with commit 63a150400194592206817124268ff6f43947e8c9 Issue introduced in 6.0 with commit 1e866f1fe528bc0158cdcd589053753032bdb52c and fixed in 6.14.4 with commit fc9d55377353321e78f9e108d15f72a17e8c6ee2 Issue introduced in 6.0 with commit 1e866f1fe528bc0158cdcd589053753032bdb52c and fixed in 6.15-rc2 with commit 7ba88b5cccc1a99c1afb96e31e7eedac9907704c 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-37769 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/smu_v11_0.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/de6f8e0534cfabc528c969d453150ca90b24fb01 https://git.kernel.org/stable/c/de2cba068c9c648503973b57696d035cfe58a9f6 https://git.kernel.org/stable/c/63a150400194592206817124268ff6f43947e8c9 https://git.kernel.org/stable/c/fc9d55377353321e78f9e108d15f72a17e8c6ee2 https://git.kernel.org/stable/c/7ba88b5cccc1a99c1afb96e31e7eedac9907704c