CVE-2025-21800
net/mlx5: HWS, fix definer's HWS_SET32 macro for negative offset
Reported by linux · Published February 27, 2025
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
EPSS 0.21% · 11.8th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | be482f1d10da781db9445d2753c1e3f1fd82babf, 92cff996624c4757d5bbace3dfa3f1567ba94143, 69c676c0ded472713e6d1b3a456b3c4f52f66f0e, 6.12 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 74a778b4a63faef9ff02aad0d332b209835f93e1, 74a778b4a63faef9ff02aad0d332b209835f93e1, 74a778b4a63faef9ff02aad0d332b209835f93e1 |
| Linux | Linux | 6.12, 0, 6.12.13 |
| Linux | Linux | 0, 6.12.13, 6.13.2 |
| linux | linux_kernel | 6.12, 6.12, 6.12 |
Timeline
- Feb 27, 2025 CVE Published
- Feb 28, 2025 EPSS Score (30 in total, the first dated here)
- Mar 22, 2025 Coalition ESS Score (8 in total, the first dated here)
- Dec 22, 2025 Security Advisory (65 in total, the first dated here)
- Oct 7, 2026 CVE Updated
- Oct 9, 2026 Distribution Patch (62 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-21800
vulnetix vdb fixes CVE-2025-21800
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21800/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart