<?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 23:46:48 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-54022 — ALSA: usb-audio: Fix potential memory leaks at error path for UMP open</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-54022</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;ALSA: usb-audio: Fix potential memory leaks at error path for UMP open&lt;/p&gt;
&lt;p&gt;The allocation and initialization errors at alloc_midi_urbs() that is
called at MIDI 2.0 / UMP device are supposed to be handled at the
caller side by invoking free_midi_urbs().  However, free_midi_urbs()
loops only for ep-&amp;gt;num_urbs entries, and since ep-&amp;gt;num_entries wasn&amp;#39;t
updated yet at the allocation / init error in alloc_midi_urbs(), this
entry won&amp;#39;t be released.&lt;/p&gt;
&lt;p&gt;The intention of free_midi_urbs() is to release the whole elements, so
change the loop size to NUM_URBS to scan over all elements for fixing
the missed releases.&lt;/p&gt;
&lt;p&gt;Also, the call of free_midi_urbs() is missing at
snd_usb_midi_v2_open().  Although it&amp;#39;ll be released later at
reopen/close or disconnection, it&amp;#39;s better to release immediately at
the error path.&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;ALSA: usb-audio: Fix potential memory leaks at error path for UMP open&lt;/p&gt;
&lt;p&gt;The allocation and initialization errors at alloc_midi_urbs() that is
called at MIDI 2.0 / UMP device are supposed to be handled at the
caller side by invoking free_midi_urbs().  However, free_midi_urbs()
loops only for ep-&amp;gt;num_urbs entries, and since ep-&amp;gt;num_entries wasn&amp;#39;t
updated yet at the allocation / init error in alloc_midi_urbs(), this
entry won&amp;#39;t be released.&lt;/p&gt;
&lt;p&gt;The intention of free_midi_urbs() is to release the whole elements, so
change the loop size to NUM_URBS to scan over all elements for fixing
the missed releases.&lt;/p&gt;
&lt;p&gt;Also, the call of free_midi_urbs() is missing at
snd_usb_midi_v2_open().  Although it&amp;#39;ll be released later at
reopen/close or disconnection, it&amp;#39;s better to release immediately at
the error path.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-54022</guid>
    </item>
  </channel>
</rss>
