<?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 19:53:26 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-53300 — net: enetc: fix NTMP DMA use-after-free issue</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-53300</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: enetc: fix NTMP DMA use-after-free issue&lt;/p&gt;
&lt;p&gt;The AI-generated review reported a potential DMA use-after-free issue
[1]. If netc_xmit_ntmp_cmd() times out and returns an error, the pending
command is not explicitly aborted, while ntmp_free_data_mem()
unconditionally frees the DMA buffer. If the buffer has already been
reallocated elsewhere, this may lead to silent memory corruption. Because
the hardware eventually processes the pending command and perform a DMA
write of the response to the physical address of the freed buffer.&lt;/p&gt;
&lt;p&gt;To resolve this issue, this patch does the following modifications:&lt;/p&gt;
&lt;p&gt;1. Convert cbdr-&amp;gt;ring_lock from a spinlock to a mutex&lt;/p&gt;
&lt;p&gt;The lock was originally a spinlock in case NTMP operations might be
invoked from atomic context. After downstream support for all NTMP
tables, no such usage has materialized. A mutex lock is now required
because the driver now needs to reclaim used BDs and release associated
DMA memory within the lock&amp;#39;s context, while dma_free_coherent() might
sleep.&lt;/p&gt;
&lt;p&gt;2. Introduce software command BD (struct netc_swcbd)&lt;/p&gt;
&lt;p&gt;The hardware write-back overwrites the addr and len fields of the BD,
so the driver cannot rely on the hardware BD to free the associated DMA
memory. The driver now maintains a software shadow BD storing the DMA
buffer pointer, DMA address, and size. And netc_xmit_ntmp_cmd() only
reclaims older BDs when the number of used BDs reaches
NETC_CBDR_CLEAN_WORK (16).…&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: enetc: fix NTMP DMA use-after-free issue&lt;/p&gt;
&lt;p&gt;The AI-generated review reported a potential DMA use-after-free issue
[1]. If netc_xmit_ntmp_cmd() times out and returns an error, the pending
command is not explicitly aborted, while ntmp_free_data_mem()
unconditionally frees the DMA buffer. If the buffer has already been
reallocated elsewhere, this may lead to silent memory corruption. Because
the hardware eventually processes the pending command and perform a DMA
write of the response to the physical address of the freed buffer.&lt;/p&gt;
&lt;p&gt;To resolve this issue, this patch does the following modifications:&lt;/p&gt;
&lt;p&gt;1. Convert cbdr-&amp;gt;ring_lock from a spinlock to a mutex&lt;/p&gt;
&lt;p&gt;The lock was originally a spinlock in case NTMP operations might be
invoked from atomic context. After downstream support for all NTMP
tables, no such usage has materialized. A mutex lock is now required
because the driver now needs to reclaim used BDs and release associated
DMA memory within the lock&amp;#39;s context, while dma_free_coherent() might
sleep.&lt;/p&gt;
&lt;p&gt;2. Introduce software command BD (struct netc_swcbd)&lt;/p&gt;
&lt;p&gt;The hardware write-back overwrites the addr and len fields of the BD,
so the driver cannot rely on the hardware BD to free the associated DMA
memory. The driver now maintains a software shadow BD storing the DMA
buffer pointer, DMA address, and size. And netc_xmit_ntmp_cmd() only
reclaims older BDs when the number of used BDs reaches
NETC_CBDR_CLEAN_WORK (16).…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-53300</guid>
    </item>
  </channel>
</rss>
