<?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>Tue, 03 Nov 2026 15:55:22 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98826 — rtc: ac100: Fix clock provider use-after-free on probe failure</title>
      <link>https://db.gcve.eu/vuln/cve-2026-98826</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;rtc: ac100: Fix clock provider use-after-free on probe failure&lt;/p&gt;
&lt;p&gt;ac100_rtc_register_clks() registers the RTC-32k clock with
clk_hw_register_fixed_rate() and the clock provider with
of_clk_add_hw_provider(). Neither is device managed, and both are
released only from ac100_rtc_remove(). The driver core does not call
remove() when probe() fails: really_probe() reaches probe_failed below
the device_remove() call and goes straight to releasing the device&amp;#39;s
managed resources.&lt;/p&gt;
&lt;p&gt;ac100_rtc_probe() ends with&lt;/p&gt;
&lt;p&gt;return devm_rtc_register_device(chip-&amp;gt;rtc);&lt;/p&gt;
&lt;p&gt;so if that fails after the clocks have been registered, the provider is
left on the global of_clk_providers list holding chip-&amp;gt;clk_data, which
was allocated with devm_kzalloc() and is freed while probe() unwinds. A
later lookup on this device tree node then reads freed memory in
of_clk_hw_onecell_get(). Consumers that do exactly that exist in tree:
the wifi power sequence nodes on sun8i-a83t-bananapi-m3 and
sun8i-a83t-cubietruck-plus take &amp;lt;&amp;amp;ac100_rtc 1&amp;gt;, and the sun9i-a80 boards
route osc32k through &amp;lt;&amp;amp;ac100_rtc 0&amp;gt;. The window is narrow, as
devm_rtc_register_device() can only fail with -ENOMEM here, but the
provider is left dangling whenever it does.&lt;/p&gt;
&lt;p&gt;The RTC-32k clock is leaked on the same path. Since clk_core_lookup()
searches a global list that is not scoped per device, __clk_register()
rejects the duplicate name with -EEXIST, so the leak also makes a later
probe of…&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;rtc: ac100: Fix clock provider use-after-free on probe failure&lt;/p&gt;
&lt;p&gt;ac100_rtc_register_clks() registers the RTC-32k clock with
clk_hw_register_fixed_rate() and the clock provider with
of_clk_add_hw_provider(). Neither is device managed, and both are
released only from ac100_rtc_remove(). The driver core does not call
remove() when probe() fails: really_probe() reaches probe_failed below
the device_remove() call and goes straight to releasing the device&amp;#39;s
managed resources.&lt;/p&gt;
&lt;p&gt;ac100_rtc_probe() ends with&lt;/p&gt;
&lt;p&gt;return devm_rtc_register_device(chip-&amp;gt;rtc);&lt;/p&gt;
&lt;p&gt;so if that fails after the clocks have been registered, the provider is
left on the global of_clk_providers list holding chip-&amp;gt;clk_data, which
was allocated with devm_kzalloc() and is freed while probe() unwinds. A
later lookup on this device tree node then reads freed memory in
of_clk_hw_onecell_get(). Consumers that do exactly that exist in tree:
the wifi power sequence nodes on sun8i-a83t-bananapi-m3 and
sun8i-a83t-cubietruck-plus take &amp;lt;&amp;amp;ac100_rtc 1&amp;gt;, and the sun9i-a80 boards
route osc32k through &amp;lt;&amp;amp;ac100_rtc 0&amp;gt;. The window is narrow, as
devm_rtc_register_device() can only fail with -ENOMEM here, but the
provider is left dangling whenever it does.&lt;/p&gt;
&lt;p&gt;The RTC-32k clock is leaked on the same path. Since clk_core_lookup()
searches a global list that is not scoped per device, __clk_register()
rejects the duplicate name with -EEXIST, so the leak also makes a later
probe of…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-98826</guid>
    </item>
  </channel>
</rss>
