CVE-2026-89947 (GCVE-0-2026-89947)
Vulnerability from cvelistv5
Published
2026-09-16 10:32
Modified
2026-10-19 08:55
Summary
In 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).
Impacted products
Vendor Product Version
Linux Linux Version: b9778cd803b330b8d7a9b523743c35093454b77f
Version: f95e0f36e592e17a24ba4f56c355946448f84291
Version: 6ded8c22af4700bbf91da24ac025f9d05b879267
Version: 7061afacc89dec3f02f7412653b83f148a0c646b
Version: 4d32504f7ae951600e216aac4e04c81b02421a9d
Version: 7915d7d5407c026fa9343befb4d3343f7a345f97
Version: 7915d7d5407c026fa9343befb4d3343f7a345f97
Version: 7915d7d5407c026fa9343befb4d3343f7a345f97
Version: 450a1d9eac98886c7d19586dd10e72a4eaf8e1bc
Version: f18b09c998002ed6a67d1a235f3941a2662f1036
Version: 1eb7a2f3e25075b2dc9b10c94616b066f80e79ee
Version: 5.10.236   ≤
Version: 5.15.180   ≤
Version: 6.1.134   ≤
Version: 6.6.87   ≤
Version: 6.12.23   ≤
Version: 5.4.292   ≤
Version: 6.13.11   ≤
Version: 6.14.2   ≤
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/clk/meson/gxbb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c86214e6178c38a0eff39110a4e92b824f5dd403",
              "status": "affected",
              "version": "b9778cd803b330b8d7a9b523743c35093454b77f",
              "versionType": "git"
            },
            {
              "lessThan": "8b2f7a411e7ceaef268355c2150c22ee3f509c3b",
              "status": "affected",
              "version": "f95e0f36e592e17a24ba4f56c355946448f84291",
              "versionType": "git"
            },
            {
              "lessThan": "1e509a6707d2fd9da79bdfa24742661b34562bfd",
              "status": "affected",
              "version": "6ded8c22af4700bbf91da24ac025f9d05b879267",
              "versionType": "git"
            },
            {
              "lessThan": "404079d124d75a5da16322acc53d3ffc50b4ec68",
              "status": "affected",
              "version": "7061afacc89dec3f02f7412653b83f148a0c646b",
              "versionType": "git"
            },
            {
              "lessThan": "f6ff0e6995dbff5cb145d7795c8f0af9c168094a",
              "status": "affected",
              "version": "4d32504f7ae951600e216aac4e04c81b02421a9d",
              "versionType": "git"
            },
            {
              "lessThan": "4582949b7badcb91bb537ca522d69b8a35131e72",
              "status": "affected",
              "version": "7915d7d5407c026fa9343befb4d3343f7a345f97",
              "versionType": "git"
            },
            {
              "lessThan": "bf85bd6e550c17ffa585606fcc18eb5b7c95bbce",
              "status": "affected",
              "version": "7915d7d5407c026fa9343befb4d3343f7a345f97",
              "versionType": "git"
            },
            {
              "lessThan": "628b6fee9fca292f12d07f0f1bcf1edefa949d81",
              "status": "affected",
              "version": "7915d7d5407c026fa9343befb4d3343f7a345f97",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "450a1d9eac98886c7d19586dd10e72a4eaf8e1bc",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "f18b09c998002ed6a67d1a235f3941a2662f1036",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "1eb7a2f3e25075b2dc9b10c94616b066f80e79ee",
              "versionType": "git"
            },
            {
              "lessThan": "5.10.270",
              "status": "affected",
              "version": "5.10.236",
              "versionType": "semver"
            },
            {
              "lessThan": "5.15.221",
              "status": "affected",
              "version": "5.15.180",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.188",
              "status": "affected",
              "version": "6.1.134",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.157",
              "status": "affected",
              "version": "6.6.87",
              "versionType": "semver"
            },
            {
              "lessThan": "6.12.110",
              "status": "affected",
              "version": "6.12.23",
              "versionType": "semver"
            },
            {
              "lessThan": "5.5",
              "status": "affected",
              "version": "5.4.292",
              "versionType": "semver"
            },
            {
              "lessThan": "6.14",
              "status": "affected",
              "version": "6.13.11",
              "versionType": "semver"
            },
            {
              "lessThan": "6.15",
              "status": "affected",
              "version": "6.14.2",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/clk/meson/gxbb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.15"
            },
            {
              "lessThan": "6.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.221",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.51",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.270",
                  "versionStartIncluding": "5.10.236",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "5.15.180",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "6.1.134",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "6.6.87",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "6.12.23",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.51",
                  "versionStartIncluding": "6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.5",
                  "versionStartIncluding": "6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.4.292",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.13.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.14.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u003effffd66320cf8880: 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\u0027t 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)."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The over-read is reached only via meson_clkc_syscon_probe \u2192 meson_clkc_init \u2192 devm_clk_hw_register \u2192 __clk_register while binding amlogic,gxbb-clkc/gxl-clkc from the device tree on Amlogic S905/S905X boards; there is no network, adjacent-radio, or USB path into this clock controller.\nAC:L - gxbb_32k_clk_sel hard-coded num_parents=4 against a 3-entry gxbb_32k_clk_parents array, so every probe deterministically reads parent_data[3] in clk_core_populate_parent_map(); no race, timing window, or attacker-uncontrollable layout is required.\nPR:N - meson_clkc_syscon_probe runs from driver-core bind during kernel_init (swapper/0) with no capability, credential, or user-namespace check, so the defect fires automatically on affected GXBB/GXL hardware without any attacker privileges.\nUI:N - Clock registration happens automatically at boot or deferred probe from the device tree; no victim action such as mounting a filesystem or opening a device is required.\nS:U - The parent_data over-read, kstrdup of the dangling parent name, and any wild clk_hw dereference stay inside the host kernel clock framework; this is not a VM escape, IOMMU/DMA bypass, or sandbox breakout.\nC:H - clk_core_populate_parent_map() copies an extra clk_parent_data and passes the out-of-bounds fw_name/name pointers to kstrdup_const(), which does an unbounded strlen/copy; those bytes are stored as a mux parent name and can be emitted by clk debugfs possible_parents (mode 0444).\nI:L - The garbage parent is written into the in-bounds kmalloc\u0027d parent map and can make the 2-bit 32k mux select bogus index 3 / program HHI_32K_CLK_CNTL from table[3], corrupting clock topology without an arbitrary kernel write or control-flow hijack.\nA:H - KASAN reports a global-out-of-bounds read in __clk_register, and without KASAN kstrdup_const() or clk_core_fill_parent_index()\u0027s entry-\u003ehw-\u003ecore dereference of the stale pointer can oops or panic during boot probe."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T08:55:21.465Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c86214e6178c38a0eff39110a4e92b824f5dd403"
        },
        {
          "url": "https://git.kernel.org/stable/c/8b2f7a411e7ceaef268355c2150c22ee3f509c3b"
        },
        {
          "url": "https://git.kernel.org/stable/c/1e509a6707d2fd9da79bdfa24742661b34562bfd"
        },
        {
          "url": "https://git.kernel.org/stable/c/404079d124d75a5da16322acc53d3ffc50b4ec68"
        },
        {
          "url": "https://git.kernel.org/stable/c/f6ff0e6995dbff5cb145d7795c8f0af9c168094a"
        },
        {
          "url": "https://git.kernel.org/stable/c/4582949b7badcb91bb537ca522d69b8a35131e72"
        },
        {
          "url": "https://git.kernel.org/stable/c/bf85bd6e550c17ffa585606fcc18eb5b7c95bbce"
        },
        {
          "url": "https://git.kernel.org/stable/c/628b6fee9fca292f12d07f0f1bcf1edefa949d81"
        }
      ],
      "title": "clk: meson: align gxbb_32k_clk_sel number of parents with actual count",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89947",
    "datePublished": "2026-09-16T10:32:33.387Z",
    "dateReserved": "2026-09-11T19:38:34.777Z",
    "dateUpdated": "2026-10-19T08:55:21.465Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…