<?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 16:34:47 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-21991 — x86/microcode/AMD: Fix out-of-bounds on systems with CPU-less NUMA nodes</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-21991</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;x86/microcode/AMD: Fix out-of-bounds on systems with CPU-less NUMA nodes&lt;/p&gt;
&lt;p&gt;Currently, load_microcode_amd() iterates over all NUMA nodes, retrieves their
CPU masks and unconditionally accesses per-CPU data for the first CPU of each
mask.&lt;/p&gt;
&lt;p&gt;According to Documentation/admin-guide/mm/numaperf.rst:&lt;/p&gt;
&lt;p&gt;&amp;#34;Some memory may share the same node as a CPU, and others are provided as
  memory only nodes.&amp;#34;&lt;/p&gt;
&lt;p&gt;Therefore, some node CPU masks may be empty and wouldn&amp;#39;t have a &amp;#34;first CPU&amp;#34;.&lt;/p&gt;
&lt;p&gt;On a machine with far memory (and therefore CPU-less NUMA nodes):
- cpumask_of_node(nid) is 0
- cpumask_first(0) is CONFIG_NR_CPUS
- cpu_data(CONFIG_NR_CPUS) accesses the cpu_info per-CPU array at an
  index that is 1 out of bounds&lt;/p&gt;
&lt;p&gt;This does not have any security implications since flashing microcode is
a privileged operation but I believe this has reliability implications by
potentially corrupting memory while flashing a microcode update.&lt;/p&gt;
&lt;p&gt;When booting with CONFIG_UBSAN_BOUNDS=y on an AMD machine that flashes
a microcode update. I get the following splat:&lt;/p&gt;
&lt;p&gt;UBSAN: array-index-out-of-bounds in arch/x86/kernel/cpu/microcode/amd.c:X:Y
  index 512 is out of range for type &amp;#39;unsigned long[512]&amp;#39;
  [...]
  Call Trace:
   dump_stack
   __ubsan_handle_out_of_bounds
   load_microcode_amd
   request_microcode_amd
   reload_store
   kernfs_fop_write_iter
   vfs_write
   ksys_write
   do_syscall_64
   entry_SYSCALL_64_after_hwframe&lt;/p&gt;
&lt;p&gt;Change the loop to go o…&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;x86/microcode/AMD: Fix out-of-bounds on systems with CPU-less NUMA nodes&lt;/p&gt;
&lt;p&gt;Currently, load_microcode_amd() iterates over all NUMA nodes, retrieves their
CPU masks and unconditionally accesses per-CPU data for the first CPU of each
mask.&lt;/p&gt;
&lt;p&gt;According to Documentation/admin-guide/mm/numaperf.rst:&lt;/p&gt;
&lt;p&gt;&amp;#34;Some memory may share the same node as a CPU, and others are provided as
  memory only nodes.&amp;#34;&lt;/p&gt;
&lt;p&gt;Therefore, some node CPU masks may be empty and wouldn&amp;#39;t have a &amp;#34;first CPU&amp;#34;.&lt;/p&gt;
&lt;p&gt;On a machine with far memory (and therefore CPU-less NUMA nodes):
- cpumask_of_node(nid) is 0
- cpumask_first(0) is CONFIG_NR_CPUS
- cpu_data(CONFIG_NR_CPUS) accesses the cpu_info per-CPU array at an
  index that is 1 out of bounds&lt;/p&gt;
&lt;p&gt;This does not have any security implications since flashing microcode is
a privileged operation but I believe this has reliability implications by
potentially corrupting memory while flashing a microcode update.&lt;/p&gt;
&lt;p&gt;When booting with CONFIG_UBSAN_BOUNDS=y on an AMD machine that flashes
a microcode update. I get the following splat:&lt;/p&gt;
&lt;p&gt;UBSAN: array-index-out-of-bounds in arch/x86/kernel/cpu/microcode/amd.c:X:Y
  index 512 is out of range for type &amp;#39;unsigned long[512]&amp;#39;
  [...]
  Call Trace:
   dump_stack
   __ubsan_handle_out_of_bounds
   load_microcode_amd
   request_microcode_amd
   reload_store
   kernfs_fop_write_iter
   vfs_write
   ksys_write
   do_syscall_64
   entry_SYSCALL_64_after_hwframe&lt;/p&gt;
&lt;p&gt;Change the loop to go o…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-21991</guid>
    </item>
  </channel>
</rss>
