{"id":"CVE-2026-74297","aliases":["CVE-2026-74297"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/mlx5: Fix undefined shift of user RQ WQE size","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mlx5: Fix undefined shift of user RQ WQE size\n\nset_rq_size() computes the RQ WQE size as \"1 << rq_wqe_shift\" based on\nthe user-provided rq_wqe_shift, which is only checked to be greater than\n32, so shifts of 32 are still accepted. A shift of 31 also overflows a\nsigned integer, leading to undefined behavior.\n\nUse check_shl_overflow() to compute the RQ WQE size and reject any\ninvalid values.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mlx5: Fix undefined shift of user RQ WQE size\n\nset_rq_size() computes the RQ WQE size as \"1 << rq_wqe_shift\" based on\nthe user-provided rq_wqe_shift, which is only checked to be greater than\n32, so shifts of 32 are still accepted. A shift of 31 also overflows a\nsigned integer, leading to undefined behavior.\n\nUse check_shl_overflow() to compute the RQ WQE size and reject any\ninvalid values.","source":"cvelist"}],"published":"2026-08-15T05:58:01.414Z","modified":"2026-10-16T19:17:37.710Z","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":"9fff54929cc00849d738faa99f06c32399aeb026","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"b746f949c2ac2b041102836095d6d4a2ef21fa75","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"c1dbf52d24a8cb1aa56780ba51b72e7d495f258c","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"6fc874fdfb366bfb11c62e6af9a831c8be59ddda","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"42f3d2c8c18b92ea33e506a38b64f1a8986c2823","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"4b87a2497276a72fd63028e7419abf0fb7ed837b","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"b732db02a2b04cde393638df19de6251ce62a74e","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"d881d60223aac8fdc12b227d89c76e131e92a9cd","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.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","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/9fff54929cc00849d738faa99f06c32399aeb026","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b746f949c2ac2b041102836095d6d4a2ef21fa75","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c1dbf52d24a8cb1aa56780ba51b72e7d495f258c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6fc874fdfb366bfb11c62e6af9a831c8be59ddda","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/42f3d2c8c18b92ea33e506a38b64f1a8986c2823","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4b87a2497276a72fd63028e7419abf0fb7ed837b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b732db02a2b04cde393638df19de6251ce62a74e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d881d60223aac8fdc12b227d89c76e131e92a9cd","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T18:52:40.390Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74297","url":"https://www.cve.org/CVERecord?id=CVE-2026-74297","licence":"CVE Terms of Use","modified":"2026-10-16T18:55:31.425Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74297","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74297","licence":"Public domain","modified":"2026-10-16T19:17:37.710Z"}],"updatedAt":"2026-11-25T22:59:33.161Z","epss":{"score":0.00129,"percentile":0.02768,"date":"2026-12-01T12:00:22.000Z"}}