<?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, 29 Sep 2026 15:46:10 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-53659 — iavf: Fix out-of-bounds when setting channels on remove</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-53659</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;iavf: Fix out-of-bounds when setting channels on remove&lt;/p&gt;
&lt;p&gt;If we set channels greater during iavf_remove(), and waiting reset done
would be timeout, then returned with error but changed num_active_queues
directly, that will lead to OOB like the following logs. Because the
num_active_queues is greater than tx/rx_rings[] allocated actually.&lt;/p&gt;
&lt;p&gt;Reproducer:&lt;/p&gt;
&lt;p&gt;[root@host ~]# cat repro.sh
  #!/bin/bash&lt;/p&gt;
&lt;p&gt;pf_dbsf=&amp;#34;0000:41:00.0&amp;#34;
  vf0_dbsf=&amp;#34;0000:41:02.0&amp;#34;
  g_pids=()&lt;/p&gt;
&lt;p&gt;function do_set_numvf()
  {
      echo 2 &amp;gt;/sys/bus/pci/devices/${pf_dbsf}/sriov_numvfs
      sleep $((RANDOM%3+1))
      echo 0 &amp;gt;/sys/bus/pci/devices/${pf_dbsf}/sriov_numvfs
      sleep $((RANDOM%3+1))
  }&lt;/p&gt;
&lt;p&gt;function do_set_channel()
  {
      local nic=$(ls -1 --indicator-style=none /sys/bus/pci/devices/${vf0_dbsf}/net/)
      [ -z &amp;#34;$nic&amp;#34; ] &amp;amp;&amp;amp; { sleep $((RANDOM%3)) ; return 1; }
      ifconfig $nic 192.168.18.5 netmask 255.255.255.0
      ifconfig $nic up
      ethtool -L $nic combined 1
      ethtool -L $nic combined 4
      sleep $((RANDOM%3))
  }&lt;/p&gt;
&lt;p&gt;function on_exit()
  {
      local pid
      for pid in &amp;#34;${g_pids[@]}&amp;#34;; do
          kill -0 &amp;#34;$pid&amp;#34; &amp;amp;&amp;gt;/dev/null &amp;amp;&amp;amp; kill &amp;#34;$pid&amp;#34; &amp;amp;&amp;gt;/dev/null
      done
      g_pids=()
  }&lt;/p&gt;
&lt;p&gt;trap &amp;#34;on_exit; exit&amp;#34; EXIT&lt;/p&gt;
&lt;p&gt;while :; do do_set_numvf ; done &amp;amp;
  g_pids+=($!)
  while :; do do_set_channel ; done &amp;amp;
  g_pids+=($!)&lt;/p&gt;
&lt;p&gt;wait&lt;/p&gt;
&lt;p&gt;Result:&lt;/p&gt;
&lt;p&gt;[ 3506.152887] iavf 0000:41:02.0: Removing device
[ 3510.400799] ==================…&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;iavf: Fix out-of-bounds when setting channels on remove&lt;/p&gt;
&lt;p&gt;If we set channels greater during iavf_remove(), and waiting reset done
would be timeout, then returned with error but changed num_active_queues
directly, that will lead to OOB like the following logs. Because the
num_active_queues is greater than tx/rx_rings[] allocated actually.&lt;/p&gt;
&lt;p&gt;Reproducer:&lt;/p&gt;
&lt;p&gt;[root@host ~]# cat repro.sh
  #!/bin/bash&lt;/p&gt;
&lt;p&gt;pf_dbsf=&amp;#34;0000:41:00.0&amp;#34;
  vf0_dbsf=&amp;#34;0000:41:02.0&amp;#34;
  g_pids=()&lt;/p&gt;
&lt;p&gt;function do_set_numvf()
  {
      echo 2 &amp;gt;/sys/bus/pci/devices/${pf_dbsf}/sriov_numvfs
      sleep $((RANDOM%3+1))
      echo 0 &amp;gt;/sys/bus/pci/devices/${pf_dbsf}/sriov_numvfs
      sleep $((RANDOM%3+1))
  }&lt;/p&gt;
&lt;p&gt;function do_set_channel()
  {
      local nic=$(ls -1 --indicator-style=none /sys/bus/pci/devices/${vf0_dbsf}/net/)
      [ -z &amp;#34;$nic&amp;#34; ] &amp;amp;&amp;amp; { sleep $((RANDOM%3)) ; return 1; }
      ifconfig $nic 192.168.18.5 netmask 255.255.255.0
      ifconfig $nic up
      ethtool -L $nic combined 1
      ethtool -L $nic combined 4
      sleep $((RANDOM%3))
  }&lt;/p&gt;
&lt;p&gt;function on_exit()
  {
      local pid
      for pid in &amp;#34;${g_pids[@]}&amp;#34;; do
          kill -0 &amp;#34;$pid&amp;#34; &amp;amp;&amp;gt;/dev/null &amp;amp;&amp;amp; kill &amp;#34;$pid&amp;#34; &amp;amp;&amp;gt;/dev/null
      done
      g_pids=()
  }&lt;/p&gt;
&lt;p&gt;trap &amp;#34;on_exit; exit&amp;#34; EXIT&lt;/p&gt;
&lt;p&gt;while :; do do_set_numvf ; done &amp;amp;
  g_pids+=($!)
  while :; do do_set_channel ; done &amp;amp;
  g_pids+=($!)&lt;/p&gt;
&lt;p&gt;wait&lt;/p&gt;
&lt;p&gt;Result:&lt;/p&gt;
&lt;p&gt;[ 3506.152887] iavf 0000:41:02.0: Removing device
[ 3510.400799] ==================…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-53659</guid>
    </item>
  </channel>
</rss>
