{"id":"CVE-2026-90435","aliases":["CVE-2026-90435"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/mlx5: Fix integer overflow of user QP buffer size","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-17T16:09:54.399Z","modified":"2026-10-19T09:19:37.810Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"ccce6b7ef1d7efc59ccba3421e1339c6e63a3d20","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"d99622e40aaa910ade681dfd4dc0fa240a011331","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"c845e5e05140ea1bc64a5b1107942d93c876034d","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"42fb8aefffff5b458aaa66803364a16e0ea44129","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"d7fa2ff72ad1861eac194a4e0075d504ba8c246e","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"5b6cfc6d7ff0959dd9766fdc24286a253b59ca77","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"f917707f0de0832b8ab582391b1f64e549995c6c","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"dec47e4b0fe34afdf38caa72b4408ba95502e5de","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.11","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ccce6b7ef1d7efc59ccba3421e1339c6e63a3d20","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d99622e40aaa910ade681dfd4dc0fa240a011331","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c845e5e05140ea1bc64a5b1107942d93c876034d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/42fb8aefffff5b458aaa66803364a16e0ea44129","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d7fa2ff72ad1861eac194a4e0075d504ba8c246e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5b6cfc6d7ff0959dd9766fdc24286a253b59ca77","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f917707f0de0832b8ab582391b1f64e549995c6c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dec47e4b0fe34afdf38caa72b4408ba95502e5de","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90435","url":"https://www.cve.org/CVERecord?id=CVE-2026-90435","licence":"CVE Terms of Use","modified":"2026-10-19T09:03:41.405Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90435","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90435","licence":"Public domain","modified":"2026-10-19T09:19:37.810Z"}],"updatedAt":"2026-11-25T22:59:39.416Z","epss":{"score":0.00129,"percentile":0.02769,"date":"2026-12-01T12:00:22.000Z"}}