RDMA/mlx5: Fix undefined shift of user RQ WQE size (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.18 % · percentile 7 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Fix undefined shift of user RQ WQE size set_rq_size() computes the RQ WQE size as "1 << rq_wqe_shift" based on the user-provided rq_wqe_shift, which is only checked to be greater than 32, so shifts of 32 are still accepted. A shift of 31 also overflows a signed integer, leading to undefined behavior. Use check_shl_overflow() to compute the RQ WQE size and reject any invalid values.
References
- https://git.kernel.org/stable/c/9fff54929cc00849d738faa99f06c32399aeb026
- https://git.kernel.org/stable/c/b746f949c2ac2b041102836095d6d4a2ef21fa75
- https://git.kernel.org/stable/c/c1dbf52d24a8cb1aa56780ba51b72e7d495f258c
- https://git.kernel.org/stable/c/6fc874fdfb366bfb11c62e6af9a831c8be59ddda
- https://git.kernel.org/stable/c/42f3d2c8c18b92ea33e506a38b64f1a8986c2823
- https://git.kernel.org/stable/c/4b87a2497276a72fd63028e7419abf0fb7ed837b
- https://git.kernel.org/stable/c/b732db02a2b04cde393638df19de6251ce62a74e
- https://git.kernel.org/stable/c/d881d60223aac8fdc12b227d89c76e131e92a9cd
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-59444
- GCVE · GCVE-0-2026-74297
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1255 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1231 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1202 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1164 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c < 9fff54929cc00849d738faa99f06c32399aeb026 ; affected e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c < b746f949c2ac2b041102836095d6d4a2ef21fa75 ; affected e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c < c1dbf52d24a8cb1aa56780ba51b72e7d495f258c ; affected e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c < 6fc874fdfb366bfb11c62e6af9a831c8be59ddda ; affected e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c < 42f3d2c8c18b92ea33e506a38b64f1a8986c2823 ; affected e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c < 4b87a2497276a72fd63028e7419abf0fb7ed837b |
| Linux · Linux | affected 3.11 ; unaffected 0 < 3.11 ; unaffected 5.10.261 ≤ 5.10.* ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |