<?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>Thu, 01 Oct 2026 06:17:30 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-31649 — net: stmmac: fix integer underflow in chain mode</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-31649</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;net: stmmac: fix integer underflow in chain mode&lt;/p&gt;
&lt;p&gt;The jumbo_frm() chain-mode implementation unconditionally computes&lt;/p&gt;
&lt;p&gt;len = nopaged_len - bmax;&lt;/p&gt;
&lt;p&gt;where nopaged_len = skb_headlen(skb) (linear bytes only) and bmax is
BUF_SIZE_8KiB or BUF_SIZE_2KiB.  However, the caller stmmac_xmit()
decides to invoke jumbo_frm() based on skb-&amp;gt;len (total length including
page fragments):&lt;/p&gt;
&lt;p&gt;is_jumbo = stmmac_is_jumbo_frm(priv, skb-&amp;gt;len, enh_desc);&lt;/p&gt;
&lt;p&gt;When a packet has a small linear portion (nopaged_len &amp;lt;= bmax) but a
large total length due to page fragments (skb-&amp;gt;len &amp;gt; bmax), the
subtraction wraps as an unsigned integer, producing a huge len value
(~0xFFFFxxxx).  This causes the while (len != 0) loop to execute
hundreds of thousands of iterations, passing skb-&amp;gt;data + bmax * i
pointers far beyond the skb buffer to dma_map_single().  On IOMMU-less
SoCs (the typical deployment for stmmac), this maps arbitrary kernel
memory to the DMA engine, constituting a kernel memory disclosure and
potential memory corruption from hardware.&lt;/p&gt;
&lt;p&gt;Fix this by introducing a buf_len local variable clamped to
min(nopaged_len, bmax).  Computing len = nopaged_len - buf_len is then
always safe: it is zero when the linear portion fits within a single
descriptor, causing the while (len != 0) loop to be skipped naturally,
and the fragment loop in stmmac_xmit() handles page fragments afterward.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;net: stmmac: fix integer underflow in chain mode&lt;/p&gt;
&lt;p&gt;The jumbo_frm() chain-mode implementation unconditionally computes&lt;/p&gt;
&lt;p&gt;len = nopaged_len - bmax;&lt;/p&gt;
&lt;p&gt;where nopaged_len = skb_headlen(skb) (linear bytes only) and bmax is
BUF_SIZE_8KiB or BUF_SIZE_2KiB.  However, the caller stmmac_xmit()
decides to invoke jumbo_frm() based on skb-&amp;gt;len (total length including
page fragments):&lt;/p&gt;
&lt;p&gt;is_jumbo = stmmac_is_jumbo_frm(priv, skb-&amp;gt;len, enh_desc);&lt;/p&gt;
&lt;p&gt;When a packet has a small linear portion (nopaged_len &amp;lt;= bmax) but a
large total length due to page fragments (skb-&amp;gt;len &amp;gt; bmax), the
subtraction wraps as an unsigned integer, producing a huge len value
(~0xFFFFxxxx).  This causes the while (len != 0) loop to execute
hundreds of thousands of iterations, passing skb-&amp;gt;data + bmax * i
pointers far beyond the skb buffer to dma_map_single().  On IOMMU-less
SoCs (the typical deployment for stmmac), this maps arbitrary kernel
memory to the DMA engine, constituting a kernel memory disclosure and
potential memory corruption from hardware.&lt;/p&gt;
&lt;p&gt;Fix this by introducing a buf_len local variable clamped to
min(nopaged_len, bmax).  Computing len = nopaged_len - buf_len is then
always safe: it is zero when the linear portion fits within a single
descriptor, causing the while (len != 0) loop to be skipped naturally,
and the fragment loop in stmmac_xmit() handles page fragments afterward.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-31649</guid>
    </item>
  </channel>
</rss>
