<?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 21:27:59 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-50827 — scsi: lpfc: Fix memory leak in lpfc_create_port()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-50827</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;scsi: lpfc: Fix memory leak in lpfc_create_port()&lt;/p&gt;
&lt;p&gt;Commit 5e633302ace1 (&amp;#34;scsi: lpfc: vmid: Add support for VMID in mailbox
command&amp;#34;) introduced allocations for the VMID resources in
lpfc_create_port() after the call to scsi_host_alloc(). Upon failure on the
VMID allocations, the new code would branch to the &amp;#39;out&amp;#39; label, which
returns NULL without unwinding anything, thus skipping the call to
scsi_host_put().&lt;/p&gt;
&lt;p&gt;Fix the problem by creating a separate label &amp;#39;out_free_vmid&amp;#39; to unwind the
VMID resources and make the &amp;#39;out_put_shost&amp;#39; label call only
scsi_host_put(), as was done before the introduction of allocations for
VMID.&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;scsi: lpfc: Fix memory leak in lpfc_create_port()&lt;/p&gt;
&lt;p&gt;Commit 5e633302ace1 (&amp;#34;scsi: lpfc: vmid: Add support for VMID in mailbox
command&amp;#34;) introduced allocations for the VMID resources in
lpfc_create_port() after the call to scsi_host_alloc(). Upon failure on the
VMID allocations, the new code would branch to the &amp;#39;out&amp;#39; label, which
returns NULL without unwinding anything, thus skipping the call to
scsi_host_put().&lt;/p&gt;
&lt;p&gt;Fix the problem by creating a separate label &amp;#39;out_free_vmid&amp;#39; to unwind the
VMID resources and make the &amp;#39;out_put_shost&amp;#39; label call only
scsi_host_put(), as was done before the introduction of allocations for
VMID.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-50827</guid>
    </item>
  </channel>
</rss>
