{"id":"CVE-2026-89947","aliases":["CVE-2026-89947"],"related":[],"kind":"vulnerability","state":"published","title":"clk: meson: align gxbb_32k_clk_sel number of parents with actual count","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: meson: align gxbb_32k_clk_sel number of parents with actual count\n\nThe following out-of-bounds read has been observed by Christian on a\nGXBB WeTek Hub:\n==================================================================\nBUG: KASAN: global-out-of-bounds in __clk_register+0x1b70/0x2418\nRead of size 8 at addr ffffd66320cf88e0 by task swapper/0/1\n\nCPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 7.0.0-rc5 #1 PREEMPT\nHardware name: WeTek Hub (DT)\nCall trace:\n show_stack+0x14/0x20 (C)\n dump_stack_lvl+0x74/0x94\n print_report+0x164/0x4b0\n kasan_report+0x98/0xd8\n __asan_report_load8_noabort+0x1c/0x24\n __clk_register+0x1b70/0x2418\n devm_clk_hw_register+0x74/0x15c\n meson_clkc_init+0xd4/0x20c\n meson_clkc_syscon_probe+0x5c/0x94\n platform_probe+0xbc/0x17c\n really_probe+0x184/0x844\n __driver_probe_device+0x154/0x35c\n driver_probe_device+0x60/0x188\n __driver_attach+0x168/0x4a0\n bus_for_each_dev+0xec/0x180\n driver_attach+0x38/0x58\n bus_add_driver+0x238/0x4c0\n driver_register+0x150/0x388\n __platform_driver_register+0x54/0x7c\n gxbb_clkc_driver_init+0x18/0x20\n do_one_initcall+0xb8/0x340\n kernel_init_freeable+0x49c/0x52c\n kernel_init+0x24/0x148\n ret_from_fork+0x10/0x20\n\nThe buggy address belongs to the variable:\n gxbb_32k_clk_parents+0x60/0x400\n\nThe buggy address belongs to a vmalloc virtual mapping\nThe buggy address belongs to the physical page:\n\nMemory state around the buggy address:\n ffffd66320cf8780: 00 00 00 00 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9\n ffffd66320cf8800: 00 04 f9 f9 f9 f9 f9 f9 00 04 f9 f9 f9 f9 f9 f9\n>ffffd66320cf8880: 00 00 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9\n                                                       ^\n ffffd66320cf8900: 00 01 f9 f9 f9 f9 f9 f9 00 06 f9 f9 f9 f9 f9 f9\n ffffd66320cf8980: 00 00 02 f9 f9 f9 f9 f9 00 00 02 f9 f9 f9 f9 f9\n==================================================================\n\nCommit 7915d7d5407c (\"clk: amlogic: gxbb: drop non existing 32k clock\nparent\") dropped a non-existing clock parent from the gxbb_32k_clk_sel\nmux but didn't adjust the hard-coded num_parents field. Fix the actual\nnumber of parents of that mux by using ARRAY_SIZE instead (avoiding\nsimilar problems in future).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: meson: align gxbb_32k_clk_sel number of parents with actual count\n\nThe following out-of-bounds read has been observed by Christian on a\nGXBB WeTek Hub:\n==================================================================\nBUG: KASAN: global-out-of-bounds in __clk_register+0x1b70/0x2418\nRead of size 8 at addr ffffd66320cf88e0 by task swapper/0/1\n\nCPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 7.0.0-rc5 #1 PREEMPT\nHardware name: WeTek Hub (DT)\nCall trace:\n show_stack+0x14/0x20 (C)\n dump_stack_lvl+0x74/0x94\n print_report+0x164/0x4b0\n kasan_report+0x98/0xd8\n __asan_report_load8_noabort+0x1c/0x24\n __clk_register+0x1b70/0x2418\n devm_clk_hw_register+0x74/0x15c\n meson_clkc_init+0xd4/0x20c\n meson_clkc_syscon_probe+0x5c/0x94\n platform_probe+0xbc/0x17c\n really_probe+0x184/0x844\n __driver_probe_device+0x154/0x35c\n driver_probe_device+0x60/0x188\n __driver_attach+0x168/0x4a0\n bus_for_each_dev+0xec/0x180\n driver_attach+0x38/0x58\n bus_add_driver+0x238/0x4c0\n driver_register+0x150/0x388\n __platform_driver_register+0x54/0x7c\n gxbb_clkc_driver_init+0x18/0x20\n do_one_initcall+0xb8/0x340\n kernel_init_freeable+0x49c/0x52c\n kernel_init+0x24/0x148\n ret_from_fork+0x10/0x20\n\nThe buggy address belongs to the variable:\n gxbb_32k_clk_parents+0x60/0x400\n\nThe buggy address belongs to a vmalloc virtual mapping\nThe buggy address belongs to the physical page:\n\nMemory state around the buggy address:\n ffffd66320cf8780: 00 00 00 00 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9\n ffffd66320cf8800: 00 04 f9 f9 f9 f9 f9 f9 00 04 f9 f9 f9 f9 f9 f9\n>ffffd66320cf8880: 00 00 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9\n                                                       ^\n ffffd66320cf8900: 00 01 f9 f9 f9 f9 f9 f9 00 06 f9 f9 f9 f9 f9 f9\n ffffd66320cf8980: 00 00 02 f9 f9 f9 f9 f9 00 00 02 f9 f9 f9 f9 f9\n==================================================================\n\nCommit 7915d7d5407c (\"clk: amlogic: gxbb: drop non existing 32k clock\nparent\") dropped a non-existing clock parent from the gxbb_32k_clk_sel\nmux but didn't adjust the hard-coded num_parents field. Fix the actual\nnumber of parents of that mux by using ARRAY_SIZE instead (avoiding\nsimilar problems in future).","source":"cvelist"}],"published":"2026-09-16T10:32:33.387Z","modified":"2026-10-19T09:18:40.620Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","score":8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","score":8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b9778cd803b330b8d7a9b523743c35093454b77f","fixed":"c86214e6178c38a0eff39110a4e92b824f5dd403","status":"affected"},{"type":"git","introduced":"f95e0f36e592e17a24ba4f56c355946448f84291","fixed":"8b2f7a411e7ceaef268355c2150c22ee3f509c3b","status":"affected"},{"type":"git","introduced":"6ded8c22af4700bbf91da24ac025f9d05b879267","fixed":"1e509a6707d2fd9da79bdfa24742661b34562bfd","status":"affected"},{"type":"git","introduced":"7061afacc89dec3f02f7412653b83f148a0c646b","fixed":"404079d124d75a5da16322acc53d3ffc50b4ec68","status":"affected"},{"type":"git","introduced":"4d32504f7ae951600e216aac4e04c81b02421a9d","fixed":"f6ff0e6995dbff5cb145d7795c8f0af9c168094a","status":"affected"},{"type":"git","introduced":"7915d7d5407c026fa9343befb4d3343f7a345f97","fixed":"4582949b7badcb91bb537ca522d69b8a35131e72","status":"affected"},{"type":"git","introduced":"7915d7d5407c026fa9343befb4d3343f7a345f97","fixed":"bf85bd6e550c17ffa585606fcc18eb5b7c95bbce","status":"affected"},{"type":"git","introduced":"7915d7d5407c026fa9343befb4d3343f7a345f97","fixed":"628b6fee9fca292f12d07f0f1bcf1edefa949d81","status":"affected"},{"type":"git","version":"450a1d9eac98886c7d19586dd10e72a4eaf8e1bc","status":"affected"},{"type":"git","version":"f18b09c998002ed6a67d1a235f3941a2662f1036","status":"affected"},{"type":"git","version":"1eb7a2f3e25075b2dc9b10c94616b066f80e79ee","status":"affected"},{"type":"semver","introduced":"5.10.236","fixed":"5.10.270","status":"affected"},{"type":"semver","introduced":"5.15.180","fixed":"5.15.221","status":"affected"},{"type":"semver","introduced":"6.1.134","fixed":"6.1.188","status":"affected"},{"type":"semver","introduced":"6.6.87","fixed":"6.6.157","status":"affected"},{"type":"semver","introduced":"6.12.23","fixed":"6.12.110","status":"affected"},{"type":"semver","introduced":"5.4.292","fixed":"5.5","status":"affected"},{"type":"semver","introduced":"6.13.11","fixed":"6.14","status":"affected"},{"type":"semver","introduced":"6.14.2","fixed":"6.15","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c86214e6178c38a0eff39110a4e92b824f5dd403","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8b2f7a411e7ceaef268355c2150c22ee3f509c3b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1e509a6707d2fd9da79bdfa24742661b34562bfd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/404079d124d75a5da16322acc53d3ffc50b4ec68","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f6ff0e6995dbff5cb145d7795c8f0af9c168094a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4582949b7badcb91bb537ca522d69b8a35131e72","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bf85bd6e550c17ffa585606fcc18eb5b7c95bbce","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/628b6fee9fca292f12d07f0f1bcf1edefa949d81","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89947","url":"https://www.cve.org/CVERecord?id=CVE-2026-89947","licence":"CVE Terms of Use","modified":"2026-10-19T08:55:21.465Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89947","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89947","licence":"Public domain","modified":"2026-10-19T09:18:40.620Z"}],"updatedAt":"2026-11-25T22:59:38.989Z","epss":{"score":0.00185,"percentile":0.08469,"date":"2026-12-02T12:00:21.000Z"}}