<?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, 05 Oct 2026 10:19:21 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-42148 — bnx2x: Fix multiple UBSAN array-index-out-of-bounds</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-42148</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;bnx2x: Fix multiple UBSAN array-index-out-of-bounds&lt;/p&gt;
&lt;p&gt;Fix UBSAN warnings that occur when using a system with 32 physical
cpu cores or more, or when the user defines a number of Ethernet
queues greater than or equal to FP_SB_MAX_E1x using the num_queues
module parameter.&lt;/p&gt;
&lt;p&gt;Currently there is a read/write out of bounds that occurs on the array
&amp;#34;struct stats_query_entry query&amp;#34; present inside the &amp;#34;bnx2x_fw_stats_req&amp;#34;
struct in &amp;#34;drivers/net/ethernet/broadcom/bnx2x/bnx2x.h&amp;#34;.
Looking at the definition of the &amp;#34;struct stats_query_entry query&amp;#34; array:&lt;/p&gt;
&lt;p&gt;struct stats_query_entry query[FP_SB_MAX_E1x+
         BNX2X_FIRST_QUEUE_QUERY_IDX];&lt;/p&gt;
&lt;p&gt;FP_SB_MAX_E1x is defined as the maximum number of fast path interrupts and
has a value of 16, while BNX2X_FIRST_QUEUE_QUERY_IDX has a value of 3
meaning the array has a total size of 19.
Since accesses to &amp;#34;struct stats_query_entry query&amp;#34; are offset-ted by
BNX2X_FIRST_QUEUE_QUERY_IDX, that means that the total number of Ethernet
queues should not exceed FP_SB_MAX_E1x (16). However one of these queues
is reserved for FCOE and thus the number of Ethernet queues should be set
to [FP_SB_MAX_E1x -1] (15) if FCOE is enabled or [FP_SB_MAX_E1x] (16) if
it is not.&lt;/p&gt;
&lt;p&gt;This is also described in a comment in the source code in
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h just above the Macro definition
of FP_SB_MAX_E1x. Below is the part of this explanation that it important
for this patch&lt;/p&gt;
&lt;p&gt;/*
  * The t…&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;bnx2x: Fix multiple UBSAN array-index-out-of-bounds&lt;/p&gt;
&lt;p&gt;Fix UBSAN warnings that occur when using a system with 32 physical
cpu cores or more, or when the user defines a number of Ethernet
queues greater than or equal to FP_SB_MAX_E1x using the num_queues
module parameter.&lt;/p&gt;
&lt;p&gt;Currently there is a read/write out of bounds that occurs on the array
&amp;#34;struct stats_query_entry query&amp;#34; present inside the &amp;#34;bnx2x_fw_stats_req&amp;#34;
struct in &amp;#34;drivers/net/ethernet/broadcom/bnx2x/bnx2x.h&amp;#34;.
Looking at the definition of the &amp;#34;struct stats_query_entry query&amp;#34; array:&lt;/p&gt;
&lt;p&gt;struct stats_query_entry query[FP_SB_MAX_E1x+
         BNX2X_FIRST_QUEUE_QUERY_IDX];&lt;/p&gt;
&lt;p&gt;FP_SB_MAX_E1x is defined as the maximum number of fast path interrupts and
has a value of 16, while BNX2X_FIRST_QUEUE_QUERY_IDX has a value of 3
meaning the array has a total size of 19.
Since accesses to &amp;#34;struct stats_query_entry query&amp;#34; are offset-ted by
BNX2X_FIRST_QUEUE_QUERY_IDX, that means that the total number of Ethernet
queues should not exceed FP_SB_MAX_E1x (16). However one of these queues
is reserved for FCOE and thus the number of Ethernet queues should be set
to [FP_SB_MAX_E1x -1] (15) if FCOE is enabled or [FP_SB_MAX_E1x] (16) if
it is not.&lt;/p&gt;
&lt;p&gt;This is also described in a comment in the source code in
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h just above the Macro definition
of FP_SB_MAX_E1x. Below is the part of this explanation that it important
for this patch&lt;/p&gt;
&lt;p&gt;/*
  * The t…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-42148</guid>
    </item>
  </channel>
</rss>
