clk: meson: align gxbb_32k_clk_sel number of parents with actual count

Summary

CVECVE-2026-89947
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-16 11:17:04 UTC
Updated2026-10-19 09:18:40 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: clk: meson: align gxbb_32k_clk_sel number of parents with actual count The following out-of-bounds read has been observed by Christian on a GXBB WeTek Hub: ================================================================== BUG: KASAN: global-out-of-bounds in __clk_register+0x1b70/0x2418 Read of size 8 at addr ffffd66320cf88e0 by task swapper/0/1 CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 7.0.0-rc5 #1 PREEMPT Hardware name: WeTek Hub (DT) Call trace: show_stack+0x14/0x20 (C) dump_stack_lvl+0x74/0x94 print_report+0x164/0x4b0 kasan_report+0x98/0xd8 __asan_report_load8_noabort+0x1c/0x24 __clk_register+0x1b70/0x2418 devm_clk_hw_register+0x74/0x15c meson_clkc_init+0xd4/0x20c meson_clkc_syscon_probe+0x5c/0x94 platform_probe+0xbc/0x17c really_probe+0x184/0x844 __driver_probe_device+0x154/0x35c driver_probe_device+0x60/0x188 __driver_attach+0x168/0x4a0 bus_for_each_dev+0xec/0x180 driver_attach+0x38/0x58 bus_add_driver+0x238/0x4c0 driver_register+0x150/0x388 __platform_driver_register+0x54/0x7c gxbb_clkc_driver_init+0x18/0x20 do_one_initcall+0xb8/0x340 kernel_init_freeable+0x49c/0x52c kernel_init+0x24/0x148 ret_from_fork+0x10/0x20 The buggy address belongs to the variable: gxbb_32k_clk_parents+0x60/0x400 The buggy address belongs to a vmalloc virtual mapping The buggy address belongs to the physical page: Memory state around the buggy address: ffffd66320cf8780: 00 00 00 00 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 ffffd66320cf8800: 00 04 f9 f9 f9 f9 f9 f9 00 04 f9 f9 f9 f9 f9 f9 >ffffd66320cf8880: 00 00 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 ^ ffffd66320cf8900: 00 01 f9 f9 f9 f9 f9 f9 00 06 f9 f9 f9 f9 f9 f9 ffffd66320cf8980: 00 00 02 f9 f9 f9 f9 f9 00 00 02 f9 f9 f9 f9 f9 ================================================================== Commit 7915d7d5407c ("clk: amlogic: gxbb: drop non existing 32k clock parent") dropped a non-existing clock parent from the gxbb_32k_clk_sel mux but didn't adjust the hard-coded num_parents field. Fix the actual number of parents of that mux by using ARRAY_SIZE instead (avoiding similar problems in future).

Risk And Classification

Primary CVSS: v3.1 8 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H


VersionSourceTypeScoreSeverityVector
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
3.1CNADECLARED8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
High

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected b9778cd803b330b8d7a9b523743c35093454b77f c86214e6178c38a0eff39110a4e92b824f5dd403 git Not specified
CNA Linux Linux affected f95e0f36e592e17a24ba4f56c355946448f84291 8b2f7a411e7ceaef268355c2150c22ee3f509c3b git Not specified
CNA Linux Linux affected 6ded8c22af4700bbf91da24ac025f9d05b879267 1e509a6707d2fd9da79bdfa24742661b34562bfd git Not specified
CNA Linux Linux affected 7061afacc89dec3f02f7412653b83f148a0c646b 404079d124d75a5da16322acc53d3ffc50b4ec68 git Not specified
CNA Linux Linux affected 4d32504f7ae951600e216aac4e04c81b02421a9d f6ff0e6995dbff5cb145d7795c8f0af9c168094a git Not specified
CNA Linux Linux affected 7915d7d5407c026fa9343befb4d3343f7a345f97 4582949b7badcb91bb537ca522d69b8a35131e72 git Not specified
CNA Linux Linux affected 7915d7d5407c026fa9343befb4d3343f7a345f97 bf85bd6e550c17ffa585606fcc18eb5b7c95bbce git Not specified
CNA Linux Linux affected 7915d7d5407c026fa9343befb4d3343f7a345f97 628b6fee9fca292f12d07f0f1bcf1edefa949d81 git Not specified
CNA Linux Linux affected 450a1d9eac98886c7d19586dd10e72a4eaf8e1bc git Not specified
CNA Linux Linux affected f18b09c998002ed6a67d1a235f3941a2662f1036 git Not specified
CNA Linux Linux affected 1eb7a2f3e25075b2dc9b10c94616b066f80e79ee git Not specified
CNA Linux Linux affected 5.10.236 5.10.270 semver Not specified
CNA Linux Linux affected 5.15.180 5.15.221 semver Not specified
CNA Linux Linux affected 6.1.134 6.1.188 semver Not specified
CNA Linux Linux affected 6.6.87 6.6.157 semver Not specified
CNA Linux Linux affected 6.12.23 6.12.110 semver Not specified
CNA Linux Linux affected 5.4.292 5.5 semver Not specified
CNA Linux Linux affected 6.13.11 6.14 semver Not specified
CNA Linux Linux affected 6.14.2 6.15 semver Not specified
CNA Linux Linux affected 6.15 Not specified
CNA Linux Linux unaffected 6.15 semver Not specified
CNA Linux Linux unaffected 5.10.270 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.221 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.188 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.157 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.110 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.51 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.5 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/c86214e6178c38a0eff39110a4e92b824f5dd403 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8b2f7a411e7ceaef268355c2150c22ee3f509c3b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4582949b7badcb91bb537ca522d69b8a35131e72 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f6ff0e6995dbff5cb145d7795c8f0af9c168094a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1e509a6707d2fd9da79bdfa24742661b34562bfd 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/628b6fee9fca292f12d07f0f1bcf1edefa949d81 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/404079d124d75a5da16322acc53d3ffc50b4ec68 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/bf85bd6e550c17ffa585606fcc18eb5b7c95bbce 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report