{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45909","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-05-13T15:03:33.084Z","datePublished":"2026-05-27T12:17:23.099Z","dateUpdated":"2026-08-05T12:28:42.127Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T12:28:42.127Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: mediatek: Drop __initconst from gates\n\nSince commit 8ceff24a754a (\"clk: mediatek: clk-gate: Refactor\nmtk_clk_register_gate to use mtk_gate struct\") the mtk_gate structs\nare no longer just used for initialization/registration, but also at\nruntime. So drop __initconst annotations."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"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.\nAC: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.\nPR: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.\nUI: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.\nS:U - The dangling pointer and its impact are entirely within the kernel's clock subsystem; no VM, IOMMU, or sandbox boundary is crossed.\nC: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.\nI: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.\nA:H - Dereferencing the dangling cg->gate pointer (and a corrupted gate->regs) after init memory is freed reliably causes a kernel oops/crash."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/clk/mediatek/clk-mt7981-eth.c","drivers/clk/mediatek/clk-mt8516.c"],"versions":[{"version":"8ceff24a754ac065123ae0ec9f31ec03aff55f8a","lessThan":"1debd9ba7eb18af8fb63dc93517c6bbcab0e31ee","status":"affected","versionType":"git"},{"version":"8ceff24a754ac065123ae0ec9f31ec03aff55f8a","lessThan":"866d8ecc4e789f7d73d6cafd1b122d1b6032b3b1","status":"affected","versionType":"git"},{"version":"8ceff24a754ac065123ae0ec9f31ec03aff55f8a","lessThan":"871afb43e41ad4e8246438de495a939cd0f8113c","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/clk/mediatek/clk-mt7981-eth.c","drivers/clk/mediatek/clk-mt8516.c"],"versions":[{"version":"6.18","status":"affected"},{"version":"0","lessThan":"6.18","status":"unaffected","versionType":"semver"},{"version":"6.18.14","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.4","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.19.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.0"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/1debd9ba7eb18af8fb63dc93517c6bbcab0e31ee"},{"url":"https://git.kernel.org/stable/c/866d8ecc4e789f7d73d6cafd1b122d1b6032b3b1"},{"url":"https://git.kernel.org/stable/c/871afb43e41ad4e8246438de495a939cd0f8113c"}],"title":"clk: mediatek: Drop __initconst from gates","x_generator":{"engine":"bippy-1.2.0"}}}}