<?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>Mon, 28 Sep 2026 18:13:37 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-39948 — ice: fix Rx page leak on multi-buffer frames</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-39948</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;ice: fix Rx page leak on multi-buffer frames&lt;/p&gt;
&lt;p&gt;The ice_put_rx_mbuf() function handles calling ice_put_rx_buf() for each
buffer in the current frame. This function was introduced as part of
handling multi-buffer XDP support in the ice driver.&lt;/p&gt;
&lt;p&gt;It works by iterating over the buffers from first_desc up to 1 plus the
total number of fragments in the frame, cached from before the XDP program
was executed.&lt;/p&gt;
&lt;p&gt;If the hardware posts a descriptor with a size of 0, the logic used in
ice_put_rx_mbuf() breaks. Such descriptors get skipped and don&amp;#39;t get added
as fragments in ice_add_xdp_frag. Since the buffer isn&amp;#39;t counted as a
fragment, we do not iterate over it in ice_put_rx_mbuf(), and thus we don&amp;#39;t
call ice_put_rx_buf().&lt;/p&gt;
&lt;p&gt;Because we don&amp;#39;t call ice_put_rx_buf(), we don&amp;#39;t attempt to re-use the
page or free it. This leaves a stale page in the ring, as we don&amp;#39;t
increment next_to_alloc.&lt;/p&gt;
&lt;p&gt;The ice_reuse_rx_page() assumes that the next_to_alloc has been incremented
properly, and that it always points to a buffer with a NULL page. Since
this function doesn&amp;#39;t check, it will happily recycle a page over the top
of the next_to_alloc buffer, losing track of the old page.&lt;/p&gt;
&lt;p&gt;Note that this leak only occurs for multi-buffer frames. The
ice_put_rx_mbuf() function always handles at least one buffer, so a
single-buffer frame will always get handled correctly. It is not clear
precisely why the hardware hands us descriptors with a size of 0…&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;ice: fix Rx page leak on multi-buffer frames&lt;/p&gt;
&lt;p&gt;The ice_put_rx_mbuf() function handles calling ice_put_rx_buf() for each
buffer in the current frame. This function was introduced as part of
handling multi-buffer XDP support in the ice driver.&lt;/p&gt;
&lt;p&gt;It works by iterating over the buffers from first_desc up to 1 plus the
total number of fragments in the frame, cached from before the XDP program
was executed.&lt;/p&gt;
&lt;p&gt;If the hardware posts a descriptor with a size of 0, the logic used in
ice_put_rx_mbuf() breaks. Such descriptors get skipped and don&amp;#39;t get added
as fragments in ice_add_xdp_frag. Since the buffer isn&amp;#39;t counted as a
fragment, we do not iterate over it in ice_put_rx_mbuf(), and thus we don&amp;#39;t
call ice_put_rx_buf().&lt;/p&gt;
&lt;p&gt;Because we don&amp;#39;t call ice_put_rx_buf(), we don&amp;#39;t attempt to re-use the
page or free it. This leaves a stale page in the ring, as we don&amp;#39;t
increment next_to_alloc.&lt;/p&gt;
&lt;p&gt;The ice_reuse_rx_page() assumes that the next_to_alloc has been incremented
properly, and that it always points to a buffer with a NULL page. Since
this function doesn&amp;#39;t check, it will happily recycle a page over the top
of the next_to_alloc buffer, losing track of the old page.&lt;/p&gt;
&lt;p&gt;Note that this leak only occurs for multi-buffer frames. The
ice_put_rx_mbuf() function always handles at least one buffer, so a
single-buffer frame will always get handled correctly. It is not clear
precisely why the hardware hands us descriptors with a size of 0…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-39948</guid>
    </item>
  </channel>
</rss>
