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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux11bbcfb7668c6f4d97260f7caaefea22678bc31e to before 3338ecb532c27af28c7c41eaaab4b0b7795f6a0f Affected11bbcfb7668c6f4d97260f7caaefea22678bc31e to before 2dbe2d06ec09a8cc06186cc052217f666f45e9d1 Affected11bbcfb7668c6f4d97260f7caaefea22678bc31e to before fa503935c2d6603856dafff0a0852631ab6e9503 Affected
Linux Linux6.18 Affectedbefore 6.18 Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.