CVE-2025-22091: Linux kernel RDMA/mlx5 page_size Integer Overflow
- Vendor
- Linux
CVE-2025-22091 is an integer-overflow defect in the Linux kernel RDMA mlx5 driver. Values returned by mlx5_umem_mkc_find_best_pgsz() were stored in unsigned int page_size variables even though the selected page size can exceed the safely representable range. When registering 4 GB of physically contiguous memory, the driver can select a 4 GB mkey entity size; storing that value in an unsigned int wraps it to zero and reaches the WARN_ON() condition in the mlx5_ib alloc_cacheable_mr() function. The correction changes affected page_size storage variables to unsigned long.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A qualifying RDMA memory-registration request can cause the mlx5_ib driver to trigger a kernel WARN_ON() condition in alloc_cacheable_mr(). The available information establishes the warning condition but does not establish further confidentiality, integrity, privilege-escalation, or service-denial consequences.
Mitigation
If you can’t patch tonight, do this now.
Until patched, restrict untrusted users' access to RDMA userspace interfaces and mlx5 RDMA devices, and avoid registration of 4 GB physically contiguous memory regions through the affected RDMA memory-registration path.
Remediation
Patch, then assume compromise.
Apply a Linux kernel update containing the RDMA/mlx5 correction that stores mlx5_umem_mkc_find_best_pgsz() results in unsigned long variables. Red Hat addressed the issue through RHSA-2025:11855 for Red Hat Enterprise Linux 10 and RHSA-2025:11861 for Red Hat Enterprise Linux 9. Reboot after installing an updated kernel so that the fixed kernel is running.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-22091 exploited in the wild?
- As of Nov 5, 2026, Mallory has no reports of CVE-2025-22091 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-22091?
- As of Nov 5, 2026, Mallory has found no public exploit for CVE-2025-22091.
- Is there a patch for CVE-2025-22091?
- Apply a Linux kernel update containing the RDMA/mlx5 correction that stores mlx5_umem_mkc_find_best_pgsz() results in unsigned long variables. Red Hat addressed the issue through RHSA-2025:11855 for Red Hat Enterprise Linux 10 and RHSA-2025:11861 for Red Hat Enterprise Linux 9.
- What products are affected by CVE-2025-22091?
- Linux Kernel.
- How severe is CVE-2025-22091?
- CVE-2025-22091 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.28% (14th percentile) as of Nov 5, 2026.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.