---
id: CVE-2025-21882
title: |-
  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 …
summary: |-
  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 …
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-401
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 6.13, < 6.13.6'
  - linux_kernel = 6.14
patched:
  - linux_kernel 6.13.6
published: '2025-03-27'
updated: '2026-07-30'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-21882'
references:
  - url: 'https://git.kernel.org/stable/c/7f3528f7d2f98b70e19a6bb7b130fc82c079ac54'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/fead368502bce0e10bea7c0d2895b2fa0c6c10aa'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00181
epssPercentile: 0.06803
ingestedAt: '2026-07-30T06:53:10.675Z'
---

## Overview

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.

## Affected

- `linux_kernel >= 6.13, < 6.13.6`
- `linux_kernel = 6.14`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.13.6`
