<?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 18:41:20 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139565 — ice: size ring stats arrays from the final queue count</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139565</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: size ring stats arrays from the final queue count&lt;/p&gt;
&lt;p&gt;The ring stats arrays were sized in one place and indexed in another,
with nothing reconciling the two. ice_vsi_alloc_stat_arrays() gave up as
soon as a container existed:&lt;/p&gt;
&lt;p&gt;if (pf-&amp;gt;vsi_stats[vsi-&amp;gt;idx])
	/* realloc will happen in rebuild path */
		return 0;&lt;/p&gt;
&lt;p&gt;while ice_vsi_alloc_ring_stats() walks the arrays with
ice_for_each_alloc_txq() / ice_for_each_alloc_rxq(), that is, up to
vsi-&amp;gt;alloc_txq / vsi-&amp;gt;alloc_rxq. Whenever the arrays are shorter than
the count ice_vsi_set_num_qs() ends up computing, that loop reads and
stores past the end of the kmalloc&amp;#39;ed pointer arrays.&lt;/p&gt;
&lt;p&gt;Deferring to &amp;#34;the rebuild path&amp;#34; does not hold. It cannot get the size
right, and some paths never call it at all.&lt;/p&gt;
&lt;p&gt;ice_devlink_reinit_down() is one of the latter. It calls ice_vsi_decfg()
directly, which does not free pf-&amp;gt;vsi_stats[], and nothing on the way
down releases the main VSI&amp;#39;s entry either: ice_dealloc_vsis() runs only
from ice_init()/ice_deinit(), and the single entry that ice_unload()
does drop is the control VSI&amp;#39;s, via ice_deinit_fdir(). The main VSI&amp;#39;s
arrays therefore survive the reload, while ice_devlink_reinit_up() runs
ice_vsi_cfg() and recomputes the count from
netif_get_num_default_rss_queues(), which follows cpu_online_mask.
Sizing the arrays with most CPUs offline and then onlining them is
enough, no VF involved:&lt;/p&gt;
&lt;p&gt;for c in /sys/devices/system/cpu/cpu[0-9]*/online;…&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: size ring stats arrays from the final queue count&lt;/p&gt;
&lt;p&gt;The ring stats arrays were sized in one place and indexed in another,
with nothing reconciling the two. ice_vsi_alloc_stat_arrays() gave up as
soon as a container existed:&lt;/p&gt;
&lt;p&gt;if (pf-&amp;gt;vsi_stats[vsi-&amp;gt;idx])
	/* realloc will happen in rebuild path */
		return 0;&lt;/p&gt;
&lt;p&gt;while ice_vsi_alloc_ring_stats() walks the arrays with
ice_for_each_alloc_txq() / ice_for_each_alloc_rxq(), that is, up to
vsi-&amp;gt;alloc_txq / vsi-&amp;gt;alloc_rxq. Whenever the arrays are shorter than
the count ice_vsi_set_num_qs() ends up computing, that loop reads and
stores past the end of the kmalloc&amp;#39;ed pointer arrays.&lt;/p&gt;
&lt;p&gt;Deferring to &amp;#34;the rebuild path&amp;#34; does not hold. It cannot get the size
right, and some paths never call it at all.&lt;/p&gt;
&lt;p&gt;ice_devlink_reinit_down() is one of the latter. It calls ice_vsi_decfg()
directly, which does not free pf-&amp;gt;vsi_stats[], and nothing on the way
down releases the main VSI&amp;#39;s entry either: ice_dealloc_vsis() runs only
from ice_init()/ice_deinit(), and the single entry that ice_unload()
does drop is the control VSI&amp;#39;s, via ice_deinit_fdir(). The main VSI&amp;#39;s
arrays therefore survive the reload, while ice_devlink_reinit_up() runs
ice_vsi_cfg() and recomputes the count from
netif_get_num_default_rss_queues(), which follows cpu_online_mask.
Sizing the arrays with most CPUs offline and then onlining them is
enough, no VF involved:&lt;/p&gt;
&lt;p&gt;for c in /sys/devices/system/cpu/cpu[0-9]*/online;…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139565</guid>
    </item>
  </channel>
</rss>
