Bug 2426158 (CVE-2023-54168) - CVE-2023-54168 kernel: RDMA/mlx4: Prevent shift wrapping in set_user_sq_size()
Summary: CVE-2023-54168 kernel: RDMA/mlx4: Prevent shift wrapping in set_user_sq_size()
Keywords:
Status: NEW
Alias: CVE-2023-54168
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-30 13:13 UTC by OSIDB Bzimport
Modified: 2025-12-31 04:59 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-30 13:13:06 UTC
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()").


Note You need to log in before you can comment on or make changes to this bug.