CVE-2026-142853: clk: tenstorrent: Assign .num before accessing .hws

Published Dec 3, 2026
·
Updated

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

clk: tenstorrent: Assign .num before accessing .hws

Commit f316cdff8d67 ("clk: Annotate struct clkhwonecelldata with countedby") annotated the hws member of 'struct clkhwonecelldata' with countedby, which informs the bounds sanitizer (UBSANBOUNDS) 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 countedby 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 atlantisprcmclocksregister() due to .num being assigned only after every clock has been stored in .hws[]. With CONFIGUBSANBOUNDS and a compiler that implements countedby (GCC 15.1+ or Clang 20.1+), this triggers an array-index-out-of-bounds report during probe, and with CONFIGUBSANTRAP the first store traps so the clock provider never registers.

Move the .num initialization to right after the allocation.

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

Affected Software

2 affected componentsFixes available
Linux Linux kernel
linux/kernel>=7.1.0<7.3.4
7.3.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.4
  2. Compensating control

    In the Linux kernel's tenstorrent clock provider, initialize .num immediately after allocation and before the first access to .hws[].

Event History

Dec 3, 2026
CVE Published
via MITRE·03:20 AM
Data Sourced
via MITRE·03:20 AM
Description
Data Sourced
via OSV·03:20 AM
DescriptionAffected Software
Data Sourced
via NVD·04:18 AM
Description

Frequently Asked Questions

1

Which systems are likely to exhibit this issue?

Systems using the Tenstorrent Atlantis clock provider are affected when built with CONFIG_UBSAN_BOUNDS and a compiler that implements __counted_by, specifically GCC 15.1 or later or Clang 20.1 or later. The issue occurs when the provider probes.

2

What is the operational impact if UBSAN is configured to trap?

With CONFIG_UBSAN_TRAP enabled, the first out-of-bounds report traps during probe. As a result, the clock provider does not register.

3

How can administrators identify that they are affected?

During probe, CONFIG_UBSAN_BOUNDS produces an array-index-out-of-bounds report for accesses to the clock hardware array. If CONFIG_UBSAN_TRAP is enabled, the provider's failure to register is also an indicator.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203