CVE-2023-54168

RDMA/mlx4: Prevent shift wrapping in set_user_sq_size()

HIGH
7.8
CVSS Score
Published: December 30, 2025 at 12:08 PM UTC
Updated: October 15, 2026 at 10:17 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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()").

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.24839041329fd3410e07d614f81e75bb43367d8f89
Vendor states this is fixed in 196a6df08b08699ace4ce70e1efcdd9081b6565f (fixed)
Vendor states this is fixed in 3ce0df3493277b9df275cb8455d9c677ae701230 (fixed)
Vendor states this is fixed in 3d5ae269c4bd392ec1edbfb3bd031b8f42d7feff (fixed)
Vendor states this is fixed in 8feca625900777e02a449e53fe4121339934c38a (fixed)
Vendor states this is fixed in 9911be2155720221a4f1f722b22bd0e2388d8bcf (fixed)
Vendor states this is fixed in 9ad3221c86cc9c6305594b742d4a72dfbd4ea579 (fixed)
Vendor states this is fixed in a183905869e692b6b7805b7472235585eff8e429 (fixed)
Vendor states this is fixed in d50b3c73f1ac20dabc53dc6e9d64ce9c79a331eb (fixed)
Vendor states this is fixed in 2.6.24 (unaffected)
Vendor states this is fixed in 4.19.283 (unaffected)
Vendor states this is fixed in 5.10.180 (unaffected)
Vendor states this is fixed in 5.15.111 (unaffected)
Vendor states this is fixed in 5.4.243 (unaffected)
Vendor states this is fixed in 6.1.28 (unaffected)
Vendor states this is fixed in 6.2.15 (unaffected)
Vendor states this is fixed in 6.3.2 (unaffected)
Vendor states this is fixed in 6.4 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card