CVE-2025-21800
kernel: net/mlx5: HWS, fix definer's HWS_SET32 macro for negative offset
Loading…
Severity
UnknownRed Hat Product Security
CVSS
Review impact separately from score.
Published · February 27, 2025
Updated · June 30, 2026
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
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CWE not specified