CVE-2025-21800

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

published February 27, 2025

CVSS
—
EPSS
0%
Percentile
11.2
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00214 · 11.2th percentile
Published
2025-02-27T20:00Z
EPSS history
Timeline
  • 27 FEB 20:00Z
    net/mlx5: HWS, fix definer's HWS_SET32 macro for negative offset
    cvelistv5