CVE-2025-21800
published 2025-02-27CVE-2025-21800: 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…
PriorityP337high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.21%
11.4th percentile
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
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.12.13-1 (forky) | linux 6.12.13-1 (forky) |
| linux | linux | — | — |
| linux | linux | >= 74a778b4a63faef9ff02aad0d332b209835f93e1 < 92cff996624c4757d5bbace3dfa3f1567ba94143 | 92cff996624c4757d5bbace3dfa3f1567ba94143 |
| linux | linux | >= 74a778b4a63faef9ff02aad0d332b209835f93e1 < 69c676c0ded472713e6d1b3a456b3c4f52f66f0e | 69c676c0ded472713e6d1b3a456b3c4f52f66f0e |
| linux | linux | >= 74a778b4a63faef9ff02aad0d332b209835f93e1 < be482f1d10da781db9445d2753c1e3f1fd82babf | be482f1d10da781db9445d2753c1e3f1fd82babf |
| linux | linux_kernel | >= 0 < 6.12.13-1 | 6.12.13-1 |
| linux | linux_kernel | >= 0 < 6.12.13-1 | 6.12.13-1 |
| linux | linux_kernel | >= 6.12 < 6.12.13 | 6.12.13 |
| linux | linux_kernel | >= 6.13 < 6.13.2 | 6.13.2 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8LOW
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2025-21800: 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 f
osv·2025-02-27·CVSS 7.8
CVE-2025-21800 [HIGH] CVE-2025-21800: 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 f
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
GHSA
GHSA-5r9q-cj6r-c6jj: 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
ghsa_unreviewed·2025-02-27
CVE-2025-21800 [HIGH] GHSA-5r9q-cj6r-c6jj: 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
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
Red Hat
kernel: net/mlx5: HWS, fix definer's HWS_SET32 macro for negative offset
vendor_redhat·2025-02-27·CVSS 7.8
CVE-2025-21800 [HIGH] kernel: net/mlx5: HWS, fix definer's HWS_SET32 macro for negative offset
kernel: net/mlx5: HWS, fix definer's HWS_SET32 macro for negative offset
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
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enterprise Linux 8) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 8) - Not affe
Debian
CVE-2025-21800: linux - In the Linux kernel, the following vulnerability has been resolved: net/mlx5: H...
vendor_debian·2025·CVSS 7.8
CVE-2025-21800 [HIGH] CVE-2025-21800: linux - In the Linux kernel, the following vulnerability has been resolved: net/mlx5: H...
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
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved (fixed in 6.12.13-1)
sid: resolved (fixed in 6.12.13-1)
trixie: resolved (fixed in 6.12.13-1)
No detection rules found.
No public exploits indexed.
2025-02-27
Published