<?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, 09 Oct 2026 06:18:17 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-56719 — net: stmmac: fix TSO DMA API usage causing oops</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-56719</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 TSO DMA API usage causing oops&lt;/p&gt;
&lt;p&gt;Commit 66600fac7a98 (&amp;#34;net: stmmac: TSO: Fix unbalanced DMA map/unmap
for non-paged SKB data&amp;#34;) moved the assignment of tx_skbuff_dma[]&amp;#39;s
members to be later in stmmac_tso_xmit().&lt;/p&gt;
&lt;p&gt;The buf (dma cookie) and len stored in this structure are passed to
dma_unmap_single() by stmmac_tx_clean(). The DMA API requires that
the dma cookie passed to dma_unmap_single() is the same as the value
returned from dma_map_single(). However, by moving the assignment
later, this is not the case when priv-&amp;gt;dma_cap.addr64 &amp;gt; 32 as &amp;#34;des&amp;#34;
is offset by proto_hdr_len.&lt;/p&gt;
&lt;p&gt;This causes problems such as:&lt;/p&gt;
&lt;p&gt;dwc-eth-dwmac 2490000.ethernet eth0: Tx DMA map failed&lt;/p&gt;
&lt;p&gt;and with DMA_API_DEBUG enabled:&lt;/p&gt;
&lt;p&gt;DMA-API: dwc-eth-dwmac 2490000.ethernet: device driver tries to +free DMA memory it has not allocated [device address=0x000000ffffcf65c0] [size=66 bytes]&lt;/p&gt;
&lt;p&gt;Fix this by maintaining &amp;#34;des&amp;#34; as the original DMA cookie, and use
tso_des to pass the offset DMA cookie to stmmac_tso_allocator().&lt;/p&gt;
&lt;p&gt;Full details of the crashes can be found at:
https://lore.kernel.org/all/d8112193-0386-4e14-b516-37c2d838171a@nvidia.com/
https://lore.kernel.org/all/klkzp5yn5kq5efgtrow6wbvnc46bcqfxs65nz3qy77ujr5turc@bwwhelz2l4dw/&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 TSO DMA API usage causing oops&lt;/p&gt;
&lt;p&gt;Commit 66600fac7a98 (&amp;#34;net: stmmac: TSO: Fix unbalanced DMA map/unmap
for non-paged SKB data&amp;#34;) moved the assignment of tx_skbuff_dma[]&amp;#39;s
members to be later in stmmac_tso_xmit().&lt;/p&gt;
&lt;p&gt;The buf (dma cookie) and len stored in this structure are passed to
dma_unmap_single() by stmmac_tx_clean(). The DMA API requires that
the dma cookie passed to dma_unmap_single() is the same as the value
returned from dma_map_single(). However, by moving the assignment
later, this is not the case when priv-&amp;gt;dma_cap.addr64 &amp;gt; 32 as &amp;#34;des&amp;#34;
is offset by proto_hdr_len.&lt;/p&gt;
&lt;p&gt;This causes problems such as:&lt;/p&gt;
&lt;p&gt;dwc-eth-dwmac 2490000.ethernet eth0: Tx DMA map failed&lt;/p&gt;
&lt;p&gt;and with DMA_API_DEBUG enabled:&lt;/p&gt;
&lt;p&gt;DMA-API: dwc-eth-dwmac 2490000.ethernet: device driver tries to +free DMA memory it has not allocated [device address=0x000000ffffcf65c0] [size=66 bytes]&lt;/p&gt;
&lt;p&gt;Fix this by maintaining &amp;#34;des&amp;#34; as the original DMA cookie, and use
tso_des to pass the offset DMA cookie to stmmac_tso_allocator().&lt;/p&gt;
&lt;p&gt;Full details of the crashes can be found at:
https://lore.kernel.org/all/d8112193-0386-4e14-b516-37c2d838171a@nvidia.com/
https://lore.kernel.org/all/klkzp5yn5kq5efgtrow6wbvnc46bcqfxs65nz3qy77ujr5turc@bwwhelz2l4dw/&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-56719</guid>
    </item>
  </channel>
</rss>
