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.
https://git.kernel.org/stable/c/fa503935c2d6603856dafff0a0852631ab6e9503
https://git.kernel.org/stable/c/3338ecb532c27af28c7c41eaaab4b0b7795f6a0f
https://git.kernel.org/stable/c/2dbe2d06ec09a8cc06186cc052217f666f45e9d1