<?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>Mon, 28 Sep 2026 09:28:14 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-90187 — null_blk: free zones array on device power-off</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-90187</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;null_blk: free zones array on device power-off&lt;/p&gt;
&lt;p&gt;null_init_zoned_dev() allocates dev-&amp;gt;zones when a zoned device is powered
on, but null_del_dev() never frees it on power-off; dev-&amp;gt;zones is only
freed later in null_free_dev(), when the configfs directory is removed. If
the device is powered off and then on again, null_init_zoned_dev()
allocates a new array and overwrites the dev-&amp;gt;zones pointer, leaking the
previous allocation each power cycle.&lt;/p&gt;
&lt;p&gt;Free dev-&amp;gt;zones in null_del_dev() via null_free_zoned_dev() to solve it.
And calling null_free_zoned_dev() in null_free_dev() is no longer necessary
because every caller already invokes null_del_dev() first: via
nullb_group_drop_item() before nullb_device_release(), in the
null_add_dev() error path of null_create_dev(), and in null_destroy_dev().
Remove the redundant call.&lt;/p&gt;
&lt;p&gt;And take &amp;amp;lock around zone_cond_store() in the two store wrappers to
serialize dev-&amp;gt;zones check-and-deref against its alloc/free, which already
run under &amp;amp;lock. The reason there was no problem before is that only
nullb_device_release() or null_exit() frees the dev-&amp;gt;zones, which
guarantees that subsequent users won&amp;#39;t access the configfs interface.&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;null_blk: free zones array on device power-off&lt;/p&gt;
&lt;p&gt;null_init_zoned_dev() allocates dev-&amp;gt;zones when a zoned device is powered
on, but null_del_dev() never frees it on power-off; dev-&amp;gt;zones is only
freed later in null_free_dev(), when the configfs directory is removed. If
the device is powered off and then on again, null_init_zoned_dev()
allocates a new array and overwrites the dev-&amp;gt;zones pointer, leaking the
previous allocation each power cycle.&lt;/p&gt;
&lt;p&gt;Free dev-&amp;gt;zones in null_del_dev() via null_free_zoned_dev() to solve it.
And calling null_free_zoned_dev() in null_free_dev() is no longer necessary
because every caller already invokes null_del_dev() first: via
nullb_group_drop_item() before nullb_device_release(), in the
null_add_dev() error path of null_create_dev(), and in null_destroy_dev().
Remove the redundant call.&lt;/p&gt;
&lt;p&gt;And take &amp;amp;lock around zone_cond_store() in the two store wrappers to
serialize dev-&amp;gt;zones check-and-deref against its alloc/free, which already
run under &amp;amp;lock. The reason there was no problem before is that only
nullb_device_release() or null_exit() frees the dev-&amp;gt;zones, which
guarantees that subsequent users won&amp;#39;t access the configfs interface.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-90187</guid>
    </item>
  </channel>
</rss>
