{"id":"CVE-2026-90435","published":"2026-09-17T16:09:54Z","modified":"2026-10-19T09:03:41Z","title":"RDMA/mlx5: Fix integer overflow of user QP buffer size","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mlx5: Fix integer overflow of user QP buffer size\n\nset_user_buf_size() computes the QP buffer size by left-shifting the\nuser-supplied rq.wqe_cnt and rq.wqe_shift values as signed integers.\nA sufficiently large rq.wqe_cnt causes signed integer overflow, which\nis undefined behavior, and yields a small or negative buf_size, causing\nib_umem_get() to map a buffer smaller than the hardware will actually\nwrite into.\n\nReplace the shifts and addition with check_shl_overflow() and\ncheck_add_overflow(), rejecting invalid user inputs.\n\nMoreover, guard the identical shift computing qp->sq.offset in\n_create_user_qp() before set_user_buf_size() is reached.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00176,"percentile":0.04165,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ccce6b7ef1d7efc59ccba3421e1339c6e63a3d20","tags":[]},{"url":"https://git.kernel.org/stable/c/d99622e40aaa910ade681dfd4dc0fa240a011331","tags":[]},{"url":"https://git.kernel.org/stable/c/c845e5e05140ea1bc64a5b1107942d93c876034d","tags":[]},{"url":"https://git.kernel.org/stable/c/42fb8aefffff5b458aaa66803364a16e0ea44129","tags":[]},{"url":"https://git.kernel.org/stable/c/d7fa2ff72ad1861eac194a4e0075d504ba8c246e","tags":[]},{"url":"https://git.kernel.org/stable/c/5b6cfc6d7ff0959dd9766fdc24286a253b59ca77","tags":[]},{"url":"https://git.kernel.org/stable/c/f917707f0de0832b8ab582391b1f64e549995c6c","tags":[]},{"url":"https://git.kernel.org/stable/c/dec47e4b0fe34afdf38caa72b4408ba95502e5de","tags":[]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":0.83},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < ccce6b7ef1d7efc59ccba3421e1339c6e63a3d20",">= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < d99622e40aaa910ade681dfd4dc0fa240a011331",">= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < c845e5e05140ea1bc64a5b1107942d93c876034d",">= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 42fb8aefffff5b458aaa66803364a16e0ea44129",">= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < d7fa2ff72ad1861eac194a4e0075d504ba8c246e",">= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 5b6cfc6d7ff0959dd9766fdc24286a253b59ca77",">= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < f917707f0de0832b8ab582391b1f64e549995c6c",">= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < dec47e4b0fe34afdf38caa72b4408ba95502e5de"]},{"vendor":"Linux","product":"Linux","versions":["3.11"]}],"euvd":{"id":"EUVD-2026-82096","exploited":false,"provenance":"source"}}