CVE-2025-21800

net/mlx5: HWS, fix definer's HWS_SET32 macro for negative offset

State
Published
Severity
Not scored
Published
Feb 27, 2025
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5: HWS, fix definer's HWS_SET32 macro for negative offset

When bit offset for HWS_SET32 macro is negative, UBSAN complains about the shift-out-of-bounds:

UBSAN: shift-out-of-bounds in drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:177:2 shift exponent -8 is negative

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 74a778b4a63faef9ff02aad0d332b209835f93e1 to before 92cff996624c4757d5bbace3dfa3f1567ba94143Affected
  • 74a778b4a63faef9ff02aad0d332b209835f93e1 to before 69c676c0ded472713e6d1b3a456b3c4f52f66f0eAffected
  • 74a778b4a63faef9ff02aad0d332b209835f93e1 to before be482f1d10da781db9445d2753c1e3f1fd82babfAffected
LinuxLinux
  • 6.12Affected
  • before 6.12Not affected
  • 6.12.13 through 6.12.*Not affected
  • 6.13.2 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.