CVE-2026-142853

Not scored yetLast modified Dec 3, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

clk: tenstorrent: Assign .num before accessing .hws

Commit f316cdff8d67 ("clk: Annotate struct clk_hw_onecell_data with __counted_by") annotated the hws member of 'struct clk_hw_onecell_data' with __counted_by, which informs the bounds sanitizer (UBSAN_BOUNDS) about the number of elements in .hws[], so that it can warn when .hws[] is accessed out of bounds. As noted in that change, the __counted_by member must be initialized with the number of elements before the first array access happens, otherwise there will be a warning from each access prior to the initialization because the number of elements is zero. This occurs in atlantis_prcm_clocks_register() due to .num being assigned only after every clock has been stored in .hws[]. With CONFIG_UBSAN_BOUNDS and a compiler that implements __counted_by (GCC 15.1+ or Clang 20.1+), this triggers an array-index-out-of-bounds report during probe, and with CONFIG_UBSAN_TRAP the first store traps so the clock provider never registers.

Move the .num initialization to right after the allocation.

[fustini: drop num_clks, use data->num per Gustavo]

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-142854In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: reject an oversized resident attribute on the inline iomap paCVE-2026-142855In the Linux kernel, the following vulnerability has been resolved: ASoC: sdw_utils: clear stale RT711 device reference on exit asoc_sdw_rCVE-2026-142856In the Linux kernel, the following vulnerability has been resolved: media: meson-ir-tx: Prevent divide by zero in meson_irtx_prepare_pulse(CVE-2026-142857In the Linux kernel, the following vulnerability has been resolved: leds: ktd2692: Pass context to regulator cleanup regulator_disable_actCVE-2026-142858In the Linux kernel, the following vulnerability has been resolved: ata: libata-scsi: abort multi-sector pass-through commands when multi_cCVE-2026-142859In the Linux kernel, the following vulnerability has been resolved: media: vidtv: fix uaf in vidtv_bridge_on_new_pkts_avail Attempting to CVE-2026-142860In the Linux kernel, the following vulnerability has been resolved: clk: mstar: msc313-mpll: fix off-by-one in clock array allocation The 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 ho
CVE-2026-142853: Unscored | Vulnix