CVE-2026-142860

Not scored yetLast modified Dec 3, 2026

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

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-142861In the Linux kernel, the following vulnerability has been resolved: memory: brcmstb_dpfe: Fix out-of-bounds access due to DCPU offset On ACVE-2026-142862In the Linux kernel, the following vulnerability has been resolved: soc: qcom: pmic_glink: Fix device access from worker during suspend FoCVE-2026-142863In the Linux kernel, the following vulnerability has been resolved: soc: qcom: geni-se: Fix fw_end computed before round-up; propagate sizeCVE-2026-142864In the Linux kernel, the following vulnerability has been resolved: mptcp: fix MP_CAPABLE token migration when cloning reqsk TCP request mCVE-2026-142865In the Linux kernel, the following vulnerability has been resolved: init: fix early boot crash with bare hostname parameter When a bare hoCVE-2026-142866In the Linux kernel, the following vulnerability has been resolved: md/raid5: fix NULL pointer dereference in raid5_free_percpu If cpuhp_sCVE-2026-142867In the Linux kernel, the following vulnerability has been resolved: ACPI: SBS: Fix NULL pointer dereference on allocation failure acpi_sbsCVE-2026-142868In the Linux kernel, the following vulnerability has been resolved: aio: prevent eventfd/epoll recursion on poll aio_poll_wake() can complCVE-2026-142869In the Linux kernel, the following vulnerability has been resolved: assoc_array: don't lose objects when a shortcut is split on a word bounCVE-2026-142874.7The 10Web Booster WordPress plugin before 2.33.5 does not correctly validate an access token on an unauthenticated request handler and doesCVE-2026-142870In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: validate the EA value length in ntfs_read_ea() ntfs_read_ea(CVE-2026-142871In the Linux kernel, the following vulnerability has been resolved: iommu/amd: remove obsolete domain pointer warning on release A warning
CVE-2026-142860: Unscored | Vulnix