CVE-2025-21800

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-21800
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21800.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21800
Downstream
Related
Published
2025-02-27T20:16:02Z
Modified
2025-08-09T20:01:25Z
Summary
[none]
Details

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

References

Affected packages