<?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>Tue, 06 Oct 2026 11:38:57 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-49147 — block: Fix the maximum minor value is blk_alloc_ext_minor()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-49147</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;block: Fix the maximum minor value is blk_alloc_ext_minor()&lt;/p&gt;
&lt;p&gt;ida_alloc_range(..., min, max, ...) returns values from min to max,
inclusive.&lt;/p&gt;
&lt;p&gt;So, NR_EXT_DEVT is a valid idx returned by blk_alloc_ext_minor().&lt;/p&gt;
&lt;p&gt;This is an issue because in device_add_disk(), this value is used in:
   ddev-&amp;gt;devt = MKDEV(disk-&amp;gt;major, disk-&amp;gt;first_minor);
and NR_EXT_DEVT is &amp;#39;(1 &amp;lt;&amp;lt; MINORBITS)&amp;#39;.&lt;/p&gt;
&lt;p&gt;So, should &amp;#39;disk-&amp;gt;first_minor&amp;#39; be NR_EXT_DEVT, it would overflow.&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;block: Fix the maximum minor value is blk_alloc_ext_minor()&lt;/p&gt;
&lt;p&gt;ida_alloc_range(..., min, max, ...) returns values from min to max,
inclusive.&lt;/p&gt;
&lt;p&gt;So, NR_EXT_DEVT is a valid idx returned by blk_alloc_ext_minor().&lt;/p&gt;
&lt;p&gt;This is an issue because in device_add_disk(), this value is used in:
   ddev-&amp;gt;devt = MKDEV(disk-&amp;gt;major, disk-&amp;gt;first_minor);
and NR_EXT_DEVT is &amp;#39;(1 &amp;lt;&amp;lt; MINORBITS)&amp;#39;.&lt;/p&gt;
&lt;p&gt;So, should &amp;#39;disk-&amp;gt;first_minor&amp;#39; be NR_EXT_DEVT, it would overflow.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-49147</guid>
    </item>
  </channel>
</rss>
