CVE-2023-54168

Source
https://cve.org/CVERecord?id=CVE-2023-54168
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54168.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-54168
Downstream
Related
Published
2025-12-30T12:08:43.394Z
Modified
2026-03-20T12:33:28.877061Z
Summary
RDMA/mlx4: Prevent shift wrapping in set_user_sq_size()
Details

In the Linux kernel, the following vulnerability has been resolved:

RDMA/mlx4: Prevent shift wrapping in setusersq_size()

The ucmd->logsqbbcount variable is controlled by the user so this shift can wrap. Fix it by using checkshloverflow() in the same way that it was done in commit 515f60004ed9 ("RDMA/hns: Prevent undefined behavior in hnsrocesetusersqsize()").

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54168.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
839041329fd3410e07d614f81e75bb43367d8f89
Fixed
3d5ae269c4bd392ec1edbfb3bd031b8f42d7feff
Fixed
8feca625900777e02a449e53fe4121339934c38a
Fixed
9ad3221c86cc9c6305594b742d4a72dfbd4ea579
Fixed
9911be2155720221a4f1f722b22bd0e2388d8bcf
Fixed
3ce0df3493277b9df275cb8455d9c677ae701230
Fixed
196a6df08b08699ace4ce70e1efcdd9081b6565f
Fixed
a183905869e692b6b7805b7472235585eff8e429
Fixed
d50b3c73f1ac20dabc53dc6e9d64ce9c79a331eb

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54168.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.24
Fixed
4.19.283
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.243
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.180
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.111
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.28
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.2.15
Type
ECOSYSTEM
Events
Introduced
6.3.0
Fixed
6.3.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54168.json"