CVE-2026-142860
clk: mstar: msc313-mpll: fix off-by-one in clock array allocation
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
In the words of the organisation that published it (Linux).
Affected
- Linux: from bef7a78da71687838a6bb5b316c4f5dfd31582f5 before c5ebe5560bf45a47021c5bf90d3; from bef7a78da71687838a6bb5b316c4f5dfd31582f5 before b47c94d4e530c001efdc18070d4; from bef7a78da71687838a6bb5b316c4f5dfd31582f5 before f9a13ce0de6039bd5336ebeadbe; from bef7a78da71687838a6bb5b316c4f5dfd31582f5 before 4352760accafc4767928e7292b1; 5.12
as the publisher (Linux) lists them.
Likelihood of exploitation
FIRST's EPSS gives a 0.39% chance of exploitation in the next 30 days, higher than 36% of all CVEs (as of 4 December 2026).
References
- git.kernel.org/stable/c/4352760accafc4767928e7292b1c90e0a0aedecb
- git.kernel.org/stable/c/698119b61439da00f6148b43fb96e76d6492ddd0
- git.kernel.org/stable/c/712b75152c00a8ab0c56dbfe34caf88e3870ddde
- git.kernel.org/stable/c/b47c94d4e530c001efdc18070d4d8106e5752b90
- git.kernel.org/stable/c/c5ebe5560bf45a47021c5bf90d366747e69eeaf3
- git.kernel.org/stable/c/cfe382cbabf6d5be415009cad6c58a2cf4f6a8b8
- git.kernel.org/stable/c/f9a13ce0de6039bd5336ebeadbe70d3d2ec3c58e
Record
| Published | 04:18 UTC, 3 December 2026 |
|---|---|
| Last changed | 04:18 UTC, 3 December 2026 |
| NVD status | Received |
| Published by | Linux |
Follow it
Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.
Any other reader: paste https://envmap.tech/security/feed.xml
Where this comes from
- Security news: the feeds of 19 security newsrooms: BleepingComputer, The Record, Krebs on Security, Dark Reading, SecurityWeek, The Hacker News, Help Net Security, CyberScoop, Infosecurity Magazine, Cybersecurity Dive, CSO Online, Security Affairs and Schneier on Security, and the security sections of The Register, Ars Technica, Wired, TechCrunch, The Verge and The Guardian. One story covered by several newsrooms is shown once, led by the first to report it, with the others linked beside it; headlines count as the same story only when they share most of their words. Topics come from the words in the headline.
- Advisories: CISA, the UK's National Cyber Security Centre, Microsoft, AWS, Google Kubernetes Engine, GitLab, Cisco, Fortinet, Palo Alto Networks, Ubuntu and Chrome's stable releases, from their own feeds, and Kubernetes's official CVE feed.
- Threat research: the research blogs of Microsoft Threat Intelligence, Cisco Talos, Unit 42, Securelist, Check Point Research, ESET Research, Datadog Security Labs, GitHub Security Lab and Google's Project Zero.
- What security people are talking about: Hacker News's public search, the security stories with the most points in the last three days.
- CVEs in DevOps software: every new CVE whose description, title or affected products name software such as Kubernetes, containerd, Docker, Helm, Argo CD, Istio, nginx, Jenkins, GitLab, Terraform, Vault, Grafana, PostgreSQL, Redis, OpenSSH or OpenSSL.
- Every CVE, its description, scores, weaknesses and references: the National Vulnerability Database (NVD), which publishes every CVE from the CVE Program.
- The title and the affected products and versions: the CVE record itself on CVE.org, written by the organisation that published the CVE (its CNA), often before NVD has analysed it.
- Exploited in the wild: CISA's Known Exploited Vulnerabilities catalogue, as NVD carries it, with CISA's date added and its fix-by date for US federal agencies.
- Likelihood of exploitation: FIRST's Exploit Prediction Scoring System (EPSS), the chance of exploitation in the next 30 days, updated daily.
Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.
How to read it
- Critical, high, medium, low: the CVSS base score, 0 to 10. It measures how bad a vulnerability is, not how likely it is to be used.
- Exploited in the wild: proof that attackers use it. Patch these first, whatever their score.
- EPSS: how likely it is to be used in the next 30 days. A low score is not a promise.
EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.