<?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>Tue, 06 Oct 2026 05:55:45 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-46959 — spi: Fix use-after-free with devm_spi_alloc_*</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2021-46959</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;spi: Fix use-after-free with devm_spi_alloc_*&lt;/p&gt;
&lt;p&gt;We can&amp;#39;t rely on the contents of the devres list during
spi_unregister_controller(), as the list is already torn down at the
time we perform devres_find() for devm_spi_release_controller. This
causes devices registered with devm_spi_alloc_{master,slave}() to be
mistakenly identified as legacy, non-devm managed devices and have their
reference counters decremented below 0.&lt;/p&gt;
&lt;p&gt;------------[ cut here ]------------
WARNING: CPU: 1 PID: 660 at lib/refcount.c:28 refcount_warn_saturate+0x108/0x174
[&amp;lt;b0396f04&amp;gt;] (refcount_warn_saturate) from [&amp;lt;b03c56a4&amp;gt;] (kobject_put+0x90/0x98)
[&amp;lt;b03c5614&amp;gt;] (kobject_put) from [&amp;lt;b0447b4c&amp;gt;] (put_device+0x20/0x24)
 r4:b6700140
[&amp;lt;b0447b2c&amp;gt;] (put_device) from [&amp;lt;b07515e8&amp;gt;] (devm_spi_release_controller+0x3c/0x40)
[&amp;lt;b07515ac&amp;gt;] (devm_spi_release_controller) from [&amp;lt;b045343c&amp;gt;] (release_nodes+0x84/0xc4)
 r5:b6700180 r4:b6700100
[&amp;lt;b04533b8&amp;gt;] (release_nodes) from [&amp;lt;b0454160&amp;gt;] (devres_release_all+0x5c/0x60)
 r8:b1638c54 r7:b117ad94 r6:b1638c10 r5:b117ad94 r4:b163dc10
[&amp;lt;b0454104&amp;gt;] (devres_release_all) from [&amp;lt;b044e41c&amp;gt;] (__device_release_driver+0x144/0x1ec)
 r5:b117ad94 r4:b163dc10
[&amp;lt;b044e2d8&amp;gt;] (__device_release_driver) from [&amp;lt;b044f70c&amp;gt;] (device_driver_detach+0x84/0xa0)
 r9:00000000 r8:00000000 r7:b117ad94 r6:b163dc54 r5:b1638c10 r4:b163dc10
[&amp;lt;b044f688&amp;gt;] (device_driver_detach) from [&amp;lt;b044d274&amp;gt;] (unbind_store+0xe4/0xf8)&lt;/p&gt;
&lt;p&gt;Instead, determine the devm allocat…&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;spi: Fix use-after-free with devm_spi_alloc_*&lt;/p&gt;
&lt;p&gt;We can&amp;#39;t rely on the contents of the devres list during
spi_unregister_controller(), as the list is already torn down at the
time we perform devres_find() for devm_spi_release_controller. This
causes devices registered with devm_spi_alloc_{master,slave}() to be
mistakenly identified as legacy, non-devm managed devices and have their
reference counters decremented below 0.&lt;/p&gt;
&lt;p&gt;------------[ cut here ]------------
WARNING: CPU: 1 PID: 660 at lib/refcount.c:28 refcount_warn_saturate+0x108/0x174
[&amp;lt;b0396f04&amp;gt;] (refcount_warn_saturate) from [&amp;lt;b03c56a4&amp;gt;] (kobject_put+0x90/0x98)
[&amp;lt;b03c5614&amp;gt;] (kobject_put) from [&amp;lt;b0447b4c&amp;gt;] (put_device+0x20/0x24)
 r4:b6700140
[&amp;lt;b0447b2c&amp;gt;] (put_device) from [&amp;lt;b07515e8&amp;gt;] (devm_spi_release_controller+0x3c/0x40)
[&amp;lt;b07515ac&amp;gt;] (devm_spi_release_controller) from [&amp;lt;b045343c&amp;gt;] (release_nodes+0x84/0xc4)
 r5:b6700180 r4:b6700100
[&amp;lt;b04533b8&amp;gt;] (release_nodes) from [&amp;lt;b0454160&amp;gt;] (devres_release_all+0x5c/0x60)
 r8:b1638c54 r7:b117ad94 r6:b1638c10 r5:b117ad94 r4:b163dc10
[&amp;lt;b0454104&amp;gt;] (devres_release_all) from [&amp;lt;b044e41c&amp;gt;] (__device_release_driver+0x144/0x1ec)
 r5:b117ad94 r4:b163dc10
[&amp;lt;b044e2d8&amp;gt;] (__device_release_driver) from [&amp;lt;b044f70c&amp;gt;] (device_driver_detach+0x84/0xa0)
 r9:00000000 r8:00000000 r7:b117ad94 r6:b163dc54 r5:b1638c10 r4:b163dc10
[&amp;lt;b044f688&amp;gt;] (device_driver_detach) from [&amp;lt;b044d274&amp;gt;] (unbind_store+0xe4/0xf8)&lt;/p&gt;
&lt;p&gt;Instead, determine the devm allocat…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2021-46959</guid>
    </item>
  </channel>
</rss>
