CVE-2026-31491
Received Received - Intake

Integer Overflow in Linux Kernel RDMA Depth Calculation Functions

Vulnerability report for CVE-2026-31491, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-04-22

Last updated on: 2026-04-28

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-04-22
Last Modified
2026-04-28
Generated
2026-07-06
AI Q&A
2026-04-22
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 10 associated CPEs
Vendor Product Version / Range
linux linux_kernel 6.18
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel From 6.19 (inc) to 6.19.11 (exc)
linux linux_kernel From 6.18.1 (inc) to 6.18.21 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in the Linux kernel's RDMA/irdma component, specifically in the depth calculation functions for SQ (Send Queue), RQ (Receive Queue), and SRQ (Shared Receive Queue). The issue arises because the operating system can pass the maximum unsigned 32-bit integer value (U32_MAX) as the size for these queues. This causes an integer overflow and truncation during depth calculations, which can incorrectly return success when it should have failed.

The vulnerability was addressed by hardening the depth calculation functions to perform all calculations and boundary checks using 64-bit unsigned integers (u64), preventing overflow and ensuring proper validation.

Impact Analysis

This vulnerability can lead to incorrect handling of queue sizes in the RDMA/irdma subsystem of the Linux kernel. Because of the integer overflow, the system might accept invalid queue sizes, potentially causing unexpected behavior or instability in the kernel's RDMA operations.

While the exact impact is not detailed, such issues could lead to denial of service or other reliability problems in systems relying on RDMA functionality.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-31491. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart