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 3D7F9248F6A for ; Fri, 22 Aug 2025 16:01: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=1755878477; cv=none; b=Xo/oEnjbsAiSwGLvqD8/XdIZKkJzk9QQvdyQJncJuIB8C7caexQQhzbnCfW+yoX03cp4TIt0KC2sucu740T19pvozDdRJCAG6MuZ1dhjEGDCT5wzTxenFxzzooceYsWZYgULZq2FPBU/6CqTFT9tuS9MlpyOoD1AwUzKU+Ci49o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755878477; c=relaxed/simple; bh=RBuwFGwWOBnNV6Nrq6bJby1dCSoDk2+OKTVFXlW2jg4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LDKIcbHXuoSYdXq4CYli0SX0+dZPFFySIL0rsQ40IV2t3gnWa0/FtOb9W8wUyvS+vJnLDaz6D69EB3BRj4T5cBlaO9kRHn7wDAyBwCvEEi22SL5pw1cOln/E7KgM899DgYB1B/6Hgv7DaVeF/tafI73PdDtM2Vo6DQbKmGFMtNI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Hwx619lo; 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="Hwx619lo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 577E5C4CEED; Fri, 22 Aug 2025 16:01:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755878475; bh=RBuwFGwWOBnNV6Nrq6bJby1dCSoDk2+OKTVFXlW2jg4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Hwx619loNv3/Djwl3H9W2PWtpaMU18XeO86x5J54m/KwoE+zS1Eds3gp0TEBfUK/j IjA2ShnUINt8qgu+APPs3/2918zjUcvCDiPJMjdeR66c3BDE7luhoHoBsDmEmHFPgc AIHdlIsEMpPpCaF/iAaiLSdb06GOfQL0aeJ416JM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38631: clk: imx95-blk-ctl: Fix synchronous abort Date: Fri, 22 Aug 2025 18:00:40 +0200 Message-ID: <2025082232-CVE-2025-38631-5649@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=3230; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kQz6AIuN65U8xwDg7nDzjA3xgFTIpvKqDrmXW4cA4Yw=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkrpig0Sjk9drCt/Lq302p39IFC4xTNxQo6iySvWMuuW CFwX6+gI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbyyohhntGCLq5+59NGYWk8 McUagiun+a4WZJhfL3CszuepwVc/4fk76plC1jrY1KUBAA== 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: clk: imx95-blk-ctl: Fix synchronous abort When enabling runtime PM for clock suppliers that also belong to a power domain, the following crash is thrown: error: synchronous external abort: 0000000096000010 [#1] PREEMPT SMP Workqueue: events_unbound deferred_probe_work_func pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : clk_mux_get_parent+0x60/0x90 lr : clk_core_reparent_orphans_nolock+0x58/0xd8 Call trace: clk_mux_get_parent+0x60/0x90 clk_core_reparent_orphans_nolock+0x58/0xd8 of_clk_add_hw_provider.part.0+0x90/0x100 of_clk_add_hw_provider+0x1c/0x38 imx95_bc_probe+0x2e0/0x3f0 platform_probe+0x70/0xd8 Enabling runtime PM without explicitly resuming the device caused the power domain cut off after clk_register() is called. As a result, a crash happens when the clock hardware provider is added and attempts to access the BLK_CTL register. Fix this by using devm_pm_runtime_enable() instead of pm_runtime_enable() and getting rid of the pm_runtime_disable() in the cleanup path. The Linux kernel CVE team has assigned CVE-2025-38631 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 5224b189462ff70df328f173b71acfd925092c3c and fixed in 6.12.42 with commit c1dead8bb303f86905ea6a09e5acda931165453b Issue introduced in 6.10 with commit 5224b189462ff70df328f173b71acfd925092c3c and fixed in 6.15.10 with commit 9f0ee0baf25b46bb82655c687718ebb0ae1def7b Issue introduced in 6.10 with commit 5224b189462ff70df328f173b71acfd925092c3c and fixed in 6.16.1 with commit 533dc3cb375cabd8a2beba293d63ef2acd3d0005 Issue introduced in 6.10 with commit 5224b189462ff70df328f173b71acfd925092c3c and fixed in 6.17-rc1 with commit b08217a257215ed9130fce93d35feba66b49bf0a 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-38631 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/clk/imx/clk-imx95-blk-ctl.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/c1dead8bb303f86905ea6a09e5acda931165453b https://git.kernel.org/stable/c/9f0ee0baf25b46bb82655c687718ebb0ae1def7b https://git.kernel.org/stable/c/533dc3cb375cabd8a2beba293d63ef2acd3d0005 https://git.kernel.org/stable/c/b08217a257215ed9130fce93d35feba66b49bf0a