CVE-2025-22091: Linux kernel · RDMA/mlx5: Fix page_size variable overflow
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 29 Oct 2026, 23:35 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix is available that changes the page_size variable type to unsigned long to prevent overflow. Users should apply the official Linux kernel patches that address this issue. Since this is a kernel-level vulnerability, updating to a patched kernel version is the recommended remediation. No alternative mitigations or workarounds are indicated.
Description
CVE-2025-22091 is a vulnerability in the Linux kernel's RDMA mlx5 driver where an integer overflow occurs in the page_size variable. This overflow happens because the variable was originally an unsigned int and could not handle values larger than 31, causing it to wrap to zero when registering large contiguous memory regions (e.g., 4GB). This leads to a kernel warning and potential instability. The issue has been fixed by changing the variable type to unsigned long to properly support larger values.
References
- nvd.nist.gov/vuln/detail/CVE-2025-22091 (opens in a new tab)
- git.kernel.org/stable/c/01fd737776ca0f17a96d83cd7f0840ce130b9a02 (opens in a new tab)
- git.kernel.org/stable/c/05b215d5e219c0228b9c7082ba9bcf176c576646 (opens in a new tab)
- git.kernel.org/stable/c/e0c09f639ca0e102f250df8787740c2013e9d1b3 (opens in a new tab)
- git.kernel.org/stable/c/f0c2427412b43cdf1b7b0944749ea17ddb97d5a5 (opens in a new tab)