CVE-2026-143163: net/mlx5e: Fix queue stats access to queues without stats

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5e: Fix queue stats access to queues without stats

I am seeing the following mlx5e crash in the Meta fleet:

pc : mlx5egetqueuestatsrx+0x4c/0xc8 Call trace: mlx5egetqueuestatsrx+0x4c/0xc8 (P) netdevstatqueuesum+0x78/0x480 netdevnlqstatsgetdumpone+0xf0/0x268 netdevnlqstatsgetdumpit+0x7c/0x1f8

When dumping device-wide qstats, the core calls the per-queue callbacks for every queue below realnum{rx,tx}queues, regardless of whether the netdev is up. Some of those queues have no stats behind them:

- RX stats live in priv->channelstats[], which only has entries for channels that have been opened (statsnch). realnumrxqueues can be larger, for example after the channel count is raised while the netdev is down, or after opening the channels failed part way.

- TX stats are looked up in priv->txq2sqstats[], which is NULL for SQs that were never activated and for HTB queues while the channels are closed.

In both cases the callback dereferences a NULL pointer. The dump needs no privileges, so any user can trigger it.

Return early for RX queues at or above statsnch and for TX queues without SQ stats.

Affected Software

6 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.11.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.7
7.3.7
debian/linux*
debian/linux*
debian/linux<=6.12.117-1, <=6.12.118-1, <=7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7

Event History

Dec 3, 2026
CVE Published
via MITRE·09:20 AM
Data Sourced
via MITRE·09:20 AM
Description
Data Sourced
via OSV·09:20 AM
DescriptionAffected Software
Data Sourced
via NVD·10:17 AM
Description

Frequently Asked Questions

1

Who can trigger the crash?

Any local user can trigger the device-wide queue-statistics dump because the dump requires no privileges. Systems using the mlx5e network driver are exposed when queues exist without corresponding statistics storage.

2

What conditions make the affected queues possible?

RX queues can lack statistics after the channel count is increased while the network device is down, or when opening channels fails part way through. TX queues can lack statistics when their send queues were never activated, or for HTB queues while channels are closed.

3

What is the impact of triggering the issue?

The queue-statistics callback can dereference a NULL pointer while handling the dump, causing an mlx5e kernel crash. The reported call trace occurs through the netdev queue-statistics dump path.

4

How does the fix prevent the crash?

The fix returns early for RX queues at or above the number of channels with statistics, and for TX queues that have no associated send-queue statistics. This avoids dereferencing missing statistics pointers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203