<?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 03:56:56 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-47548 — ethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2021-47548</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, linux_kernel&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;ethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port()&lt;/p&gt;
&lt;p&gt;The if statement:
  if (port &amp;gt;= DSAF_GE_NUM)
        return;&lt;/p&gt;
&lt;p&gt;limits the value of port less than DSAF_GE_NUM (i.e., 8).
However, if the value of port is 6 or 7, an array overflow could occur:
  port_rst_off = dsaf_dev-&amp;gt;mac_cb[port]-&amp;gt;port_rst_off;&lt;/p&gt;
&lt;p&gt;because the length of dsaf_dev-&amp;gt;mac_cb is DSAF_MAX_PORT_NUM (i.e., 6).&lt;/p&gt;
&lt;p&gt;To fix this possible array overflow, we first check port and if it is
greater than or equal to DSAF_MAX_PORT_NUM, the function returns.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, linux_kernel&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;ethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port()&lt;/p&gt;
&lt;p&gt;The if statement:
  if (port &amp;gt;= DSAF_GE_NUM)
        return;&lt;/p&gt;
&lt;p&gt;limits the value of port less than DSAF_GE_NUM (i.e., 8).
However, if the value of port is 6 or 7, an array overflow could occur:
  port_rst_off = dsaf_dev-&amp;gt;mac_cb[port]-&amp;gt;port_rst_off;&lt;/p&gt;
&lt;p&gt;because the length of dsaf_dev-&amp;gt;mac_cb is DSAF_MAX_PORT_NUM (i.e., 6).&lt;/p&gt;
&lt;p&gt;To fix this possible array overflow, we first check port and if it is
greater than or equal to DSAF_MAX_PORT_NUM, the function returns.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2021-47548</guid>
    </item>
  </channel>
</rss>
