net/mlx5e: Avoid WARN_ON when configuring MQPRIO with HTB offload enabled
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5e: Avoid WARN_ON when configuring MQPRIO with HTB offload enabled
When attempting to enable MQPRIO while HTB offload is already configured, the driver currently returns `-EINVAL` and triggers a `WARN_ON`, leading to an unnecessary call trace.
Update the code to handle this case more gracefully by returning `-EOPNOTSUPP` instead, while also providing a helpful user message.
From the CVE record · Linux
The Linux kernel net/mlx5e driver triggers a WARN_ON and an unnecessary call trace when MQPRIO is enabled while HTB offload is already configured. The input does not describe a network attack, authentication requirements, or user interaction beyond attempting this configuration.
Engineers running Linux kernels with the net/mlx5e driver should check their deployments; affected versions are not specified.