CVE-2026-142860
Last modified
CVE-2026-142860 is a vulnerability of currently unknown severity. 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.
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
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= bef7a78da71687838a6bb5b316c4f5dfd31582f5, < c5ebe5560bf45a47021c5bf90d366747e69eeaf3; >= bef7a78da71687838a6bb5b316c4f5dfd31582f5, < b47c94d4e530c001efdc18070d4d8106e5752b90; >= bef7a78da71687838a6bb5b316c4f5dfd31582f5, < f9a13ce0de6039bd5336ebeadbe70d3d2ec3c58e; >= bef7a78da71687838a6bb5b316c4f5dfd31582f5, < 4352760accafc4767928e7292b1c90e0a0aedecb; >= bef7a78da71687838a6bb5b316c4f5dfd31582f5, < cfe382cbabf6d5be415009cad6c58a2cf4f6a8b8; >= bef7a78da71687838a6bb5b316c4f5dfd31582f5, < 698119b61439da00f6148b43fb96e76d6492ddd0; >= bef7a78da71687838a6bb5b316c4f5dfd31582f5, < 712b75152c00a8ab0c56dbfe34caf88e3870ddde |
| Linux | Linux | 5.12 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-142860?
How severe is CVE-2026-142860?
How do I fix CVE-2026-142860?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-142855In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142856In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142857In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142858In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142859In the Linux kernel, the following vulnerability has been re…
- CVE-2026-14286Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-142861In the Linux kernel, the following vulnerability has been re…7.3
- CVE-2026-142862In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142863In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142864In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142865In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142866In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-142860?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
