<?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 16:11:23 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-54087 — ubi: Fix possible null-ptr-deref in ubi_free_volume()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-54087</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;ubi: Fix possible null-ptr-deref in ubi_free_volume()&lt;/p&gt;
&lt;p&gt;It willl cause null-ptr-deref in the following case:&lt;/p&gt;
&lt;p&gt;uif_init()
  ubi_add_volume()
    cdev_add() -&amp;gt; if it fails, call kill_volumes()
    device_register()&lt;/p&gt;
&lt;p&gt;kill_volumes() -&amp;gt; if ubi_add_volume() fails call this function
  ubi_free_volume()
    cdev_del()
    device_unregister() -&amp;gt; trying to delete a not added device,
			   it causes null-ptr-deref&lt;/p&gt;
&lt;p&gt;So in ubi_free_volume(), it delete devices whether they are added
or not, it will causes null-ptr-deref.&lt;/p&gt;
&lt;p&gt;Handle the error case whlie calling ubi_add_volume() to fix this
problem. If add volume fails, set the corresponding vol to null,
so it can not be accessed in kill_volumes() and release the
resource in ubi_add_volume() 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;ubi: Fix possible null-ptr-deref in ubi_free_volume()&lt;/p&gt;
&lt;p&gt;It willl cause null-ptr-deref in the following case:&lt;/p&gt;
&lt;p&gt;uif_init()
  ubi_add_volume()
    cdev_add() -&amp;gt; if it fails, call kill_volumes()
    device_register()&lt;/p&gt;
&lt;p&gt;kill_volumes() -&amp;gt; if ubi_add_volume() fails call this function
  ubi_free_volume()
    cdev_del()
    device_unregister() -&amp;gt; trying to delete a not added device,
			   it causes null-ptr-deref&lt;/p&gt;
&lt;p&gt;So in ubi_free_volume(), it delete devices whether they are added
or not, it will causes null-ptr-deref.&lt;/p&gt;
&lt;p&gt;Handle the error case whlie calling ubi_add_volume() to fix this
problem. If add volume fails, set the corresponding vol to null,
so it can not be accessed in kill_volumes() and release the
resource in ubi_add_volume() error path.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-54087</guid>
    </item>
  </channel>
</rss>
