CVE-2026-142860

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

Package Linux Kernel
Published 2026-12-03
Last modified 2026-12-03
Patch available
Yes

Affected versions

Linux kernel versions 5.12 and later are affected. Fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 and their respective stable series.

Affected from
≥ 5.12
Fixed in
✓ 5.15.226 5.15.x ✓ 6.1.193 6.1.x ✓ 6.6.163 6.6.x ✓ 6.12.117 6.12.x ✓ 6.18.63 6.18.x ✓ 7.3.4 7.3.x ✓ 7.4-rc1

Frequently asked questions

  • What is CVE-2026-142860?

    CVE-2026-142860 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.12 onward and has been patched in 5.15.226, 6.1.193, 6.6.163 and others. CVE-2026-142860 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-142860?

    Yes. CVE-2026-142860 has been patched. Fixed versions include 5.15.226, 6.1.193, 6.6.163 and others. If you are running Linux kernel 5.12 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-142860 actively exploited?

    No. CVE-2026-142860 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.