CVE-2025-21800
HIGH 7.8CVSS 3.1In 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
- Published
- 27 Feb 2025
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.12, < 6.12.13 | 6.12.13 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.13, < 6.13.2 | 6.13.2 |
References
- https://git.kernel.org/stable/c/69c676c0ded472713e6d1b3a456b3c4f52f66f0e · Patch
- https://git.kernel.org/stable/c/92cff996624c4757d5bbace3dfa3f1567ba94143 · Patch
- https://git.kernel.org/stable/c/be482f1d10da781db9445d2753c1e3f1fd82babf · Patch
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 27 Feb 2025)