Skip to contentSkip to conversation

CVE-2025-68318: clk: thead: th1520-ap: set all AXI clocks to CLK_IS_CRITICAL

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Dec 16, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

clk: thead: th1520-ap: set all AXI clocks to CLK_IS_CRITICAL

The AXI crossbar of TH1520 has no proper timeout handling, which means gating AXI clocks can easily lead to bus timeout and thus system hang.

Set all AXI clock gates to CLK_IS_CRITICAL. All these clock gates are ungated by default on system reset.

In addition, convert all current CLK_IGNORE_UNUSED usage to CLK_IS_CRITICAL to prevent unwanted clock gating.

The Linux kernel CVE team has assigned CVE-2025-68318 to this issue.

Affected and fixed versions
===========================

	Fixed in 6.17.8 with commit bdec5e01fc2f3114d1fb1daeb1000911d783c4ae
	Fixed in 6.18 with commit c567bc5fc68c4388c00e11fc65fd14fe86b52070

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-68318

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/thead/clk-th1520-ap.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/bdec5e01fc2f3114d1fb1daeb1000911d783c4ae
	https://git.kernel.org/stable/c/c567bc5fc68c4388c00e11fc65fd14fe86b52070