Skip to contentSkip to conversation

CVE-2026-45909: clk: mediatek: Drop __initconst from gates

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 27

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: mediatek: Drop __initconst from gates

Since commit 8ceff24a754a ("clk: mediatek: clk-gate: Refactor mtk_clk_register_gate to use mtk_gate struct") the mtk_gate structs are no longer just used for initialization/registration, but also at runtime. So drop __initconst annotations.

The Linux kernel CVE team has assigned CVE-2026-45909 to this issue.

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

	Issue introduced in 6.18 with commit 8ceff24a754ac065123ae0ec9f31ec03aff55f8a and fixed in 6.18.14 with commit 1debd9ba7eb18af8fb63dc93517c6bbcab0e31ee
	Issue introduced in 6.18 with commit 8ceff24a754ac065123ae0ec9f31ec03aff55f8a and fixed in 6.19.4 with commit 866d8ecc4e789f7d73d6cafd1b122d1b6032b3b1
	Issue introduced in 6.18 with commit 8ceff24a754ac065123ae0ec9f31ec03aff55f8a and fixed in 7.0 with commit 871afb43e41ad4e8246438de495a939cd0f8113c

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-2026-45909

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/mediatek/clk-mt7981-eth.c
	drivers/clk/mediatek/clk-mt8516.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/1debd9ba7eb18af8fb63dc93517c6bbcab0e31ee
	https://git.kernel.org/stable/c/866d8ecc4e789f7d73d6cafd1b122d1b6032b3b1
	https://git.kernel.org/stable/c/871afb43e41ad4e8246438de495a939cd0f8113c