CVE-2026-139136

net/mlx5: Only set num_doorbells on a fully initialized SF

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

net/mlx5: Only set num_doorbells on a fully initialized SF

The validation for the num_doorbells devlink param rejects values
greater than num_channels. For lightweight SFs, this ends up accessing
a NULL priv->eq_table, leading to a crash.

Fix that by rejecting setting num_doorbells on uninitialized SFs.

Analysis

AI-generated

Technical impact

The bug in the Linux kernel’s mlx5 driver causes a null pointer dereference when the devlink parameter num_doorbells is set on a lightweight, uninitialized Service‑Function (SF). Although a check limits values greater than num_channels, the code still accesses priv->eq_table, which is NULL for such SFs, resulting in a kernel crash and denying service to the affected system. The weakness is an improper initialization leading to a null dereference (CWE‑476).

Affected Systems

Any Linux kernel build that includes the mlx5 driver may be vulnerable. The data does not specify a particular kernel version, so administrators should ensure that the kernel image includes the relevant commit or newer. Based on the description, it is inferred that systems with Intel Ethernet 8000 Series adapters could be at risk, but this inference is not confirmed by the vendor list.

Risk and Exploitability

EPSS data and a CISA KEV listing are not available, so the absolute risk level is uncertain. The crash is triggered when an attacker sets the num_doorbells parameter, which requires access to the kernel’s devlink interface. Based on the description, it is inferred that local or root privileges are required; therefore a privileged attacker could use this flaw to cause a denial of service. Remote exploitation without such privileges is not indicated by the information given.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the commit fixing the num_doorbells handling in the mlx5 driver.
  • If an immediate kernel upgrade is not possible, restrict or remove developer access to the devlink interface for the mlx5 driver so that num_doorbells cannot be set on uninitialized Service‑Functions.
  • Monitor kernel logs for segmentation faults or crashes linked to mlx5 operations and investigate any suspicious attempts to manipulate devlink parameters.

Generated by OpenCVE AI on December 1, 2026 at 08:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Only set num_doorbells on a fully initialized SF The validation for the num_doorbells devlink param rejects values greater than num_channels. For lightweight SFs, this ends up accessing a NULL priv->eq_table, leading to a crash. Fix that by rejecting setting num_doorbells on uninitialized SFs.
Title net/mlx5: Only set num_doorbells on a fully initialized SF
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:31 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM