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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-04-22T13:54:14.905Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 563e1feb5f6ed579acb55850f1bbb831aecf645a before 3f08351de5ca4f2f724b86ad252fbc21289467e1; from 563e1feb5f6ed579acb55850f1bbb831aecf645a before cbd852f5700eb3f64392452faf693ac45cae8281; from 563e1feb5f6ed579acb55850f1bbb831aecf645a before e37afcb56ae070477741fe2d6e61fc0c542cce2d; 6.18 (not affected: before 6.18; from 6.18.21 up to 6.18.*; from 6.19.11 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.18.1 before 6.18.21; from 6.19 before 6.19.11; 6.18; 7.0

## References

- <https://git.kernel.org/stable/c/3f08351de5ca4f2f724b86ad252fbc21289467e1> (patch)
- <https://git.kernel.org/stable/c/cbd852f5700eb3f64392452faf693ac45cae8281> (patch)
- <https://git.kernel.org/stable/c/e37afcb56ae070477741fe2d6e61fc0c542cce2d> (patch)

## Sources

- CVE List: [CVE-2026-31491](https://www.cve.org/CVERecord?id=CVE-2026-31491), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-31491](https://nvd.nist.gov/vuln/detail/CVE-2026-31491), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31491 · Whole record: https://cve.day/CVE-2026-31491.json · Rebuilt by cve.day 2026-11-25T22:59:19.291Z
