CVE-2025-21800 Details
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
A vulnerability in the Linux kernel's net/mlx5 component related to the HWS_SET32 macro has been addressed. The issue arose when the bit offset for the macro was negative, leading to a shift-out-of-bounds error. This was detected by Undefined Behavior Sanitizer (UBSAN), which reported the shift-out-of-bounds condition in the HWS definer file.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/69c676c0ded472713e6d1b3a456b3c4f52f66f0e | kernel.org | Patch |
| https://git.kernel.org/stable/c/92cff996624c4757d5bbace3dfa3f1567ba94143 | kernel.org | Patch |
| https://git.kernel.org/stable/c/be482f1d10da781db9445d2753c1e3f1fd82babf | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.12, < 6.12.13 >= 6.13, < 6.13.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 29, 2025 | Initial Analysis | [email protected] |
| Feb 27, 2025 | New CVE Received | kernel.org |