<?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://cve.radiocsirt.org</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>Thu, 08 Oct 2026 16:32:45 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-47483 — regmap: Fix possible double-free in regcache_rbtree_exit()</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2021-47483</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;regmap: Fix possible double-free in regcache_rbtree_exit()&lt;/p&gt;
&lt;p&gt;In regcache_rbtree_insert_to_block(), when &amp;#39;present&amp;#39; realloc failed,
the &amp;#39;blk&amp;#39; which is supposed to assign to &amp;#39;rbnode-&amp;gt;block&amp;#39; will be freed,
so &amp;#39;rbnode-&amp;gt;block&amp;#39; points a freed memory, in the error handling path of
regcache_rbtree_init(), &amp;#39;rbnode-&amp;gt;block&amp;#39; will be freed again in
regcache_rbtree_exit(), KASAN will report double-free as follows:&lt;/p&gt;
&lt;p&gt;BUG: KASAN: double-free or invalid-free in kfree+0xce/0x390
Call Trace:
 slab_free_freelist_hook+0x10d/0x240
 kfree+0xce/0x390
 regcache_rbtree_exit+0x15d/0x1a0
 regcache_rbtree_init+0x224/0x2c0
 regcache_init+0x88d/0x1310
 __regmap_init+0x3151/0x4a80
 __devm_regmap_init+0x7d/0x100
 madera_spi_probe+0x10f/0x333 [madera_spi]
 spi_probe+0x183/0x210
 really_probe+0x285/0xc30&lt;/p&gt;
&lt;p&gt;To fix this, moving up the assignment of rbnode-&amp;gt;block to immediately after
the reallocation has succeeded so that the data structure stays valid even
if the second reallocation fails.&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;regmap: Fix possible double-free in regcache_rbtree_exit()&lt;/p&gt;
&lt;p&gt;In regcache_rbtree_insert_to_block(), when &amp;#39;present&amp;#39; realloc failed,
the &amp;#39;blk&amp;#39; which is supposed to assign to &amp;#39;rbnode-&amp;gt;block&amp;#39; will be freed,
so &amp;#39;rbnode-&amp;gt;block&amp;#39; points a freed memory, in the error handling path of
regcache_rbtree_init(), &amp;#39;rbnode-&amp;gt;block&amp;#39; will be freed again in
regcache_rbtree_exit(), KASAN will report double-free as follows:&lt;/p&gt;
&lt;p&gt;BUG: KASAN: double-free or invalid-free in kfree+0xce/0x390
Call Trace:
 slab_free_freelist_hook+0x10d/0x240
 kfree+0xce/0x390
 regcache_rbtree_exit+0x15d/0x1a0
 regcache_rbtree_init+0x224/0x2c0
 regcache_init+0x88d/0x1310
 __regmap_init+0x3151/0x4a80
 __devm_regmap_init+0x7d/0x100
 madera_spi_probe+0x10f/0x333 [madera_spi]
 spi_probe+0x183/0x210
 really_probe+0x285/0xc30&lt;/p&gt;
&lt;p&gt;To fix this, moving up the assignment of rbnode-&amp;gt;block to immediately after
the reallocation has succeeded so that the data structure stays valid even
if the second reallocation fails.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2021-47483</guid>
    </item>
  </channel>
</rss>
