CVE-2025-21800
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 74a778b4a63faef9ff02aad0d332b209835f93e1 before 92cff996624c4757d5bbace3dfa3f1567ba94143, from 74a778b4a63faef9ff02aad0d332b209835f93e1 before 69c676c0ded472713e6d1b3a456b3c4f52f66f0e, from 74a778b4a63faef9ff02aad0d332b209835f93e1 before be482f1d10da781db9445d2753c1e3f1fd82babf, 6.12
Not affected: before 6.12, from 6.12.13 up to 6.12.*, from 6.13.2 up to 6.13.*, from 6.14 up to *
CVE List
linux linux_kernelfrom 6.12 before 6.12.13, from 6.13 before 6.13.2NVD

What each source says

CVE List

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

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net/mlx5: HWS, corrige la macro HWS_SET32 del definidor para desplazamiento negativo Cuando el desplazamiento de bits para la macro HWS_SET32 es negativo, UBSAN se queja del desplazamiento fuera de los límites: UBSAN: desplazamiento fuera de los límites en drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:177:2 el exponente de desplazamiento -8 es negativo

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21800 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-21800 changed 2026-06-17Public domain