In the Linux kernel, the following vulnerability has been resolved:
net/mlx5e: Fix publication race for priv->channel_stats[]
mlx5e_channel_stats_alloc() publishes a new entry to priv->channel_stats[] and then increments priv->stats_nch as a publication token, but neither store carries any memory barrier:
priv->channel_stats[ix] = kvzalloc_node(...); if (!priv->channel_stats[ix]) return -ENOMEM; priv->stats_nch++;
Concurrent readers compute the loop bound from priv->stats_nch and then dereference priv->channel_stats[i] using plain accesses, e.g.
for (i = 0; i < priv->stats_nch; i++) { struct mlx5e_channel_stats *cs = priv->channel_stats[i]; ... cs->rq.packets ... }
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.
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() -> mlx5e_channel_stats_alloc() on another CPU:
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 [openvswitch] ovs_vport_cmd_fill_info+0x194/0x290 [openvswitch] ovs_vport_cmd_get+0xbc/0x10c [openvswitch] genl_family_rcv_msg_doit+0xd0/0x160 genl_rcv_msg+0xec/0x1f0 netlink_rcv_skb+0x64/0x130 genl_rcv+0x40/0x60 netlink_unicast+0x2fc/0x370 netlink_sendmsg+0x1dc/0x454 ... __arm64_sys_sendmsg+0x2c/0x40
Add mlx5e_stats_nch_write() and mlx5e_stats_nch_read() helpers in en.h that wrap the smp_store_release()/smp_load_acquire() pair on stats_nch. The release/acquire pair establishes the contract:
stats_nch == N => channel_stats[0..N-1] are visible and non-NULL.
Publish the stats_nch increment via mlx5e_stats_nch_write() in the writer (mlx5e_channel_stats_alloc()), and read stats_nch via mlx5e_stats_nch_read() in all readers: mlx5e RX/TX queue stats, mlx5e_get_base_stats(), ethtool channels stats, IPoIB stats, the sw_stats fold and the HV VHCA stats agent.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Redhat_linux | — | No solution exists | Aug 21, 2026 | Aug 15, 2026 |
| Ubuntu | — | Upgrade linux-image-gke-64k-7.0Upgrade linux-image-oem-26.04Upgrade linux-image-ibm-7.0Upgrade linux-image-7.0.0-1014-gcp-64kUpgrade linux-image-azure-fdeUpgrade linux-image-awsUpgrade linux-image-virtual-hwe-26.04Upgrade linux-image-azureUpgrade linux-image-7.0.0-1014-awsUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-7.0.0-1008-gkeUpgrade linux-image-generic-hwe-24.04Upgrade linux-image-azure-7.0Upgrade linux-image-gcp-64kUpgrade linux-image-azure-lts-26.04Upgrade linux-image-gke-64kUpgrade linux-image-7.0.0-38-genericUpgrade linux-image-ibmUpgrade linux-image-oem-26.04aUpgrade linux-image-oracle-7.0Upgrade linux-image-azure-fde-7.0Upgrade linux-image-7.0.0-1015-ibmUpgrade linux-image-aws-64k-7.0Upgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-generic-7.0Upgrade linux-image-gcpUpgrade linux-image-7.0.0-1014-aws-64kUpgrade linux-image-virtual-hwe-24.04Upgrade linux-image-realtime-hwe-26.04Upgrade linux-image-oracle-64k-7.0Upgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-gkeUpgrade linux-image-generic-64k-7.0Upgrade linux-image-gcp-64k-7.0Upgrade linux-image-7.0.0-1015-oemUpgrade linux-image-generic-hwe-26.04Upgrade linux-image-genericUpgrade linux-image-virtual-7.0Upgrade linux-image-7.0.0-1008-gke-64kUpgrade linux-image-7.0.0-38-generic-64kUpgrade linux-image-virtualUpgrade linux-image-realtime-64kUpgrade linux-image-oracle-64kUpgrade linux-image-oracleUpgrade linux-image-realtime-64k-7.0Upgrade linux-image-aws-7.0Upgrade linux-image-7.0.0-38-realtime-64kUpgrade linux-image-7.0.0-1017-azureUpgrade linux-image-oem-7.0Upgrade linux-image-gke-7.0Upgrade linux-image-gcp-7.0Upgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-realtime-7.0Upgrade linux-image-realtimeUpgrade linux-image-aws-64kUpgrade linux-image-7.0.0-1014-gcpUpgrade linux-image-7.0.0-1013-oracle-64kUpgrade linux-image-azure-fde-lts-26.04Upgrade linux-image-7.0.0-1013-oracleUpgrade linux-image-7.0.0-38-realtimeUpgrade linux-image-generic-64kUpgrade linux-image-gke-hwe-26.04Upgrade linux-image-7.0.0-1016-azure-fde | Oct 7, 2026 | Oct 6, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Sep 23, 2026 | Aug 15, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub