<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Sat, 05 Dec 2026 12:43:11 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-142853 — clk: tenstorrent: Assign .num before accessing .hws</title>
      <link>https://db.gcve.eu/vuln/cve-2026-142853</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;clk: tenstorrent: Assign .num before accessing .hws&lt;/p&gt;
&lt;p&gt;Commit f316cdff8d67 (&amp;#34;clk: Annotate struct clk_hw_onecell_data with
__counted_by&amp;#34;) annotated the hws member of &amp;#39;struct clk_hw_onecell_data&amp;#39;
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.&lt;/p&gt;
&lt;p&gt;Move the .num initialization to right after the allocation.&lt;/p&gt;
&lt;p&gt;[fustini: drop num_clks, use data-&amp;gt;num per Gustavo]&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;clk: tenstorrent: Assign .num before accessing .hws&lt;/p&gt;
&lt;p&gt;Commit f316cdff8d67 (&amp;#34;clk: Annotate struct clk_hw_onecell_data with
__counted_by&amp;#34;) annotated the hws member of &amp;#39;struct clk_hw_onecell_data&amp;#39;
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.&lt;/p&gt;
&lt;p&gt;Move the .num initialization to right after the allocation.&lt;/p&gt;
&lt;p&gt;[fustini: drop num_clks, use data-&amp;gt;num per Gustavo]&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-142853</guid>
    </item>
  </channel>
</rss>
