EnvMap GitHub

CVE-2026-142860

clk: mstar: msc313-mpll: fix off-by-one in clock array allocation

Not scored yetEPSS 0.39%Received

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

Record

Published04:18 UTC, 3 December 2026
Last changed04:18 UTC, 3 December 2026
NVD statusReceived
Published byLinux

CVE-2026-142860 on NVD · on CVE.org · Security Briefing

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.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

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

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.