<?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>Sat, 03 Oct 2026 11:54:27 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-54008 — virtio_vdpa: build affinity masks conditionally</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-54008</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;virtio_vdpa: build affinity masks conditionally&lt;/p&gt;
&lt;p&gt;We try to build affinity mask via create_affinity_masks()
unconditionally which may lead several issues:&lt;/p&gt;
&lt;p&gt;- the affinity mask is not used for parent without affinity support
  (only VDUSE support the affinity now)
- the logic of create_affinity_masks() might not work for devices
  other than block. For example it&amp;#39;s not rare in the networking device
  where the number of queues could exceed the number of CPUs. Such
  case breaks the current affinity logic which is based on
  group_cpus_evenly() who assumes the number of CPUs are not less than
  the number of groups. This can trigger a warning[1]:&lt;/p&gt;
&lt;p&gt;if (ret &amp;gt;= 0)
		WARN_ON(nr_present + nr_others &amp;lt; numgrps);&lt;/p&gt;
&lt;p&gt;Fixing this by only build the affinity masks only when&lt;/p&gt;
&lt;p&gt;- Driver passes affinity descriptor, driver like virtio-blk can make
  sure to limit the number of queues when it exceeds the number of CPUs
- Parent support affinity setting config ops&lt;/p&gt;
&lt;p&gt;This help to avoid the warning. More optimizations could be done on
top.&lt;/p&gt;
&lt;p&gt;[1]
[  682.146655] WARNING: CPU: 6 PID: 1550 at lib/group_cpus.c:400 group_cpus_evenly+0x1aa/0x1c0
[  682.146668] CPU: 6 PID: 1550 Comm: vdpa Not tainted 6.5.0-rc5jason+ #79
[  682.146671] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[  682.146673] RIP: 0010:group_cpus_evenly+0x1aa/0x1c0
[  682.146676] Code: 4c 89 e0 5b 5d 41…&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;virtio_vdpa: build affinity masks conditionally&lt;/p&gt;
&lt;p&gt;We try to build affinity mask via create_affinity_masks()
unconditionally which may lead several issues:&lt;/p&gt;
&lt;p&gt;- the affinity mask is not used for parent without affinity support
  (only VDUSE support the affinity now)
- the logic of create_affinity_masks() might not work for devices
  other than block. For example it&amp;#39;s not rare in the networking device
  where the number of queues could exceed the number of CPUs. Such
  case breaks the current affinity logic which is based on
  group_cpus_evenly() who assumes the number of CPUs are not less than
  the number of groups. This can trigger a warning[1]:&lt;/p&gt;
&lt;p&gt;if (ret &amp;gt;= 0)
		WARN_ON(nr_present + nr_others &amp;lt; numgrps);&lt;/p&gt;
&lt;p&gt;Fixing this by only build the affinity masks only when&lt;/p&gt;
&lt;p&gt;- Driver passes affinity descriptor, driver like virtio-blk can make
  sure to limit the number of queues when it exceeds the number of CPUs
- Parent support affinity setting config ops&lt;/p&gt;
&lt;p&gt;This help to avoid the warning. More optimizations could be done on
top.&lt;/p&gt;
&lt;p&gt;[1]
[  682.146655] WARNING: CPU: 6 PID: 1550 at lib/group_cpus.c:400 group_cpus_evenly+0x1aa/0x1c0
[  682.146668] CPU: 6 PID: 1550 Comm: vdpa Not tainted 6.5.0-rc5jason+ #79
[  682.146671] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[  682.146673] RIP: 0010:group_cpus_evenly+0x1aa/0x1c0
[  682.146676] Code: 4c 89 e0 5b 5d 41…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-54008</guid>
    </item>
  </channel>
</rss>
