{"id":"CVE-2023-54168","aliases":["CVE-2023-54168"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/mlx4: Prevent shift wrapping in set_user_sq_size()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mlx4: Prevent shift wrapping in set_user_sq_size()\n\nThe ucmd->log_sq_bb_count variable is controlled by the user so this\nshift can wrap.  Fix it by using check_shl_overflow() in the same way\nthat it was done in commit 515f60004ed9 (\"RDMA/hns: Prevent undefined\nbehavior in hns_roce_set_user_sq_size()\").","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mlx4: Prevent shift wrapping in set_user_sq_size()\n\nThe ucmd->log_sq_bb_count variable is controlled by the user so this\nshift can wrap.  Fix it by using check_shl_overflow() in the same way\nthat it was done in commit 515f60004ed9 (\"RDMA/hns: Prevent undefined\nbehavior in hns_roce_set_user_sq_size()\").","source":"cvelist"}],"published":"2025-12-30T12:08:43.394Z","modified":"2026-10-15T22:17:54.120Z","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":"839041329fd3410e07d614f81e75bb43367d8f89","fixed":"3d5ae269c4bd392ec1edbfb3bd031b8f42d7feff","status":"affected"},{"type":"git","introduced":"839041329fd3410e07d614f81e75bb43367d8f89","fixed":"8feca625900777e02a449e53fe4121339934c38a","status":"affected"},{"type":"git","introduced":"839041329fd3410e07d614f81e75bb43367d8f89","fixed":"9ad3221c86cc9c6305594b742d4a72dfbd4ea579","status":"affected"},{"type":"git","introduced":"839041329fd3410e07d614f81e75bb43367d8f89","fixed":"9911be2155720221a4f1f722b22bd0e2388d8bcf","status":"affected"},{"type":"git","introduced":"839041329fd3410e07d614f81e75bb43367d8f89","fixed":"3ce0df3493277b9df275cb8455d9c677ae701230","status":"affected"},{"type":"git","introduced":"839041329fd3410e07d614f81e75bb43367d8f89","fixed":"196a6df08b08699ace4ce70e1efcdd9081b6565f","status":"affected"},{"type":"git","introduced":"839041329fd3410e07d614f81e75bb43367d8f89","fixed":"a183905869e692b6b7805b7472235585eff8e429","status":"affected"},{"type":"git","introduced":"839041329fd3410e07d614f81e75bb43367d8f89","fixed":"d50b3c73f1ac20dabc53dc6e9d64ce9c79a331eb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.24","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.24","status":"unaffected"},{"type":"semver","introduced":"4.19.283","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.243","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.180","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.111","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.28","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.15","lastAffected":"6.2.*","status":"unaffected"},{"type":"semver","introduced":"6.3.2","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","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/3d5ae269c4bd392ec1edbfb3bd031b8f42d7feff","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8feca625900777e02a449e53fe4121339934c38a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9ad3221c86cc9c6305594b742d4a72dfbd4ea579","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9911be2155720221a4f1f722b22bd0e2388d8bcf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ce0df3493277b9df275cb8455d9c677ae701230","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/196a6df08b08699ace4ce70e1efcdd9081b6565f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a183905869e692b6b7805b7472235585eff8e429","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d50b3c73f1ac20dabc53dc6e9d64ce9c79a331eb","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:38:50.339Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54168","url":"https://www.cve.org/CVERecord?id=CVE-2023-54168","licence":"CVE Terms of Use","modified":"2026-10-15T21:41:40.726Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54168","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54168","licence":"Public domain","modified":"2026-10-15T22:17:54.120Z"}],"updatedAt":"2026-11-25T22:58:35.204Z","epss":{"score":0.00166,"percentile":0.06105,"date":"2026-12-01T12:00:22.000Z"}}