{"id":"CVE-2023-54168","title":"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","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…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","vendor":"Linux","product":"Linux","affected":["Linux >= 839041329fd3410e07d614f81e75bb43367d8f89 < 3d5ae269c4bd392ec1edbfb3bd031b8f42d7feff","Linux >= 839041329fd3410e07d614f81e75bb43367d8f89 < 8feca625900777e02a449e53fe4121339934c38a","Linux >= 839041329fd3410e07d614f81e75bb43367d8f89 < 9ad3221c86cc9c6305594b742d4a72dfbd4ea579","Linux >= 839041329fd3410e07d614f81e75bb43367d8f89 < 9911be2155720221a4f1f722b22bd0e2388d8bcf","Linux >= 839041329fd3410e07d614f81e75bb43367d8f89 < 3ce0df3493277b9df275cb8455d9c677ae701230","Linux >= 839041329fd3410e07d614f81e75bb43367d8f89 < 196a6df08b08699ace4ce70e1efcdd9081b6565f","Linux >= 839041329fd3410e07d614f81e75bb43367d8f89 < a183905869e692b6b7805b7472235585eff8e429","Linux >= 839041329fd3410e07d614f81e75bb43367d8f89 < d50b3c73f1ac20dabc53dc6e9d64ce9c79a331eb","Linux 2.6.24"],"published":"2025-12-30","updated":"2026-10-15","sourceUpdated":"2026-10-15T22:17:54.120","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2023-54168","references":[{"url":"https://git.kernel.org/stable/c/196a6df08b08699ace4ce70e1efcdd9081b6565f","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/3ce0df3493277b9df275cb8455d9c677ae701230","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/3d5ae269c4bd392ec1edbfb3bd031b8f42d7feff","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8feca625900777e02a449e53fe4121339934c38a","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9911be2155720221a4f1f722b22bd0e2388d8bcf","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9ad3221c86cc9c6305594b742d4a72dfbd4ea579","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a183905869e692b6b7805b7472235585eff8e429","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d50b3c73f1ac20dabc53dc6e9d64ce9c79a331eb","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"tags":["nvd","cve.org"],"epss":0.00155,"epssPercentile":0.04546,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:38:50.339644Z"},"ingestedAt":"2026-10-15T22:48:25.432Z","slug":"CVE-2023-54168","body":"## Overview\n\nIn 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()\").\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}