What’s Vulnerable › Vulnerabilities

CVE-2025-21800: net/mlx5: HWS, fix definer's HWS_SET32 macro for negative offset

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

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.13, 6.13.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21800 or the next vulnerability affects your stack