# CVE-2025-38039: net/mlx5e: Avoid WARN_ON when configuring MQPRIO with HTB offload enabled

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-06-18T09:33:25.111Z
- Modified: 2026-11-05T21:18:06.053Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 214baf22870cfa437522f3bd4fbae56338674b04 before 090c0ba179eaf7b670e720aa054533756a43d565; from 214baf22870cfa437522f3bd4fbae56338674b04 before b82e496531c571caf8a2ef247f51c160bab2162e; from 214baf22870cfa437522f3bd4fbae56338674b04 before 9e2bac6835f73895598df5a3a125a19497fad46b; from 214baf22870cfa437522f3bd4fbae56338674b04 before 689805dcc474c2accb5cffbbcea1c06ee4a54570; 5.12 (not affected: before 5.12; from 6.6.93 up to 6.6.*; from 6.12.31 up to 6.12.*; from 6.14.9 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: before 6.6.93; from 6.7 before 6.12.31; from 6.13 before 6.14.9

## References

- <https://git.kernel.org/stable/c/090c0ba179eaf7b670e720aa054533756a43d565> (patch)
- <https://git.kernel.org/stable/c/b82e496531c571caf8a2ef247f51c160bab2162e> (patch)
- <https://git.kernel.org/stable/c/9e2bac6835f73895598df5a3a125a19497fad46b> (patch)
- <https://git.kernel.org/stable/c/689805dcc474c2accb5cffbbcea1c06ee4a54570> (patch)

## Sources

- CVE List: [CVE-2025-38039](https://www.cve.org/CVERecord?id=CVE-2025-38039), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38039](https://nvd.nist.gov/vuln/detail/CVE-2025-38039), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38039 · Whole record: https://cve.day/CVE-2025-38039.json · Rebuilt by cve.day 2026-11-25T22:58:59.352Z
