CVE-2025-21882Published Mar 27, 2025 · Mar 27Updated Oct 28
net/mlx5: Fix vport QoS cleanup on error
Linux
High7.8Fix available
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/mlx5: Fix vport QoS cleanup on error
When enabling vport QoS fails, the scheduling node was never freed, causing a leak.
Add the missing free and reset the vport scheduling node pointer to NULL.
From the CVE record · Linux
The Linux kernel's net/mlx5 driver leaks a scheduling node when enabling vport QoS fails. The input does not specify how an attacker could trigger the failure, whether access or user interaction is required, or what impact the leak could have beyond resource consumption.
Teams running Linux kernels with the net/mlx5 driver should check their exposure; affected versions are not specified.