<?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://vulnerability.circl.lu</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, 01 Oct 2026 07:55:46 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-53596 — drivers: base: Free devm resources when unregistering a device</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-53596</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;drivers: base: Free devm resources when unregistering a device&lt;/p&gt;
&lt;p&gt;In the current code, devres_release_all() only gets called if the device
has a bus and has been probed.&lt;/p&gt;
&lt;p&gt;This leads to issues when using bus-less or driver-less devices where
the device might never get freed if a managed resource holds a reference
to the device. This is happening in the DRM framework for example.&lt;/p&gt;
&lt;p&gt;We should thus call devres_release_all() in the device_del() function to
make sure that the device-managed actions are properly executed when the
device is unregistered, even if it has neither a bus nor a driver.&lt;/p&gt;
&lt;p&gt;This is effectively the same change than commit 2f8d16a996da (&amp;#34;devres:
release resources on device_del()&amp;#34;) that got reverted by commit
a525a3ddeaca (&amp;#34;driver core: free devres in device_release&amp;#34;) over
memory leaks concerns.&lt;/p&gt;
&lt;p&gt;This patch effectively combines the two commits mentioned above to
release the resources both on device_del() and device_release() and get
the best of both worlds.&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;drivers: base: Free devm resources when unregistering a device&lt;/p&gt;
&lt;p&gt;In the current code, devres_release_all() only gets called if the device
has a bus and has been probed.&lt;/p&gt;
&lt;p&gt;This leads to issues when using bus-less or driver-less devices where
the device might never get freed if a managed resource holds a reference
to the device. This is happening in the DRM framework for example.&lt;/p&gt;
&lt;p&gt;We should thus call devres_release_all() in the device_del() function to
make sure that the device-managed actions are properly executed when the
device is unregistered, even if it has neither a bus nor a driver.&lt;/p&gt;
&lt;p&gt;This is effectively the same change than commit 2f8d16a996da (&amp;#34;devres:
release resources on device_del()&amp;#34;) that got reverted by commit
a525a3ddeaca (&amp;#34;driver core: free devres in device_release&amp;#34;) over
memory leaks concerns.&lt;/p&gt;
&lt;p&gt;This patch effectively combines the two commits mentioned above to
release the resources both on device_del() and device_release() and get
the best of both worlds.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-53596</guid>
    </item>
  </channel>
</rss>
