7.8

CVE-2025-21800: net/mlx5: HWS, fix definer's HWS_SET32 macro for negative offset

Analyzed
AliasesUBUNTU-CVE-2025-21800DEBIAN-CVE-2025-21800
Published 27-02-2025Last modified 11-05-2026

Vulnerability summary

CVE-2025-21800 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.21%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 27-02-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

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

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.21%

Chance of exploitation in the next 30 days

Percentile

12%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.21% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu77 products
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
  • linux-aws-5.13All versions (No fix recorded)
  • linux-aws-5.19All versions (No fix recorded)
Linux2 products
  • linux≥ 74a778b4a63faef9ff02aad0d332b209835f93e1, < 92cff996624c4757d5bbace3dfa3f1567ba94143 | ≥ 74a778b4a63faef9ff02aad0d332b209835f93e1, < 69c676c0ded472713e6d1b3a456b3c4f52f66f0e | ≥ 74a778b4a63faef9ff02aad0d332b209835f93e1, < be482f1d10da781db9445d2753c1e3f1fd82babf | 6.12
  • linux_kernel≥ 6.12, < 6.12.13 | ≥ 6.13, < 6.13.2
Debian1 product
  • linux< 6.12.13-1

3 vendors · 80 products

References

7 links