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.
Published: 2026-05-27
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from using the __initconst annotation on Mediatek clock gate structures. Because these structs are used at runtime, the annotation mistakenly marks them as part of the init section, which may be discarded after boot. The patch removes this annotation so the data remains valid for the lifetime of the kernel. This change prevents improper lifetime handling of global data that could lead to kernel instability or a crash, an issue that maps to the CWE-416 (Use‑After‑Free).

Affected Systems

Linux kernel components that provide Mediatek clock gate support, including the mtk_clk_register_gate infrastructure. No specific vendor product versions are listed, but the fix is present in any kernel that includes commit 8ceff24a. Users running kernels that integrate Mediatek hardware drivers should verify that the patch is applied.

Risk and Exploitability

The CVSS score is not provided and EPSS data is unavailable, and the vulnerability has not been listed in the CISA KEV catalog. The likely exploitation scenario would involve a local attacker with the ability to trigger a runtime reference to a Mis-annotated gate structure, potentially leading to a kernel panic. Because the attack requires code presence in the kernel and the vulnerability affects global data lifetime, the risk is moderate but mitigated by the absence of a public exploit and the ease of patching.

Generated by OpenCVE AI on May 27, 2026 at 17:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that contains commit 8ceff24a, ensuring that __initconst is no longer applied to Mediatek clock gate structures.
  • If an upgrade is not immediately possible, review the kernel source for any __initconst annotations on Mediatek driver data and remove them manually to prevent unintended discard of runtime data.
  • Monitor system logs for repeated kernel panics or assertion failures related to Mediatek clock gates; correlating such events with a missing or outdated kernel can indicate the vulnerability remains unaddressed.

Generated by OpenCVE AI on May 27, 2026 at 17:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 27 May 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
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.
Title clk: mediatek: Drop __initconst from gates
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-27T12:17:23.099Z

Reserved: 2026-05-13T15:03:33.084Z

Link: CVE-2026-45909

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-27T14:17:05.453

Modified: 2026-05-27T14:48:31.480

Link: CVE-2026-45909

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-27T18:30:26Z

Weaknesses