CVE-2025-21882

net/mlx5: Fix vport QoS cleanup on error

State
Published
Severity
7.8 High
Published
Mar 27, 2025
Updated
Aug 5, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • be034baba83e2a80a0b2c0f24c08547b6eedc79a to before fead368502bce0e10bea7c0d2895b2fa0c6c10aaAffected
  • be034baba83e2a80a0b2c0f24c08547b6eedc79a to before 7f3528f7d2f98b70e19a6bb7b130fc82c079ac54Affected
LinuxLinux
  • 6.13Affected
  • before 6.13Not affected
  • 6.13.6 through 6.13.*Not affected
  • 6.14 and laterNot affected

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.