CVE-2026-142860: Linux kernel · clk: mstar: msc313-mpll: fix off-by-one in clock array allocation
Affects Linux kernelSource GCVE Database
Not known to be exploited.
Data as of 5 Dec 2026, 13:40 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or noneExploitation evidence
Disclosed: evidence found.
CVE published 3 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10linuxpkg:deb/ubuntu/linux?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-oraclepkg:deb/ubuntu/linux-oracle?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
In the Linux kernel, the following vulnerability has been resolved: clk: mstar: msc313-mpll: fix off-by-one in clock array allocation The hws array of mpll->clk_data is allocated with struct_size() using ARRAY_SIZE(output_dividers) as the element count, giving it 7 elements. But the probe function stores the MPLL clock at hws[0] and one fixed-factor clock for each output divider at hws[i + 1] for i in [0, ARRAY_SIZE(output_dividers)), writing 8 elements in total. The final write to hws[7] is past the end of the allocation. clk_data->num is also set to NUMOUTPUTS (8), so the clock framework reads hws[0..7], again accessing hws[7] out of bounds. Use NUMOUTPUTS as the element count so the allocation matches the number of clocks actually stored and exposed. Found by smatch: drivers/clk/mstar/clk-msc313-mpll.c:134 msc313_mpll_probe() error: buffer overflow 'mpll->clk_data->hws' 7 <= 7
References
- ubuntu.com/security/CVE-2026-142860 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-142860 (opens in a new tab)
- git.kernel.org/stable/c/b47c94d4e530c001efdc18070d4d8106e5752b90 (opens in a new tab)
- git.kernel.org/stable/c/cfe382cbabf6d5be415009cad6c58a2cf4f6a8b8 (opens in a new tab)
- git.kernel.org/stable/c/698119b61439da00f6148b43fb96e76d6492ddd0 (opens in a new tab)
- git.kernel.org/stable/c/712b75152c00a8ab0c56dbfe34caf88e3870ddde (opens in a new tab)
- git.kernel.org/stable/c/4352760accafc4767928e7292b1c90e0a0aedecb (opens in a new tab)
- git.kernel.org/stable/c/f9a13ce0de6039bd5336ebeadbe70d3d2ec3c58e (opens in a new tab)
- git.kernel.org/stable/c/c5ebe5560bf45a47021c5bf90d366747e69eeaf3 (opens in a new tab)