CVE-2026-143163

Source
https://cve.org/CVERecord?id=CVE-2026-143163
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143163.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143163
Downstream
Published
2026-12-03T09:20:01Z
Modified
2026-12-03T11:01:27Z
Summary
net/mlx5e: Fix queue stats access to queues without stats
Details

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 : mlx5e_get_queue_stats_rx+0x4c/0xc8 Call trace: mlx5e_get_queue_stats_rx+0x4c/0xc8 (P) netdev_stat_queue_sum+0x78/0x480 netdev_nl_qstats_get_dump_one+0xf0/0x268 netdev_nl_qstats_get_dumpit+0x7c/0x1f8

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

  • RX stats live in priv->channel_stats[], which only has entries for channels that have been opened (stats_nch). real_num_rx_queues 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->txq2sq_stats[], 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 stats_nch and for TX queues without SQ stats.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143163.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7b66ae536a78216f9c4892533db2d76a8b60a81d
Fixed
5722c41774b1c4d6d0ecd43d494ff5fdffd0a0c8
Fixed
bae3442c750ffe5aaca0cf1e03dc541742376403
Fixed
9a24799e219b1699bb1c144248c8c500b9504db5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143163.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143163.json"