RDMA/mlx4: Prevent shift wrapping in set_user_sq_size() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.15 % · percentile 5 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Deferred
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx4: Prevent shift wrapping in set_user_sq_size() The ucmd->log_sq_bb_count variable is controlled by the user so this shift can wrap. Fix it by using check_shl_overflow() in the same way that it was done in commit 515f60004ed9 ("RDMA/hns: Prevent undefined behavior in hns_roce_set_user_sq_size()").
References
- https://git.kernel.org/stable/c/3d5ae269c4bd392ec1edbfb3bd031b8f42d7feff
- https://git.kernel.org/stable/c/8feca625900777e02a449e53fe4121339934c38a
- https://git.kernel.org/stable/c/9ad3221c86cc9c6305594b742d4a72dfbd4ea579
- https://git.kernel.org/stable/c/9911be2155720221a4f1f722b22bd0e2388d8bcf
- https://git.kernel.org/stable/c/3ce0df3493277b9df275cb8455d9c677ae701230
- https://git.kernel.org/stable/c/196a6df08b08699ace4ce70e1efcdd9081b6565f
- https://git.kernel.org/stable/c/a183905869e692b6b7805b7472235585eff8e429
- https://git.kernel.org/stable/c/d50b3c73f1ac20dabc53dc6e9d64ce9c79a331eb
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-2023-60473
- GCVE · GCVE-0-2023-54168
CERT-FR advisories
- CERTFR-2026-AVI-0225 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0170 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0128 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0108 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 839041329fd3410e07d614f81e75bb43367d8f89 < 3d5ae269c4bd392ec1edbfb3bd031b8f42d7feff ; affected 839041329fd3410e07d614f81e75bb43367d8f89 < 8feca625900777e02a449e53fe4121339934c38a ; affected 839041329fd3410e07d614f81e75bb43367d8f89 < 9ad3221c86cc9c6305594b742d4a72dfbd4ea579 ; affected 839041329fd3410e07d614f81e75bb43367d8f89 < 9911be2155720221a4f1f722b22bd0e2388d8bcf ; affected 839041329fd3410e07d614f81e75bb43367d8f89 < 3ce0df3493277b9df275cb8455d9c677ae701230 ; affected 839041329fd3410e07d614f81e75bb43367d8f89 < 196a6df08b08699ace4ce70e1efcdd9081b6565f |
| Linux · Linux | affected 2.6.24 ; unaffected 0 < 2.6.24 ; unaffected 4.19.283 ≤ 4.19.* ; unaffected 5.4.243 ≤ 5.4.* ; unaffected 5.10.180 ≤ 5.10.* ; unaffected 5.15.111 ≤ 5.15.* |
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 |