CVE-2026-31491 RDMA/irdma: Harden depth calculation functions

Medium 5.5 Published Updated

Integer overflow in Linux kernel RDMA driver allows incorrect depth calculations, potentially leading to undefined behavior or resource mismanagement.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-31491?

CVE-2026-31491 is a medium-severity vulnerability in Linux kernel, published on 22 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-190

Which versions are affected by CVE-2026-31491?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-31491?

Apply the vendor's patch.

Is CVE-2026-31491 being exploited?

There is no known exploitation of CVE-2026-31491 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-31491, DEBIAN-CVE-2026-31491, GHSA-p9j3-q86p-m6qq, UBUNTU-CVE-2026-31491.

Is CVE-2026-31491 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free