<?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>Wed, 30 Sep 2026 03:38:37 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-52730 — mmc: sdio: fix possible resource leaks in some error paths</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-52730</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;mmc: sdio: fix possible resource leaks in some error paths&lt;/p&gt;
&lt;p&gt;If sdio_add_func() or sdio_init_func() fails, sdio_remove_func() can
not release the resources, because the sdio function is not presented
in these two cases, it won&amp;#39;t call of_node_put() or put_device().&lt;/p&gt;
&lt;p&gt;To fix these leaks, make sdio_func_present() only control whether
device_del() needs to be called or not, then always call of_node_put()
and put_device().&lt;/p&gt;
&lt;p&gt;In error case in sdio_init_func(), the reference of &amp;#39;card-&amp;gt;dev&amp;#39; is
not get, to avoid redundant put in sdio_free_func_cis(), move the
get_device() to sdio_alloc_func() and put_device() to sdio_release_func(),
it can keep the get/put function be balanced.&lt;/p&gt;
&lt;p&gt;Without this patch, while doing fault inject test, it can get the
following leak reports, after this fix, the leak is gone.&lt;/p&gt;
&lt;p&gt;unreferenced object 0xffff888112514000 (size 2048):
  comm &amp;#34;kworker/3:2&amp;#34;, pid 65, jiffies 4294741614 (age 124.774s)
  hex dump (first 32 bytes):
    00 e0 6f 12 81 88 ff ff 60 58 8d 06 81 88 ff ff  ..o.....`X......
    10 40 51 12 81 88 ff ff 10 40 51 12 81 88 ff ff  .@Q......@Q.....
  backtrace:
    [&amp;lt;000000009e5931da&amp;gt;] kmalloc_trace+0x21/0x110
    [&amp;lt;000000002f839ccb&amp;gt;] mmc_alloc_card+0x38/0xb0 [mmc_core]
    [&amp;lt;0000000004adcbf6&amp;gt;] mmc_sdio_init_card+0xde/0x170 [mmc_core]
    [&amp;lt;000000007538fea0&amp;gt;] mmc_attach_sdio+0xcb/0x1b0 [mmc_core]
    [&amp;lt;00000000d4fdeba7&amp;gt;] mmc_rescan+0x54a/0x640 [mmc_core]&lt;/p&gt;
&lt;p&gt;unreferenced object 0xffff88811…&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;mmc: sdio: fix possible resource leaks in some error paths&lt;/p&gt;
&lt;p&gt;If sdio_add_func() or sdio_init_func() fails, sdio_remove_func() can
not release the resources, because the sdio function is not presented
in these two cases, it won&amp;#39;t call of_node_put() or put_device().&lt;/p&gt;
&lt;p&gt;To fix these leaks, make sdio_func_present() only control whether
device_del() needs to be called or not, then always call of_node_put()
and put_device().&lt;/p&gt;
&lt;p&gt;In error case in sdio_init_func(), the reference of &amp;#39;card-&amp;gt;dev&amp;#39; is
not get, to avoid redundant put in sdio_free_func_cis(), move the
get_device() to sdio_alloc_func() and put_device() to sdio_release_func(),
it can keep the get/put function be balanced.&lt;/p&gt;
&lt;p&gt;Without this patch, while doing fault inject test, it can get the
following leak reports, after this fix, the leak is gone.&lt;/p&gt;
&lt;p&gt;unreferenced object 0xffff888112514000 (size 2048):
  comm &amp;#34;kworker/3:2&amp;#34;, pid 65, jiffies 4294741614 (age 124.774s)
  hex dump (first 32 bytes):
    00 e0 6f 12 81 88 ff ff 60 58 8d 06 81 88 ff ff  ..o.....`X......
    10 40 51 12 81 88 ff ff 10 40 51 12 81 88 ff ff  .@Q......@Q.....
  backtrace:
    [&amp;lt;000000009e5931da&amp;gt;] kmalloc_trace+0x21/0x110
    [&amp;lt;000000002f839ccb&amp;gt;] mmc_alloc_card+0x38/0xb0 [mmc_core]
    [&amp;lt;0000000004adcbf6&amp;gt;] mmc_sdio_init_card+0xde/0x170 [mmc_core]
    [&amp;lt;000000007538fea0&amp;gt;] mmc_attach_sdio+0xcb/0x1b0 [mmc_core]
    [&amp;lt;00000000d4fdeba7&amp;gt;] mmc_rescan+0x54a/0x640 [mmc_core]&lt;/p&gt;
&lt;p&gt;unreferenced object 0xffff88811…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-52730</guid>
    </item>
  </channel>
</rss>
