<?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://cve.radiocsirt.org</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>Thu, 08 Oct 2026 00:33:59 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-26885 — bpf: Fix DEVMAP_HASH overflow check on 32-bit arches</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2024-26885</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, linux_kernel, Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;bpf: Fix DEVMAP_HASH overflow check on 32-bit arches&lt;/p&gt;
&lt;p&gt;The devmap code allocates a number hash buckets equal to the next power
of two of the max_entries value provided when creating the map. When
rounding up to the next power of two, the 32-bit variable storing the
number of buckets can overflow, and the code checks for overflow by
checking if the truncated 32-bit value is equal to 0. However, on 32-bit
arches the rounding up itself can overflow mid-way through, because it
ends up doing a left-shift of 32 bits on an unsigned long value. If the
size of an unsigned long is four bytes, this is undefined behaviour, so
there is no guarantee that we&amp;#39;ll end up with a nice and tidy 0-value at
the end.&lt;/p&gt;
&lt;p&gt;Syzbot managed to turn this into a crash on arm32 by creating a
DEVMAP_HASH with max_entries &amp;gt; 0x80000000 and then trying to update it.
Fix this by moving the overflow check to before the rounding up
operation.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, linux_kernel, Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;bpf: Fix DEVMAP_HASH overflow check on 32-bit arches&lt;/p&gt;
&lt;p&gt;The devmap code allocates a number hash buckets equal to the next power
of two of the max_entries value provided when creating the map. When
rounding up to the next power of two, the 32-bit variable storing the
number of buckets can overflow, and the code checks for overflow by
checking if the truncated 32-bit value is equal to 0. However, on 32-bit
arches the rounding up itself can overflow mid-way through, because it
ends up doing a left-shift of 32 bits on an unsigned long value. If the
size of an unsigned long is four bytes, this is undefined behaviour, so
there is no guarantee that we&amp;#39;ll end up with a nice and tidy 0-value at
the end.&lt;/p&gt;
&lt;p&gt;Syzbot managed to turn this into a crash on arm32 by creating a
DEVMAP_HASH with max_entries &amp;gt; 0x80000000 and then trying to update it.
Fix this by moving the overflow check to before the rounding up
operation.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2024-26885</guid>
    </item>
  </channel>
</rss>
