<?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://db.gcve.eu</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, 04 Dec 2026 19:25:14 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139099 — net: bgmac: fix TX DMA unmapping and slot cleanup</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139099</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;net: bgmac: fix TX DMA unmapping and slot cleanup&lt;/p&gt;
&lt;p&gt;When mapping a fragment fails, bgmac_dma_tx_add() unwinds with the
wrong slots. It passes the failed fragment&amp;#39;s slot-&amp;gt;dma_addr, which
holds the mapping error, to dma_unmap_single() for the head. The
fragment loop indexes from ring-&amp;gt;end instead of ring-&amp;gt;end + 1, so it
unmaps the head a second time as a page and leaves the last mapped
fragment mapped. None of the affected slots get their dma_addr cleared
either, which includes the head slot when mapping the head fails.&lt;/p&gt;
&lt;p&gt;bgmac_dma_tx_ring_free() unmaps every slot with a non-zero dma_addr,
so tearing down the ring unmaps these addresses again. It also frees
the skbs of pending TX slots but leaves slot-&amp;gt;skb and slot-&amp;gt;dma_addr
set. The slots survive a down/up cycle, and bgmac_dma_tx_add() only
sets slot-&amp;gt;skb on the last slot of a packet. If a slot with a stale
pointer is later used for the head or a fragment of a scatter/gather
packet, bgmac_dma_tx_free() frees the old skb a second time when that
slot completes.&lt;/p&gt;
&lt;p&gt;bgmac_dma_tx_ring_free() also picks dma_unmap_single() or
dma_unmap_page() by looking at slot-&amp;gt;skb, which is set on the last slot
of a packet, while the head was mapped with dma_map_single() and the
fragments with skb_frag_dma_map().&lt;/p&gt;
&lt;p&gt;In the error path, unmap the head and each mapped fragment from their
own slots, and clear dma_addr on every slot the failed packet touched.
In bgmac_dma_tx_ring_free(), ch…&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;net: bgmac: fix TX DMA unmapping and slot cleanup&lt;/p&gt;
&lt;p&gt;When mapping a fragment fails, bgmac_dma_tx_add() unwinds with the
wrong slots. It passes the failed fragment&amp;#39;s slot-&amp;gt;dma_addr, which
holds the mapping error, to dma_unmap_single() for the head. The
fragment loop indexes from ring-&amp;gt;end instead of ring-&amp;gt;end + 1, so it
unmaps the head a second time as a page and leaves the last mapped
fragment mapped. None of the affected slots get their dma_addr cleared
either, which includes the head slot when mapping the head fails.&lt;/p&gt;
&lt;p&gt;bgmac_dma_tx_ring_free() unmaps every slot with a non-zero dma_addr,
so tearing down the ring unmaps these addresses again. It also frees
the skbs of pending TX slots but leaves slot-&amp;gt;skb and slot-&amp;gt;dma_addr
set. The slots survive a down/up cycle, and bgmac_dma_tx_add() only
sets slot-&amp;gt;skb on the last slot of a packet. If a slot with a stale
pointer is later used for the head or a fragment of a scatter/gather
packet, bgmac_dma_tx_free() frees the old skb a second time when that
slot completes.&lt;/p&gt;
&lt;p&gt;bgmac_dma_tx_ring_free() also picks dma_unmap_single() or
dma_unmap_page() by looking at slot-&amp;gt;skb, which is set on the last slot
of a packet, while the head was mapped with dma_map_single() and the
fragments with skb_frag_dma_map().&lt;/p&gt;
&lt;p&gt;In the error path, unmap the head and each mapped fragment from their
own slots, and clear dma_addr on every slot the failed packet touched.
In bgmac_dma_tx_ring_free(), ch…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139099</guid>
    </item>
  </channel>
</rss>
