<?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 13:45:50 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-47013 — net:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2021-47013</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:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send&lt;/p&gt;
&lt;p&gt;In emac_mac_tx_buf_send, it calls emac_tx_fill_tpd(..,skb,..).
If some error happens in emac_tx_fill_tpd(), the skb will be freed via
dev_kfree_skb(skb) in error branch of emac_tx_fill_tpd().
But the freed skb is still used via skb-&amp;gt;len by netdev_sent_queue(,skb-&amp;gt;len).&lt;/p&gt;
&lt;p&gt;As i observed that emac_tx_fill_tpd() haven&amp;#39;t modified the value of skb-&amp;gt;len,
thus my patch assigns skb-&amp;gt;len to &amp;#39;len&amp;#39; before the possible free and
use &amp;#39;len&amp;#39; instead of skb-&amp;gt;len later.&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:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send&lt;/p&gt;
&lt;p&gt;In emac_mac_tx_buf_send, it calls emac_tx_fill_tpd(..,skb,..).
If some error happens in emac_tx_fill_tpd(), the skb will be freed via
dev_kfree_skb(skb) in error branch of emac_tx_fill_tpd().
But the freed skb is still used via skb-&amp;gt;len by netdev_sent_queue(,skb-&amp;gt;len).&lt;/p&gt;
&lt;p&gt;As i observed that emac_tx_fill_tpd() haven&amp;#39;t modified the value of skb-&amp;gt;len,
thus my patch assigns skb-&amp;gt;len to &amp;#39;len&amp;#39; before the possible free and
use &amp;#39;len&amp;#39; instead of skb-&amp;gt;len later.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2021-47013</guid>
    </item>
  </channel>
</rss>
