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 857A91391 for ; Wed, 24 Dec 2025 12:10:51 +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=1766578251; cv=none; b=huSfkPYZjUeM4SPiJvMA38HJWBRznO7yRtwzkpDP9z18TM+tKNz4e5v1EfzTvkMMVsQI8veHC2ds35igJaYsmFPCPCZ3D+CeZLmZQODeD91rhwJQXhlRlexwq75j6L6pT2+S+ZykUsxRtzwWEd9KGyF9tI9KBdnls9X2THyuXlU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766578251; c=relaxed/simple; bh=I/Bd2QzzynuVHLf9dyXeJlqBg5ZbJhv7wqjv3aPeW4s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=P158dW0eiFfKDQyUnrcF7QF9Fbm6ELOd/GJGej8wNkmBNUbmoOThi6XpnA4Vbu5xZcG/ivk+BYlm+sAuHA3HV0gXEcItSZarlMq3nOUTJr01vyLbu/5mJTgPYDfkViHymKbQSO6wS5X3H1oJ7411lMK7fQawZGgvkzjEatrB3eA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2foX+pzw; 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="2foX+pzw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BDEC2C4CEFB; Wed, 24 Dec 2025 12:10:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766578251; bh=I/Bd2QzzynuVHLf9dyXeJlqBg5ZbJhv7wqjv3aPeW4s=; h=From:To:Cc:Subject:Date:Reply-To:From; b=2foX+pzwIdPaJ6wbMtC2nhdWjsAIyXHqCxMqoUu8MmQIVjHIgJU2CFYxRNcYXZVKR 6WyZWK9VCbwJylc3Ox67KRq4fCyEFN17HGLs2n5wxTwanlmAnscmrAElsqAS4W8Fa2 0oXnIB0Yn9HH+RUrwHMEvzshKEVvtJLI8xMK1j6A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68739: PM / devfreq: hisi: Fix potential UAF in OPP handling Date: Wed, 24 Dec 2025 13:10:15 +0100 Message-ID: <2025122414-CVE-2025-68739-b2a7@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2136; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=I5pYRriHM52NPpioP54/c64zkRsdUOLTA9FHfpMXenc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneN9T81ip/Kfg9c9mNvuiVjtpv3mS/W/50qnGN6PaPj MEdjXEvOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiPkEM80Pvb62f6cW0e2vF mpYyhsd3FScHnGaYZ70kN730Y0pvstbcH+I7EoVneGazAQA= 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: PM / devfreq: hisi: Fix potential UAF in OPP handling Ensure all required data is acquired before calling dev_pm_opp_put(opp) to maintain correct resource acquisition and release order. The Linux kernel CVE team has assigned CVE-2025-68739 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit 7da2fdaaa1e6062686ac96a9f096c2d7847533e4 and fixed in 6.17.13 with commit efb028b07f7b2d141b91c2fab5276b601f0d0dbe Issue introduced in 6.17 with commit 7da2fdaaa1e6062686ac96a9f096c2d7847533e4 and fixed in 6.18.2 with commit 469b0b8ce08818f3e4f01d2fa8d0dadeab501e1f Issue introduced in 6.17 with commit 7da2fdaaa1e6062686ac96a9f096c2d7847533e4 and fixed in 6.19-rc1 with commit 26dd44a40096468396b6438985d8e44e0743f64c 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-68739 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/devfreq/hisi_uncore_freq.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/efb028b07f7b2d141b91c2fab5276b601f0d0dbe https://git.kernel.org/stable/c/469b0b8ce08818f3e4f01d2fa8d0dadeab501e1f https://git.kernel.org/stable/c/26dd44a40096468396b6438985d8e44e0743f64c