<?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 13:18:33 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-64447 — staging: media: ipu7: fix double-free and use-after-free in error paths</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-64447</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;staging: media: ipu7: fix double-free and use-after-free in error paths&lt;/p&gt;
&lt;p&gt;In both ipu7_isys_init() and ipu7_psys_init(), pdata is allocated and
then passed to ipu7_bus_initialize_device(), which stores it in
adev-&amp;gt;pdata. The ipu7_bus_release() function frees adev-&amp;gt;pdata when the
device&amp;#39;s reference count drops to zero.&lt;/p&gt;
&lt;p&gt;Two error paths incorrectly call kfree(pdata) after the device teardown
has already freed it:&lt;/p&gt;
&lt;p&gt;1. When ipu7_mmu_init() fails: put_device() is called, which drops the
   reference count to zero and triggers ipu7_bus_release() -&amp;gt;
   kfree(pdata). The subsequent kfree(pdata) is a double-free.&lt;/p&gt;
&lt;p&gt;2. When ipu7_bus_add_device() fails: it calls auxiliary_device_uninit()
   internally, which calls put_device() -&amp;gt; ipu7_bus_release() -&amp;gt;
   kfree(pdata). The subsequent kfree(pdata) is again a double-free.&lt;/p&gt;
&lt;p&gt;Note that the kfree(pdata) when ipu7_bus_initialize_device() itself
fails is correct, because in that case auxiliary_device_init() failed
and the release function was never set up, so pdata must be freed
manually.&lt;/p&gt;
&lt;p&gt;Additionally, the error code was not saved before calling put_device(),
causing ERR_CAST() to dereference the already-freed adev pointer when
constructing the return value. Fix this by saving the error from
dev_err_probe() before put_device() and returning ERR_PTR() instead.&lt;/p&gt;
&lt;p&gt;Remove the redundant kfree(pdata) calls and fix the use-after-free in
the return values of the two affected error paths.&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;staging: media: ipu7: fix double-free and use-after-free in error paths&lt;/p&gt;
&lt;p&gt;In both ipu7_isys_init() and ipu7_psys_init(), pdata is allocated and
then passed to ipu7_bus_initialize_device(), which stores it in
adev-&amp;gt;pdata. The ipu7_bus_release() function frees adev-&amp;gt;pdata when the
device&amp;#39;s reference count drops to zero.&lt;/p&gt;
&lt;p&gt;Two error paths incorrectly call kfree(pdata) after the device teardown
has already freed it:&lt;/p&gt;
&lt;p&gt;1. When ipu7_mmu_init() fails: put_device() is called, which drops the
   reference count to zero and triggers ipu7_bus_release() -&amp;gt;
   kfree(pdata). The subsequent kfree(pdata) is a double-free.&lt;/p&gt;
&lt;p&gt;2. When ipu7_bus_add_device() fails: it calls auxiliary_device_uninit()
   internally, which calls put_device() -&amp;gt; ipu7_bus_release() -&amp;gt;
   kfree(pdata). The subsequent kfree(pdata) is again a double-free.&lt;/p&gt;
&lt;p&gt;Note that the kfree(pdata) when ipu7_bus_initialize_device() itself
fails is correct, because in that case auxiliary_device_init() failed
and the release function was never set up, so pdata must be freed
manually.&lt;/p&gt;
&lt;p&gt;Additionally, the error code was not saved before calling put_device(),
causing ERR_CAST() to dereference the already-freed adev pointer when
constructing the return value. Fix this by saving the error from
dev_err_probe() before put_device() and returning ERR_PTR() instead.&lt;/p&gt;
&lt;p&gt;Remove the redundant kfree(pdata) calls and fix the use-after-free in
the return values of the two affected error paths.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-64447</guid>
    </item>
  </channel>
</rss>
