<?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>Fri, 02 Oct 2026 08:49:08 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-57985 — firmware: qcom: scm: Cleanup global '__scm' on probe failures</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-57985</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;firmware: qcom: scm: Cleanup global &amp;#39;__scm&amp;#39; on probe failures&lt;/p&gt;
&lt;p&gt;If SCM driver fails the probe, it should not leave global &amp;#39;__scm&amp;#39;
variable assigned, because external users of this driver will assume the
probe finished successfully.  For example TZMEM parts (&amp;#39;__scm-&amp;gt;mempool&amp;#39;)
are initialized later in the probe, but users of it (__scm_smc_call())
rely on the &amp;#39;__scm&amp;#39; variable.&lt;/p&gt;
&lt;p&gt;This fixes theoretical NULL pointer exception, triggered via introducing
probe deferral in SCM driver with call trace:&lt;/p&gt;
&lt;p&gt;qcom_tzmem_alloc+0x70/0x1ac (P)
  qcom_tzmem_alloc+0x64/0x1ac (L)
  qcom_scm_assign_mem+0x78/0x194
  qcom_rmtfs_mem_probe+0x2d4/0x38c
  platform_probe+0x68/0xc8&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;firmware: qcom: scm: Cleanup global &amp;#39;__scm&amp;#39; on probe failures&lt;/p&gt;
&lt;p&gt;If SCM driver fails the probe, it should not leave global &amp;#39;__scm&amp;#39;
variable assigned, because external users of this driver will assume the
probe finished successfully.  For example TZMEM parts (&amp;#39;__scm-&amp;gt;mempool&amp;#39;)
are initialized later in the probe, but users of it (__scm_smc_call())
rely on the &amp;#39;__scm&amp;#39; variable.&lt;/p&gt;
&lt;p&gt;This fixes theoretical NULL pointer exception, triggered via introducing
probe deferral in SCM driver with call trace:&lt;/p&gt;
&lt;p&gt;qcom_tzmem_alloc+0x70/0x1ac (P)
  qcom_tzmem_alloc+0x64/0x1ac (L)
  qcom_scm_assign_mem+0x78/0x194
  qcom_rmtfs_mem_probe+0x2d4/0x38c
  platform_probe+0x68/0xc8&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-57985</guid>
    </item>
  </channel>
</rss>
