---
id: CVE-2025-38039
title: 'net/mlx5e: Avoid WARN_ON when configuring MQPRIO with HTB offload enabled'
summary: |-
  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 currentl…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 214baf22870cfa437522f3bd4fbae56338674b04 <
    090c0ba179eaf7b670e720aa054533756a43d565
  - >-
    Linux >= 214baf22870cfa437522f3bd4fbae56338674b04 <
    b82e496531c571caf8a2ef247f51c160bab2162e
  - >-
    Linux >= 214baf22870cfa437522f3bd4fbae56338674b04 <
    9e2bac6835f73895598df5a3a125a19497fad46b
  - >-
    Linux >= 214baf22870cfa437522f3bd4fbae56338674b04 <
    689805dcc474c2accb5cffbbcea1c06ee4a54570
  - Linux 5.12
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:48:30.192408Z'
published: '2025-06-18'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:52:13.286Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-38039'
references:
  - url: 'https://git.kernel.org/stable/c/090c0ba179eaf7b670e720aa054533756a43d565'
  - url: 'https://git.kernel.org/stable/c/b82e496531c571caf8a2ef247f51c160bab2162e'
  - url: 'https://git.kernel.org/stable/c/9e2bac6835f73895598df5a3a125a19497fad46b'
  - url: 'https://git.kernel.org/stable/c/689805dcc474c2accb5cffbbcea1c06ee4a54570'
tags:
  - cve.org
epss: 0.00193
epssPercentile: 0.0904
ingestedAt: '2026-11-05T22:38:31.910Z'
---

## Overview

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.

## Affected

- `Linux >= 214baf22870cfa437522f3bd4fbae56338674b04 < 090c0ba179eaf7b670e720aa054533756a43d565`
- `Linux >= 214baf22870cfa437522f3bd4fbae56338674b04 < b82e496531c571caf8a2ef247f51c160bab2162e`
- `Linux >= 214baf22870cfa437522f3bd4fbae56338674b04 < 9e2bac6835f73895598df5a3a125a19497fad46b`
- `Linux >= 214baf22870cfa437522f3bd4fbae56338674b04 < 689805dcc474c2accb5cffbbcea1c06ee4a54570`
- `Linux 5.12`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
