← CVE Intelligence

CVE-2025-38039

net/mlx5e: Avoid WARN_ON when configuring MQPRIO with HTB offload enabled PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 214baf22870cfa437522f3bd4fbae56338674b04 before 090c0ba179eaf7b670e720aa054533756a43d565; affected 214baf22870cfa437522f3bd4fbae56338674b04 before b82e496531c571caf8a2ef247f51c160bab2162e; affected 214baf22870cfa437522f3bd4fbae56338674b04 before 9e2bac6835f73895598df5a3a125a19497fad46b; affected 214baf22870cfa437522f3bd4fbae56338674b04 before 689805dcc474c2accb5cffbbcea1c06ee4a54570
Linux / Linuxaffected 5.12; unaffected 0 before 5.12; unaffected 6.6.93 through 6.6.*; unaffected 6.12.31 through 6.12.*; unaffected 6.14.9 through 6.14.*; unaffected 6.15 through *

CWE

No CWE identifiers supplied.

References