CVE-2026-45909
published high CVSS 3.1 · 7.8clk: mediatek: Drop __initconst from gates
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux8ceff24a754ac065123ae0ec9f31ec03aff55f8a to < 1debd9ba7eb18af8fb63dc93517c6bbcab0e31ee · 8ceff24a754ac065123ae0ec9f31ec03aff55f8a to < 866d8ecc4e789f7d73d6cafd1b122d1b6032b3b1 · 8ceff24a754ac065123ae0ec9f31ec03aff55f8a to < 871afb43e41ad4e8246438de495a939cd0f8113c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.18.14 through 6.18.* (unaffected · semver) · 6.19.4 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable code is a clock-gate operation in the MediaTek clk driver, reached only by local clock-framework calls (driver/runtime-PM toggling); no remote network input flows into it, so the attacker needs local system access. AC:L - This is a use-after-free that becomes active deterministically once free_initmem() releases the .init.rodata gate arrays; the first runtime toggle of an affected gate reliably dereferences freed memory with no race or attacker-uncontrollable condition. PR:L - On these SoCs the affected peripheral gates are toggled by ordinary runtime-PM/device-idle transitions that an unprivileged local user can induce through normal device I/O, so basic unprivileged access suffices. UI:N - Triggering only requires a clock enable/disable on an affected gate; no victim action such as opening a file or mounting a filesystem is needed. S:U - The dangling pointer and its impact are entirely within the kernel's clock subsystem; no VM, IOMMU, or sandbox boundary is crossed. C:H - The UAF reads a freed init-memory object whose contents can be reclaimed/sprayed by the attacker, and the controlled gate->regs pointer is dereferenced for register offsets, enabling kernel-memory disclosure. I:H - Attacker-influenced freed-memory contents control gate->shift and gate->regs, turning regmap_write(offset, BIT(shift)) into a corrupted/controlled MMIO write — memory corruption leverageable beyond simple modification. A:H - Dereferencing the dangling cg->gate pointer (and a corrupted gate->regs) after init memory is freed reliably causes a kernel oops/crash.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 8ceff24a754ac065123ae0ec9f31ec03aff55f8a to < 1debd9ba7eb18af8fb63dc93517c6bbcab0e31ee (affected · git)8ceff24a754ac065123ae0ec9f31ec03aff55f8a to < 866d8ecc4e789f7d73d6cafd1b122d1b6032b3b1 (affected · git)8ceff24a754ac065123ae0ec9f31ec03aff55f8a to < 871afb43e41ad4e8246438de495a939cd0f8113c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.18 (affected)0 to < 6.18 (unaffected · semver)6.18.14 through 6.18.* (unaffected · semver)6.19.4 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
clk: mediatek: Drop __initconst from gates
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3c69e413bb809c9f6952c78995014e2296e35a144f6ad37fea8d7a512431bc22
- Ingested
- 23 Sep 2026, 09:15:56 UTC
- Source record
- Official CVE record