{"id":"CVE-2026-31491","summary":"RDMA/irdma: Harden depth calculation functions","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/irdma: Harden depth calculation functions\n\nAn issue was exposed where OS can pass in U32_MAX for SQ/RQ/SRQ size.\nThis can cause integer overflow and truncation of SQ/RQ/SRQ depth\nreturning a success when it should have failed.\n\nHarden the functions to do all depth calculations and boundary\nchecking in u64 sizes.","modified":"2026-07-08T08:06:21.574129314Z","published":"2026-04-22T13:54:14.905Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31491.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3f08351de5ca4f2f724b86ad252fbc21289467e1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cbd852f5700eb3f64392452faf693ac45cae8281"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e37afcb56ae070477741fe2d6e61fc0c542cce2d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31491.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31491"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.7.5"}