CVE-2026-31491

RDMA/irdma: Harden depth calculation functions

Published Apr 22, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

RDMA/irdma: Harden depth calculation functions

An issue was exposed where OS can pass in U32_MAX for SQ/RQ/SRQ size.
This can cause integer overflow and truncation of SQ/RQ/SRQ depth
returning a success when it should have failed.

Harden the functions to do all depth calculations and boundary
checking in u64 sizes.

Analysis

AI-generated

Technical impact

The Linux kernel’s RDMA/irdma module performs queue depth calculations using 32‑bit arithmetic. When a user supplies the maximum 32‑bit unsigned value (U32_MAX) for send, receive, or shared receive queues, the computation overflows, truncating the depth and allowing the kernel to report success even though the allocation should have failed. The result is an inaccurate queue depth that can cause resource exhaustion or kernel instability, potentially leading to a denial of service.

Affected Systems

All Linux kernel builds that include the RDMA/irdma module and have not yet applied the hardening change are affected. No specific kernel version range is listed, so any RDMA/irdma‑enabled kernel revision released before the patch may be vulnerable. The vendor is Linux and the product is the Linux kernel.

Risk and Exploitability

An attacker must supply an RDMA request with an oversized depth value to trigger the overflow. The likely attack vector is local or from an RDMA application with elevated privileges, as the vulnerability requires an RDMA operation in kernel space; it is inferred that a network‑based vector is not supported by the description. The EPSS score of less than 1 % and the lack of inclusion in CISA’s KEV catalog imply a low probability of exploitation in the wild. Based on the CVSS score of 5.5, the vulnerability can cause moderate impact if exploited, but the overall risk is considered low unless the attacker has RDMA access.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the RDMA/irdma depth calculation hardening patch
  • Recompile the kernel with RDMA support disabled (CONFIG_RDMA set to n) if the patch is not yet available
  • If RDMA must remain enabled, limit RDMA operations to trusted users and monitor kernel logs for abnormal queue depth errors

Generated by OpenCVE AI on April 28, 2026 at 15:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:o:linux:linux_kernel:6.18:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*
Type Values Removed Values Added
Weaknesses CWE-190
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: Harden depth calculation functions An issue was exposed where OS can pass in U32_MAX for SQ/RQ/SRQ size. This can cause integer overflow and truncation of SQ/RQ/SRQ depth returning a success when it should have failed. Harden the functions to do all depth calculations and boundary checking in u64 sizes.
Title RDMA/irdma: Harden depth calculation functions
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 5, 2026, 9:45 PM
Reserved
Mar 9, 2026, 3:48 PM
Status
Analyzed
Published
Apr 22, 2026, 2:16 PM
Modified
Nov 11, 2026, 11:10 PM
Severity
Low
Public date
Apr 22, 2026, 12:00 AM