CVE-2026-31491

Source
https://cve.org/CVERecord?id=CVE-2026-31491
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31491.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-31491
Downstream
Published
2026-04-22T13:54:14.905Z
Modified
2026-07-08T08:06:21.574129314Z
Summary
RDMA/irdma: Harden depth calculation functions
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31491.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
563e1feb5f6ed579acb55850f1bbb831aecf645a
Fixed
3f08351de5ca4f2f724b86ad252fbc21289467e1
Fixed
cbd852f5700eb3f64392452faf693ac45cae8281
Fixed
e37afcb56ae070477741fe2d6e61fc0c542cce2d

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31491.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.18.0
Fixed
6.18.21
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.11

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31491.json"