<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-02T08:35:30.040887+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-72341</id>
    <title>CVE-2026-72341 — net/mlx5e: Fix publication race for priv-&gt;channel_stats[]</title>
    <updated>2026-10-02T08:35:30.044310+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>net/mlx5e: Fix publication race for priv-&gt;channel_stats[]</p>
<p>mlx5e_channel_stats_alloc() publishes a new entry to
priv-&gt;channel_stats[] and then increments priv-&gt;stats_nch as a
publication token, but neither store carries any memory barrier:</p>
<p>priv-&gt;channel_stats[ix] = kvzalloc_node(...);
	if (!priv-&gt;channel_stats[ix])
		return -ENOMEM;
	priv-&gt;stats_nch++;</p>
<p>Concurrent readers compute the loop bound from priv-&gt;stats_nch and
then dereference priv-&gt;channel_stats[i] using plain accesses, e.g.</p>
<p>for (i = 0; i &lt; priv-&gt;stats_nch; i++) {
		struct mlx5e_channel_stats *cs = priv-&gt;channel_stats[i];
		... cs-&gt;rq.packets ...
	}</p>
<p>On weakly-ordered architectures (ARM, PowerPC, RISC-V) the writes to
channel_stats[ix] and stats_nch may become visible to other CPUs out
of program order. A reader can observe stats_nch == N while still
seeing channel_stats[N-1] == NULL, leading to a NULL pointer
dereference in the channel_stats loop.</p>
<p>This has been observed in production on BlueField-3 DPUs (arm64),
where ovs-vswitchd queries netdev statistics over netlink during NIC
bringup, racing mlx5e_open_channel() -&gt; mlx5e_channel_stats_alloc()
on another CPU:</p>
<p>Unable to handle kernel NULL pointer dereference at virtual address 0x840
  Hardware name: BlueField-3 DPU
  pc : mlx5e_fold_sw_stats64+0x30/0x180 [mlx5_core]
  Call trace:
   mlx5e_fold_sw_stats64+0x30/0x180 [mlx5_core]
   dev_get_stats+0x50/0xc0
   ovs_vport_get_stats+0x38/0xac…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-72341"/>
  </entry>
</feed>
